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

Contents of /gnustep/core/base/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2003 - (show annotations) (download)
Wed Oct 1 03:55:34 2003 UTC (20 years, 6 months ago) by fedor
Branch: MAIN
Changes since 1.2002: +5 -0 lines
Change /proc support on Irix, Cygwin

1 2003-09-30 Adam Fedor <fedor@gnu.org>
2
3 * config/procfs.m4: Force disable /proc on Irix. Force enable
4 on cygwin.
5
6 2003-09-30 Richard Frith-Macdonald <rfm@gnu.org>
7
8 * Source/NSThread.m: Protect the function handling notification
9 of the process becoming multi-threaded with a recursive lock.
10 This protection ensures that there is no race condition where
11 two threads can start using GNUstep simultaneously and both
12 end up sending out notifications etc. Not a problem in normal
13 ObjC applications, but a possibility where other non-gnustep
14 code starts multiple threads which want to access gnustep.
15
16 2003-09-30 Derek Zhou <dzhou@chrontel.com>
17
18 * Source/NSCharacterSet.m: patch to ensure lock is created as
19 soon as the process goes multi-threaded, therefore avoiding
20 a race condition causing a rare exception.
21
22 2003-09-26 Richard Frith-Macdonald <rfm@gnu.org>
23
24 * Source/NSString.m: Fix pathExtension bug reported by Roland
25 Schwingel. Was failing to handle the case when a dot appears
26 inside a path component properly.
27
28 2003-09-25 Richard Frith-Macdonald <rfm@gnu.org>
29
30 * Source/NSConnection.m: Fix obscure bug releasing in-progress
31 request information on connection deallocation.
32
33 2003-09-23 Adam Fedor <fedor@gnu.org>
34
35 * Source/Additions/Makefile.preamble: Add DLL build flag for cyginw
36
37 * Testing/Makefile.postamble (check): Make CHECKABLE_TOOLS only
38
39 * Tools/AGSHtml.m: Remove duplicate interface (on *-apple-*)
40 * Tools/AGSIndex.m: Idem.
41
42 2003-09-23 Adam Fedor <fedor@gnu.org>
43
44 * Source/NSTimeZone.m (+systemTimeZone): Remove tzname extern decl.
45
46 2003-09-22 Adam Fedor <fedor@gnu.org>
47
48 * configure.ac: Check for getopt
49 * Tools/gdomap.c: Use local getopt if no native getopt
50
51 2003-09-21 Adam Fedor <fedor@gnu.org>
52
53 * Tools/cvtenc.m (main): Write using local/set encoding when
54 EscapeIn=YES.
55
56 * Documentation/coding-standards.texi: Add section about object
57 persistance.
58
59 * configure.ac: Make it possible to override --enable-pass-arguments
60 when on cygwin.
61 * configure: Regenerate using 2.57
62
63 2003-09-20 yjchen <yjchenx@hotmail.com>
64
65 * Resources/Languages/TraditionalChinese: Quote escaped strings.
66
67 2003-09-13 Richard Frith-Macdonald <rfm@gnu.org>
68
69 * Source/NSConnection.m: Add a couple of checks to raise exceptions
70 when trying to use a connection from the wrong thread. Also, change
71 the code for handling multithreaded connections so that they are
72 removed from the runloops of exiting threads in response to the
73 thread exit notification.
74
75 2003-09-13 David Ayers <d.ayers@inode.at>
76
77 * Headers/Additions/GNUstepBase/GSCategories.h: Move declarations
78 from Source/Additions/GSCompatibility.h to here.
79 ([NSObject -compare:]): Deprecate.
80 * Source/Additions/GSCompatibility.h: Move contents from here to
81 Headers/Additions/GNUstepBase/GSCategories.h.
82
83 * Source/Additions/GSCategories.m:
84 ([NSObject -compare:]): Deprecate.
85
86 * Headers/Foundation/NSObject.h
87 ([NSObject -compare:]): Deprecate.
88
89 * Source/Additions/GCDictionary.m: Include
90 GNUstepBase/GSCategories.h rather than GSCompatibility.h.
91 * Source/Additions/GCObject.m: Ditto.
92 * Source/Additions/GSMime.m: Ditto.
93 * Source/Additions/GSObjCRuntime.m: Ditto.
94 * Source/Additions/GSXML.m: Ditto.
95 * Source/Additions/Unicode.m: Ditto.
96
97 * macosx/GNUstepBase/preface.h: Update include for new header
98 structure.
99
100 2003-09-11 Adam Fedor <fedor@gnu.org>
101
102 * macosx/preface.h: Removed
103 * macosx/GNUstepBase/preface.h: New
104 * macosx/gnustep.pbproj/project.pbxproj: Update
105 (from Philip Moetteli <philip.moetteli@tele2.ch>).
106
107 2003-09-11 Philip Moetteli <philip.moetteli@tele2.ch>
108
109 * Source/Additions/GSCompatibility.h
110 * Source/Additions/GSCompatibility.m
111 (NSDecimalFromComponents): Added compatibility function.
112
113 2003-09-11 Richard Frith-Macdonald <rfm@gnu.org>
114
115 * Source/Unicode.m: Fix minor errors in utf8 handling.
116 Use endian version of UTF16 to avoid iconv inserting BOM where
117 it is not wanted.
118
119 2003-09-10 David Ayers <d.ayers@inode.at>
120
121 * Headers/Additions/GNUstepBase/GSObjCRuntime.h (GSObjCSuper):
122 Added test for uninitialized superclass reference.
123
124 2003-09-10 Richard Frith-Macdonald <rfm@gnu.org>
125
126 * Source/NSObject.m: Tidy use of GSObjCRuntime a little.
127
128 2003-09-10 Pete French <pete@twisted.org.uk>
129
130 * Source/Additions/Unicode.m: patch to use UTF16 rather than
131 UCS2 internally.
132
133 2003-09-10 Richard Frith-Macdonald <rfm@gnu.org>
134
135 * Source/NSCalendarDate.m:
136 ([years:months:days:hours:minutes:seconds:sinceDate:]) fix to return
137 all positive values for a difference from a date in the past.
138
139 2003-09-07 Adam Fedor <fedor@gnu.org>
140
141 * Source/NSBundle.m (+_addFrameworkFromClass:): Check
142 _loadingBundle != bundle when removing classes.
143
144 2003-09-07 S.J.Chun <chunsj@embian.com>
145
146 * Source/Unicode.m: Added Korean encoding
147 * Headers/Foundation/NSString.h: Added Korean encoding
148 * Source/Additions/GSCompatibility.h: Idem.
149
150 Sun Sep 7 13:35:15 2003 Nicola Pero <n.pero@mi.flashnet.it>
151
152 * configure.ac: Fixed GNUSTEP_HDIR when not flattened.
153 * configure: Regenerated.
154
155 2003-09-05 Adam Fedor <fedor@gnu.org>
156
157 * Headers/Additions/GNUstepBase/behavior.h: GS_EXPORT functions.
158
159 2003-09-04 18:41 Alexander Malmberg <alexander@malmberg.org>
160
161 * Headers/Foundation/NSDistributedLock.h, Source/NSDistributedLock.m:
162 Change return type of -initWithPath: to id.
163
164 2003-09-02 Adam Fedor <fedor@gnu.org>
165
166 * configure.ac: Check for tzset
167 * Source/NSTimeZone.m (+systemTimeZone): Use it to find time zone
168 (as a last resort).
169
170 2003-09-02 Adam Fedor <fedor@gnu.org>
171
172 * Tools/gdnc.m (main): Don't mess with file descriptors on MinGW.
173
174 2003-09-01 Adam Fedor <fedor@gnu.org>
175
176 * Tools/gdomap.c (main): Move getuid call inside #ifndef MINGW
177 like the others.
178
179 2003-08-31 Adam Fedor <fedor@gnu.org>
180
181 * Tools/gdnc.m (main): Close any open file descriptors so we can
182 be a proper daemon.
183 Fixes #4938.
184
185 2003-08-29 Adam Fedor <fedor@gnu.org>
186
187 * config/procfs.m4: Disable procfs for solaris
188
189 2003-08-26 Adam Fedor <fedor@gnu.org>
190
191 * Source/NSMessagePort.m: For older OS comptibility, define some
192 macros if they are not already defined.
193 * Source/NSMessagePortNameServer.m: Idem.
194
195 2003-08-24 David Ayers <d.ayers@inode.at>
196
197 * Headers/Additions/GNUstepBase/GSObjCRuntime.h
198 (GSObjCClass): Allow nil values.
199 (GSObjCIsInstance): Ditto.
200 (GSObjCIsClass): New function.
201 (GSClassNameFromObject): Ditto.
202 (GSObjCIsKindOf): Use GSObjCSuper() in favor of
203 class_get_super_class().
204
205 * Headers/Foundation/NSRange.h
206 (GS_RANGE_CHECK), (CHECK_INDEX_RANGE_ERROR):
207 Use GSNameFromSelector() in favor of sel_get_name().
208
209 * Source/GSFFCallInvocation.m
210 (gs_method_for_receiver_and_selector), (gs_find_best_typed_sel),
211 (-[GSFFCallInvocation invokeWithTarget:]), (GSInvocationCallback):
212 Use GSObjCIsInstance() in favor of object_is_instance,
213 GSObjCClass() in favor of object_get_class(),
214 GSObjCIsClass() in favor of object_is_class(),
215 GSNameFromSelector() in favor of sel_get_name(),
216 GSObjCSuper() in favor of class_get_super_class() and
217 GSClassNameFromObject() in favor of object_get_class_name().
218
219 * Source/GSFFIInvocation.m
220 (gs_method_for_receiver_and_selector), (gs_find_best_typed_sel),
221 (-[GSFFIInvocation invokeWithTarget:]), (GSFFIInvocationCallback):
222 Use GSObjCIsInstance() in favor of object_is_instance,
223 GSObjCClass() in favor of object_get_class(),
224 GSObjCIsClass() in favor of object_is_class(),
225 GSNameFromSelector() in favor of sel_get_name(),
226 GSObjCSuper() in favor of class_get_super_class() and
227 GSClassNameFromObject() in favor of object_get_class_name().
228
229 * Source/NSConnection.m
230 (-[NSConnection forwardForProxy:selector:argFrame:]),
231 (-[NSConnection forwardInvocation:forProxy:]):
232 Use GSNameFromSelector() in favor of sel_get_name().
233
234 * Source/NSDistantObject.m
235 (class_is_kind_of): Use GSObjCSuper in favor of
236 class_get_super_class().
237 (-[NSDistantObject forward::]): Use GSNameFromSelector() in favor of
238 sel_get_name().
239
240 * Source/NSInvocation.m
241 (-[NSInvocation invokeWithTarget:])
242 Use GSObjCSuper() in favor of class_get_super_class(),
243 GSObjCIsInstance() in favor of object_is_instance()
244 (-[NSInvocation description]):
245 Use GSClassNameFromObject in favor of object_get_class_name().
246 Avoid buffer overflow by using snprintf() in favor of sprintf().
247 (-[NSInvocation initWithSelector:]):
248 Use GSNameFromSelector() in favor of sel_get_name().
249
250 * Source/NSObject.m
251 (GSDescriptionForInstanceMethod), (GSDescriptionForClassMethod),
252 (+[NSObject superclass], (-[NSObject description]),
253 (-[NSObject doesNotRecognizeSelector:]),
254 (-[NSObject performSelector:]),
255 (-[NSObject performSelector:withObject:]),
256 (+[NSObject setVersion:], -[NSObject error:]),
257 (-[NSObject doesNotRecognize:], -[NSObject isClass]),
258 (-[Object description]):
259 Use GSNameFromSelector() in favor of sel_get_name(),
260 GSObjCSuper() in favor of class_get_super_class(),
261 GSClassNameFromObject() in favor of object_get_class_name() and
262 GSObjCIsClass() in favor of object_is_class().
263
264 * Source/NSProxy.m
265 (+[NSProxy description]), (-[NSProxy description]),
266 (+[NSProxy superclass]), (-[NSProxy forwardInvocation:]),
267 (-[NSProxy init], (-[NSProxy notImplemented:]),
268 (-[NSProxy performSelector:]),
269 (-[NSProxy performSelector:withObject:]),
270 (-[NSProxy performSelector:withObject:withObject:]):
271 Use GSClassNameFromObject() in favor of object_get_class_name(),
272 GSObjCSuper() in favor of class_get_super_class() and
273 GSNameFromSelector() in favor of sel_get_name().
274
275 * Source/Additions/GSCategories.m
276 (-[NSObject notImplemented:]), (-[NSObject shouldNotImplement:]),
277 (-[NSObject subclassResponsibility:]):
278 Use GSNameFromSelector() in favor of sel_get_name() and
279 GSClassNameFromObject() in favor of object_get_class_name().
280
281 * Source/Additions/GSCompatibility.h
282 (GS_RANGE_CHECK): Use GSNameFromSelector() in favor of
283 sel_get_name().
284
285 * Source/Additions/GSCompatibility.m
286 (+[NSObject notImplemented:]):
287 Use GSNameFromSelector() in favor of sel_get_name() and
288 GSClassNameFromObject() in favor of object_get_class_name().
289
290 * Source/Additions/GSObjCRuntime.m
291 (GSObjCMethodNames), (GSObjCAddMethods):
292 Use GSNameFromSelector() in favor of sel_get_name().
293
294 * Testing/nsbundle.m (main): Update to reflect filesystem change.
295 Use GSClassNameFromObject() in favor of object_get_class_name().
296
297 * Testing/nsconnection_server.m
298 Use GSNameFromSelector() in favor of sel_get_name().
299
300 * Testing/Makefile.postamble: Build before checking.
301
302 2003-08-23 Adam Fedor <fedor@gnu.org>
303
304 * Version 1.7.3
305
306 2003-08-23 Adam Fedor <fedor@gnu.org>
307
308 * configure.ac: Fix mistake in checking for ffi.
309
310 * Tools/AGSIndex.m: Add NSString compatibility interface
311 when compiling on apple-apple-apple.
312 * Tools/AGSHtml.m: idem.
313
314 2003-08-15 Richard Frith-Macdonald <rfm@gnu.org>
315
316 * Source/NSObject.m: Trivial cast to avoid compiler warnings.
317
318 2003-08-20 13:59 Alexander Malmberg <alexander@malmberg.org>
319
320 Clean up code to remove warnings issued by (what will become)
321 gcc 3.4.
322
323 * Source/GSString.m, Source/NSArchiver.m, Source/NSAttributedString.m,
324 Source/NSRunLoop.m: Don't return values from methods returning void.
325
326 2003-08-19 Adam Fedor <fedor@gnu.org>
327
328 * configure.ac: Clarify ffi interface warnings and disable_do on
329 apple-apple-apple.
330 Fixes #4824
331
332 2003-08-15 Richard Frith-Macdonald <rfm@gnu.org>
333
334 * Source/NSObject.m: Move hacked methods for getting protocol
335 method info into functions so we can use them without going
336 through the ObjC runtime.
337 * Source/NSDistantObject.m: When attempting to check protocols,
338 use functions from NSObject.m if the protocol has not been
339 properly initialised (its class pointer is 0x2) as is the case
340 for all but very recent versions of the compiler.
341 FIXME ... this code should be removed at some future date when
342 all common systems have shipped with a working compiler for
343 a while.
344
345 2003-08-13 David Ayers <d.ayers@inode.at>
346
347 * Headers/Additions/GNUstepBase/preface.h: Remove generated
348 file that should have been ignored by entry in .cvsignore.
349 * Source/UnixFileHandle.m: Remove obsolete file.
350
351 2003-08-05 Martin Brecher <martin@mb-itconsulting.com>
352
353 * Tools/gdnc.1: Updated man pages, fixed typos, unified format
354 and layout. Man pages are now installed unprocessed as it should be.
355 * Tools/gdomap.8: ditto.
356
357 2003-08-12 Yen-Ju Chen <yjchenx@hotmail.com>
358
359 * Source/Additions/Unicode.m (GetAvailableEncodings): Include
360 last encoding.
361
362 2003-08-08 Richard Frith-Macdonald <rfm@gnu.org>
363
364 * Source/Additions/GSXML.m: save and restore libxml global settings
365 before/after each parse operation.
366
367 2003-08-07 Richard Frith-Macdonald <rfm@gnu.org>
368
369 * Source/NSString.m: nodeToObject() fix error in handling escape
370 sequences in strings ... only treat a backslash specially when it
371 is immediately followed by 'U' or 'u' and four hexadecimal digits.
372 ensure data ia deallocated promptly.
373 * Source/GSCompatibility.m: match changes to property list escapes
374 * Source/Additions/GSXML.m: change ownership policy so that nodes
375 are owned by theri parents, never by siblings ... prevent stack
376 overflow deallocating nodes in long documents.
377 * Tools/plist-0_9.dtd: document unicode escapes.
378
379 2003-08-02 Adam Fedor <fedor@gnu.org>
380
381 * Source/NSProxy.m: Fix limit.h -> limits.h
382
383 2003-08-02 Yen-Ju Chen <yjchenx@hotmail.com>
384
385 * Resources/Languages/TraditionalChinese,
386 Resources/TraditionalChinese.lproj: New
387 * Resources/GNUmakefile: Install them.
388
389 2003-08-01 Richard Frith-Macdonald <rfm@gnu.org>
390
391 * Source/NSProxy.m: Include limits.h for UINT_MAX
392 * Source/NSProcessInfo.m: Avoid crash when given invalid argument list
393 * Source/NSString.m: Minor cleanup for coding standards and remove
394 pointer dereferencing of object which causes problems with new
395 compiler
396 Problems reported by Alexander and Roland
397
398 2003-07-31 David Ayers <d.ayers@inode.at>
399
400 * Created tag 'pre-header-reorg-20030731'.
401
402 * Headers/Additions/GNUstepBase: New directory.
403 * Headers/Additions/GNUstepBase/unicode: Ditto.
404 * Headers/Foundation: Ditto.
405 * Headers/gnustep/base: Obsoleted.
406 * Headers/gnustep/unicode: Ditto.
407
408 * Headers/Additions/GNUstepBase/DistributedObjects.h: Moved here
409 from Headers/gnustep/base.
410 * Headers/Additions/GNUstepBase/GCObject.h: Ditto.
411 * Headers/Additions/GNUstepBase/GNUstep.h: Ditto.
412 * Headers/Additions/GNUstepBase/GSCategories.h: Ditto.
413 * Headers/Additions/GNUstepBase/GSConfig.h.in: Ditto.
414 * Headers/Additions/GNUstepBase/GSFileHandle.h: Ditto.
415 * Headers/Additions/GNUstepBase/GSIArray.h: Ditto.
416 * Headers/Additions/GNUstepBase/GSIMap.h: Ditto.
417 * Headers/Additions/GNUstepBase/GSLocale.h: Ditto.
418 * Headers/Additions/GNUstepBase/GSMime.h: Ditto.
419 * Headers/Additions/GNUstepBase/GSObjCRuntime.h: Ditto.
420 * Headers/Additions/GNUstepBase/GSUnion.h: Ditto.
421 * Headers/Additions/GNUstepBase/GSXML.h: Ditto.
422 * Headers/Additions/GNUstepBase/Unicode.h: Ditto.
423 * Headers/Additions/GNUstepBase/behavior.h: Ditto.
424 * Headers/Additions/GNUstepBase/config.h.in: Ditto.
425 * Headers/Additions/GNUstepBase/objc-gnu2next.h: Ditto.
426 * Headers/Additions/GNUstepBase/preface.h.in: Ditto.
427 * Headers/Additions/GNUstepBase/thr-mach.h: Ditto.
428 * Headers/Additions/GNUstepBase/.cvsignore: Ditto.
429
430 * Headers/Additions/GNUstepBase/unicode/caseconv.h: Moved here
431 from Headers/gnustep/unicode.
432 * Headers/Additions/GNUstepBase/unicode/cop.h: Ditto.
433 * Headers/Additions/GNUstepBase/unicode/cyrillic.h: Ditto.
434 * Headers/Additions/GNUstepBase/unicode/decomp.h: Ditto.
435 * Headers/Additions/GNUstepBase/unicode/gsm0338.h: Ditto.
436 * Headers/Additions/GNUstepBase/unicode/latin2.h: Ditto.
437 * Headers/Additions/GNUstepBase/unicode/latin9.h: Ditto.
438 * Headers/Additions/GNUstepBase/unicode/nextstep.h: Ditto.
439 * Headers/Additions/GNUstepBase/unicode/thai.h: Ditto.
440
441 * Headers/Foundation/Foundation.h: Moved here from
442 Headers/gnustep/base.
443 * Headers/Foundation/NSArchiver.h: Ditto.
444 * Headers/Foundation/NSArray.h: Ditto.
445 * Headers/Foundation/NSAttributedString.h: Ditto.
446 * Headers/Foundation/NSAutoreleasePool.h: Ditto.
447 * Headers/Foundation/NSBitmapCharSet.h: Ditto.
448 * Headers/Foundation/NSBundle.h: Ditto.
449 * Headers/Foundation/NSByteOrder.h: Ditto.
450 * Headers/Foundation/NSCalendarDate.h: Ditto.
451 * Headers/Foundation/NSCharacterSet.h: Ditto.
452 * Headers/Foundation/NSClassDescription.h: Ditto.
453 * Headers/Foundation/NSCoder.h: Ditto.
454 * Headers/Foundation/NSConcreteNumber.h: Ditto.
455 * Headers/Foundation/NSConnection.h: Ditto.
456 * Headers/Foundation/NSData.h: Ditto.
457 * Headers/Foundation/NSDate.h: Ditto.
458 * Headers/Foundation/NSDateFormatter.h: Ditto.
459 * Headers/Foundation/NSDebug.h: Ditto.
460 * Headers/Foundation/NSDecimal.h: Ditto.
461 * Headers/Foundation/NSDecimalNumber.h: Ditto.
462 * Headers/Foundation/NSDictionary.h: Ditto.
463 * Headers/Foundation/NSDistantObject.h: Ditto.
464 * Headers/Foundation/NSDistributedLock.h: Ditto.
465 * Headers/Foundation/NSDistributedNotificationCenter.h: Ditto.
466 * Headers/Foundation/NSEnumerator.h: Ditto.
467 * Headers/Foundation/NSException.h: Ditto.
468 * Headers/Foundation/NSFileHandle.h: Ditto.
469 * Headers/Foundation/NSFileManager.h: Ditto.
470 * Headers/Foundation/NSFormatter.h: Ditto.
471 * Headers/Foundation/NSGeometry.h: Ditto.
472 * Headers/Foundation/NSHashTable.h: Ditto.
473 * Headers/Foundation/NSHost.h: Ditto.
474 * Headers/Foundation/NSInvocation.h: Ditto.
475 * Headers/Foundation/NSKeyValueCoding.h: Ditto.
476 * Headers/Foundation/NSLock.h: Ditto.
477 * Headers/Foundation/NSMapTable.h: Ditto.
478 * Headers/Foundation/NSMethodSignature.h: Ditto.
479 * Headers/Foundation/NSNotification.h: Ditto.
480 * Headers/Foundation/NSNotificationQueue.h: Ditto.
481 * Headers/Foundation/NSNull.h: Ditto.
482 * Headers/Foundation/NSNumberFormatter.h: Ditto.
483 * Headers/Foundation/NSObjCRuntime.h: Ditto.
484 * Headers/Foundation/NSObject.h: Ditto.
485 * Headers/Foundation/NSPathUtilities.h: Ditto.
486 * Headers/Foundation/NSPort.h: Ditto.
487 * Headers/Foundation/NSPortCoder.h: Ditto.
488 * Headers/Foundation/NSPortMessage.h: Ditto.
489 * Headers/Foundation/NSPortNameServer.h: Ditto.
490 * Headers/Foundation/NSProcessInfo.h: Ditto.
491 * Headers/Foundation/NSProtocolChecker.h: Ditto.
492 * Headers/Foundation/NSProxy.h: Ditto.
493 * Headers/Foundation/NSRange.h: Ditto.
494 * Headers/Foundation/NSRunLoop.h: Ditto.
495 * Headers/Foundation/NSScanner.h: Ditto.
496 * Headers/Foundation/NSSerialization.h: Ditto.
497 * Headers/Foundation/NSSet.h: Ditto.
498 * Headers/Foundation/NSString.h: Ditto.
499 * Headers/Foundation/NSTask.h: Ditto.
500 * Headers/Foundation/NSThread.h: Ditto.
501 * Headers/Foundation/NSTimeZone.h: Ditto.
502 * Headers/Foundation/NSTimer.h: Ditto.
503 * Headers/Foundation/NSURL.h: Ditto.
504 * Headers/Foundation/NSURLHandle.h: Ditto.
505 * Headers/Foundation/NSUndoManager.h: Ditto.
506 * Headers/Foundation/NSUserDefaults.h: Ditto.
507 * Headers/Foundation/NSUtilities.h: Ditto.
508 * Headers/Foundation/NSValue.h: Ditto.
509 * Headers/Foundation/NSZone.h: Ditto.
510
511 * Soruce/GSFormat.h: Ditto.
512 * Source/GSInvocation.h: Moved here from Headers/gnustep/base.
513 * Source/objc-load.h: Ditto.
514
515 * configure.ac: Update to new header structure.
516 * configure: Regenerated.
517 * Makefile.postamble: Remove handling of header-links and update
518 to new header structure.
519
520 * Source/GNUmakefile: Update to new header structure.
521 Always install GSFileHandle.h, GSLocal.h, GSUnion.h, GSIArray.h,
522 GSIMap.h, preface.h as public headers.
523 Do not install DistributedObjects.h, objc-load.h and thr-mach.h.
524 Install GSMime.h and GSXML.h in GNUstepBase instead of Foundation.
525 Include CompatibilityHeaders.make makefile fragement.
526
527 * Source/Makefile.preamble: Update to new header structure.
528 Split HEADER_DIR into HEADER_DIR_BASE and HEADER_DIR_FND.
529
530 * Source/Makefile.postamble: Update to new header structure.
531 Do not install mframe.h.
532 Update for HEADER_DIR split.
533
534 * Source/CompatibilityHeaders.make: New file which installs dummy
535 headers in the place of the old headers, warning about obsoleting
536 the old location and includeing the header from its new location.
537
538 * Source/Additions/Makefile.preamble: Update to new header
539 structure. Only add -I../../Headers for *-gnu-*.
540
541 * Source/*.[hm]: Update includes for new header structure.
542 * Source/Additions/*.m: Ditto.
543 * Source/mframe/mframe.head: Ditto.
544 * Source/.cvsignore: Ignore config.h.
545
546 * Testing/Makefile.preamble: Update to new header structure. Only
547 add -I../../Headers for *-gnu-*.
548 * Testing/*.[hm]: Update includes for new header structure.
549
550 * Tools/Makefile.preamble: Update to new header structure. Only
551 add -I../../Headers for *-gnu-*.
552 * Tools/*.[hm]: Update includes for new header structure.
553
554 * Tools/make_strings/GNUmakefile.preamble: Update to new header
555 structure. Only add -I../../Headers for *-gnu-*.
556
557 * Source/DocMakefile: Update to new header structure.
558
559 * SSL/Makefile.preamble: Update to new header structure.
560 * SSL/GSSSLHandle.m: Ditto.
561
562 * Examples/Makefile.preamble: Use -I../Headers only with *-gnu-*.
563
564 * Headers/gnustep/base/UnixFileHandle.h: Removed.
565 * Headers/gnustep/base/WindowsFileHandle.h: Ditto.
566
567 2003-07-30 Richard Frith-Macdonald <rfm@gnu.org>
568
569 * Tools/gdomap.c: Some security fixes and tweaks.
570
571 2003-07-28 Richard Frith-Macdonald <rfm@gnu.org>
572
573 * Source/GSFFCALLInvocation.m: Make exception text more meaningful
574 * Source/GSFFIInvocation.m: ditto
575 * Source/Additions/GSXML.m: Add a couple of convenience methods to
576 test node type.
577 * Source/Additions/GSMime.m: Add convenience method for putting
578 a new header in a document.
579 * Source/NSCalendarDate.m: Tweak to avoid useless compiler warning.
580 * Source/NSRunLoop.m: ditto
581 * Source/NSURL.m: ditto
582 * Source/Additions/GSMime.m: ditto
583 * Source/Additions/Unicode.m: ditto
584
585
586 2003-07-27 Gregory John Casamento <greg_casamento@yahoo.com> &
587 Alexander Malmberg <alexander@malmberg.org>
588
589 * Source/Additions/GSObjCRuntime.m: GSObjCMethodNames was not
590 returning all methods for the object given.
591
592 2003-07-27 Richard Frith-Macdonald <rfm@gnu.org>
593
594 * Source/NSInvocation.m: implement methodSignatureForSelector for
595 proxy.
596
597 2003-07-26 Richard Frith-Macdonald <rfm@gnu.org>
598
599 * Source/GSFFCALLInvocation.m: Add evil hack to cope with cases
600 where type info was not available and we assumed a method returning
601 an id but the actual method returned void.
602 * config/procfs.m4: Test for procfs using 'mount'
603
604 2003-07-25 Richard Frith-Macdonald <rfm@gnu.org>
605
606 * Source/NSDistributedNotificationCenter.m: Partially reverted last
607 change ... seemed to cause problems on some systems.
608 * Tools/gdnc.m: ditto.
609 * Source/NSDebug.m: Small thread safely fix.
610 * Source/NSThread.m: Avoid multiple copies of housekeeping timer.
611 * Source/NSConnection.m: Fix thread related memory leak leaving
612 an NSRunLoop in a connection when the connection is no longer
613 using it.
614 * Source/NSURL.m: retain handle while doing background load.
615
616 2003-07-23 Richard Frith-Macdonald <rfm@gnu.org>
617
618 * Source/NSObject.m: Implement methodSignatureForSelector for zombies
619 * Source/DocMakefile: Only remove directory with stamp for 'clean'
620
621 2003-07-22 Adam Fedor <fedor@gnu.org>
622
623 * Version 1.7.2
624
625 2003-07-22 Jeremy Bettis <jeremy@deadbeef.com>
626
627 * Headers/gnustep/base/objc-gnu2next.h (class_nextMethodList):
628 Fix macro to return the method list.
629
630 2003-07-22 Richard Frith-Macdonald <rfm@gnu.org>
631
632 * Tools/AGSHtml.m: Don't output authors heading if not needed.
633 * Source/NSUser.m: Use HOMEPATH in preference to USERPROFILE for
634 OPENSTEP compatibility and because USERPROFILE generally doesn't
635 work due to the presence of spaces.
636 * Headers/gnustep/base/NSDebug.h: Minor documentation fix.
637 * Headers/gnustep/base/NSHashTable.h: ditto
638 * Headers/gnustep/base/NSPort.h: ditto
639 * Headers/gnustep/base/NSPortNameServer.h: ditto
640 * Source/DocMakefile: Document serialization classes
641 * Source/NSDebug.m: Fix broken cross reference
642 * Source/NSLog.m: ditto
643 * Source/NSMessagePortNameServer.m: Tidied
644 * Source/NSPortNameServer.m: Tidied and documented.
645 * Source/NSSocketPortNameServer.m: Documented and fixed methods
646 to return NO on failure rather than raising exception.
647 * Source/NSUndoManager.m: Fix documentation markup errors.
648
649 2003-07-21 Richard Frith-Macdonald <rfm@gnu.org>
650
651 * Source/Additions/Unicode.m (GROW): Fix shifting of pointers into
652 local buffer for case where we are leaving room for a null terminator.
653 This avoids moving pointer back before start of buffer.
654
655 2003-07-21 Roland Schwingel <Roland.Schwingel@onevision.de>
656
657 * Source/libgnustep-base-entry.m: Don't create unnecessary window.
658
659 Mon Jul 21 11:03:48 2003 Nicola Pero <n.pero@mi.flashnet.it>
660
661 * Tools/HTMLLinker.m: Removed.
662 * Tools/HTMLLinker.html: Removed.
663 * Tools/GNUmakefile: Do not compile it.
664
665 2003-07-20 Richard Frith-Macdonald <rfm@gnu.org>
666
667 * Source/NSProxy.m: Implement essential methods for a proxy to be
668 vended over an NSConnection.
669
670 2003-07-20 17:27 Alexander Malmberg <alexander@malmberg.org>
671
672 * Source/NSConnection.m (-invalidate): Don't kill the targetToCached
673 timer when invalidating a connection.
674
675 2003-07-20 Richard Frith-Macdonald <rfm@gnu.org>
676
677 * Source/NSThread.m: Separate out sleeping into a more efficient
678 function and improve use of nanosleep
679 * Source/NSLock.m: Use new private sleeping function from NSThread.m
680 and rewrite code to be more responsive, especially for cases where
681 locks are heavily used for rapid interaction between threads.
682 * Tools/thread.m: Test lockBeforeDate
683
684 2003-07-17 Richard Frith-Macdonald <rfm@gnu.org>
685
686 * Source/NSRunLoop.m: ([-acceptInputForMode:beforeDate:]) use the
687 NSThread method to sleep rather than re-implementing it.
688 * configure.ac: Check for nanosleep()
689 * Headers/Foundation/config.h.in: Add entry for nanosleep
690 * Source/NSThread.m: Use nanosleep if available.
691 * Headers/Foundation/NSProcessInfo.h: Added new methods -
692 ([-setDebugLoggingEnabled:]) and ([-debugLoggingEnabled])
693 * Source/NSProcessInfo.m: ditto
694
695 2003-07-16 David Ayers <d.ayers@inode.at>
696
697 * config.make.in: Default to builing -baseadd on non *-gnu-*
698 configurations.
699
700 2003-07-15 Richard Frith-Macdonald <rfm@gnu.org>
701
702 * Headers/gnustep/base/NSArray.h: Add methods for creating from URL
703 * Headers/gnustep/base/NSDictionary.h: ditto
704 * Source/NSArray.m: ditto
705 * Source/NSDictionary.m: ditto
706
707 2003-07-15 David Ayers <d.ayers@inode.at>
708
709 * Headers/gnustep/base/NSUndoManager.h: Add
710 NSUndoCloseGroupingRunLoopOrdering enum. Replace instance
711 variables _registeredUndo with _runLoopGroupingPending and
712 _actionName with _unused1.
713 * Source/NSUndoManager.m: Added documentation.
714 Added actionName instance variable to PrivateUndoGroup.
715 (-[PrivateUndoGroup actionName]): New method.
716 (-[PrivateUndoGroup setActionName]): Ditto.
717 (-[PrivateUndoGroup dealloc]): Release new instance variable.
718 (-[PrivateUndoGroup initWithParent:]): Initialize actionName.
719 (-[NSUndoManager forwardInvocation]): Implicitly call
720 beginUndoGrouping if group has not been setup and we are grouping
721 by events. Register _loop: invocation if none is already pending
722 and if we are grouping by event.
723 (-[NSUndoManager registerUndoWithTarget:selector:object]): Ditto.
724 (-[NSUndoManager methodSignatureForSelector:]): Overriden to
725 forward request to target supplied by
726 -prepareWithInvocationTarget: if available.
727 (-[NSUndoManager _loop:]): Set flag to determine pending _loop:
728 processing.
729 (-[NSUndoManager init]): Removed access to _actionName. Have
730 receiver default to group by event.
731 (-[NSUndoManager dealloc]): Ditto.
732 (-[NSUndoManager enableUndoRegistration]): Remove access to
733 _registeredUndo.
734 (-[NSUndoManager redo]): Simplified implementation.
735 (-[NSUndoManager redoActionName:]: Retrieve action name from first
736 grouping of the redo stack.
737 (-[NSUndoManager redoMenuTitleForUndoActionName:]): Add comment
738 about localization.
739 (-[NSUndoManager undoMenuTitleForUndoActionName:]): Ditto.
740 (-[NSUndoManager setActionName:]): Forward call to current
741 grouping.
742 (-[NSUndoManager undoActionName:]: Retrieve action name from first
743 grouping of the undo stack.
744 (-[NSUndoManager setRunLoopModes:]): Use correct run loop ordering
745 and set flag for pending _loop: invocation.
746 (-[NSUndoManager undoNestedGroup]): Removed special case handling
747 of _registeredUndo. Raise NSInternalInconsistencyException if
748 grouping is still in progress. Simplified implementation.
749
750 2003-07-15 Alexander Malmberg <alexander@malmberg.org>
751
752 * Source/NSConnection.m: When creating new connection with registered
753 name on host, ensure that send and receive ports are of same class.
754 * Source/NSMessagePort.m: New for private local connections.
755 * Source/NSMessagePortNameServer.m: New for private local connections.
756 * Source/NSPortNameServer.m: Made abstract
757 * Source/NSSocketPortNameServer.m: Concrete version based on original.
758 * Source/NSSocketPort.m: GSTcpPort.m renamed
759 Alexanders modifications added by RFM and altered slightly to use
760 NSSocketPort by default and to refrain from building new code under
761 windows, so this *shouldn't* break any existing code I hope.
762
763 2003-07-15 Richard Frith-Macdonald <rfm@gnu.org>
764
765 * Source/NSDistributedNotificationCenter.m: Use loopback network
766 interface for local center.
767 * Tools/gdnc.m: ditto.
768
769 2003-07-11 David Ayers <d.ayers@inode.at>
770
771 * Source/GNUmakefile: Make GNUstep.h public.
772 * Source/Additions/GSXML.m: Use cached NSString class variable.
773 * Source/Additions/GSObjCRuntime.m
774 (GSCGetInstanceVariableDefinition): Make more robust.
775
776 2003-07-11 Richard Frith-Macdonald <rfm@gnu.org>
777
778 * Headers/Foundation/NSPort.h: Tweak for mingw and correct conditional
779 compilation to only include NSSocketPort for MacOS-X
780 * Source/GSFileHandle.m: Incorporate S.J.Chuns mingw fixes with huge
781 simplification to avoid lots of conditional compilation.
782 * Source/GSTcpPort.m: ditto.
783 * Source/NSSocketPort.m: ditto.
784
785 2003-07-11 02:33 Alexander Malmberg <alexander@malmberg.org>
786
787 * Source/NSAssertionHandler.m: Use the correct key to store the
788 NSAssertionHandler in the thread dictionary, and document the
789 storing and the key.
790
791 2003-07-09 15:54 Alexander Malmberg <alexander@malmberg.org>
792
793 * Source/Additions/Unicode.m (GSToUnicode, GSFromUnicode): Make sure
794 dst isn't set to NULL in GSToUnicode, too. Make sure it is set if
795 an allocated buffer turns out not to need resizing.
796
797 2003-07-09 02:41 Alexander Malmberg <alexander@malmberg.org>
798
799 * Source/GSString.m (getCString_u): Rewrite to correctly handle
800 all encodings, the range argument, and the leftoverRange attribute.
801
802 * Source/Additions/Unicode.m (GSToUnicode): Clarify the documentation
803 (and fix a few typos in it).
804 (GSFromUnicode): Clarify the documentation. Signal failure correctly
805 from the utf8 encoder. Make sure dst isn't set to NULL if zone is
806 NULL but *size is 0.
807
808 2003-07-08 Richard Frith-Macdonald <rfm@gnu.org>
809
810 * Source/NSString.m: Avoid using atof() in parsing plists ... we
811 don't want libc localised handling of numbers.
812
813 2003-07-08 03:44 Alexander Malmberg <alexander@malmberg.org>
814
815 * Source/Additions/Unicode.m (GSToUnicode, GSFromUnicode): In iconv
816 case, only try to expand the buffer when we really need extra space.
817 Correctly handle all output from flushing iconv.
818
819 2003-07-08 03:03 Alexander Malmberg <alexander@malmberg.org>
820
821 * Source/NSConnection.m (-locateLocalTarget:): The targetToCached
822 map contains CachedLocalObject:s, not GSLocalCounter:s. Extract the
823 GSLocalCounter from the CachedLocalObject.
824
825 Unlock the global_proxies_gate lock before calling
826 -proxyWithLocal:connection:.
827
828 2003-07-07 David Ayers <d.ayers@inode.at>
829
830 * Headers/gnustep/base/GSObjCRuntime.h:
831 * Source/Additions/GSObjCRuntime.m:
832 Added typedef for GSIVar.
833 (GSCGetInstanceVariableDefinition): New function.
834 (GSObjCGetInstanceVariableDefinition): Ditto.
835 * Testing/nstimer.m ([TestDouble -sayCount]): Quit test after 20
836 invocations.
837
838 2003-07-07 Richard Frith-Macdonald <rfm@gnu.org>
839
840 * Source/Source/GSFFCallInvocation.m: gs_objc_msg_forward() trust the
841 selector we are given. Rather than trying to find a better one.
842 * Source/GSFFIInvocation.m: ditto
843 * Source/NSScanner.m: Add a couple of internal utility functions.
844 * Source/NSString.m: Fix floatValue and doubelValue to use non
845 localised conversions.
846 * Source/GSString.m: ditto.
847
848 2003-07-06 Adam Fedor <fedor@gnu.org>
849
850 * configure.ac: Add -R flags for netbsdelf
851
852 2003-07-06 Richard Frith-Macdonald <rfm@gnu.org>
853
854 * Tools/AGSHtml.m: Fix bug in linking to category methods from index.
855 * Tools/AGSParser.m: Improve parsing of clock comments.
856
857 2003-07-05 Adam Fedor <fedor@gnu.org>
858
859 * configure.ac: Add flags for openbsd like freebsd.
860
861 * Tools/gdnc.1, Tools/gdomap.8: Unzip
862 * Tools/GNUmakefile (MAN1_PAGES): gzip man pages.
863
864 2003-07-04 Richard Frith-Macdonald <rfm@gnu.org>
865
866 * Source/NSDistributedNotificationCenter.m: Use -setProtocolForProxy:
867 and implement dummy class to work around bug in old compilers.
868 * Tools/gdnc.m: ditto
869 * Source/NSDistantObject.m: Fix for calls to remote system where we
870 can get no method signature.
871 Documented.
872
873 2003-07-04 Richard Frith-Macdonald <rfm@gnu.org>
874
875 * Source/Source/GSFFCallInvocation.m: Modify to use local type
876 information if it looks like it has come from a protocol ...
877 as too much existing code is broken in that DO server objects
878 which are supposed to conform to protocols in fact do not!
879 * Source/GSFFIInvocation.m: ditto
880
881 Fri Jul 4 11:09:37 2003 Nicola Pero <n.pero@mi.flashnet.it>
882
883 * NSTimeZones/Makefile.postamble: Make the code more robust by
884 adding rule to create the installation dirs.
885
886 2003-07-04 Richard Frith-Macdonald <rfm@gnu.org>
887
888 * Source/NSDistantObject.m: Avoid recursion fetching method signature.
889 * Source/NSObject.m: ([methodSignatureForSelector:]) modified to take
890 into account any protocols that the receiver conforms to, so the
891 returned signature has the fullest possible type information.
892 Category Protocol(Fixup) ... evil hack to work around runtime bug.
893 * Source/GSFFCallInvocation.m: Fetch method signature from receiver
894 in preference to using other info. Ensures we have correct info for
895 the object we are sending the message to.
896 * Source/GSFFIInvocation.m: ditto
897
898 2003-07-03 Richard Frith-Macdonald <rfm@gnu.org>
899
900 * Source/NSCalendarDate: ([-initWithString:calendarFormat:]) default
901 year to 0001 s the gregorian calendar does not go earlier.
902 ([-initWithYear:month:day:hour:minute:second:timeZone:]) don't
903 override a previously set calendar format.
904
905 2003-07-01 David Ayers <d.ayers@inode.at>
906
907 * Headers/gnustep/base/GSObjCRuntime.h/m (GSPrintf),
908 * Headers/gnustep/base/NSObjCRuntime.h (GSPrintf),
909 * Source/NSLog.m (GSPrintf): Moved implementation from NSLog.m to
910 GSObjCRuntime.m and declaration from NSObjCRuntime.h to
911 GSObjCRuntime.h.
912
913 2003-07-01 Richard Frith-Macdonald <rfm@gnu.org>
914
915 * Source/Additions/Unicode.m: Flush iconv buffer at end of conversion
916 to handle obscure cases where it says it has converted all the input
917 sequence, but hasn't written all the output.
918
919 2003-06-30 Richard Frith-Macdonald <rfm@gnu.org>
920
921 * Source/Additions/Unicode.m: Add 'UTF-7' so iconv can be used to
922 handle utf7 if available.
923 * Tools/AGSParser.m: Don't always strip asterisks from comments,
924 Check first line of comment to see if it has one first.
925
926 2003-06-28 15:48 Alexander Malmberg <alexander@malmberg.org>
927
928 * Tools/make_strings/StringsFile.h, Tools/make_strings/StringsFile.m,
929 Tools/make_strings/make_strings.h, Tools/make_strings/make_strings.m:
930 Clean up handling of key matching and ignoring. Add
931 --aggressive-remove option.
932
933 2003-06-28 Richard Frith-Macdonald <rfm@gnu.org>
934
935 * Source/NSBundle.m: Don't NSLog when we can't find a localizable
936 file ... log only when bundle debugging is turned on.
937
938 2003-06-27 Richard Frith-Macdonald <rfm@gnu.org>
939
940 * Source/NSPipe.m: Fix descriptor leak ... close on dealloc
941
942 2003-06-25 Adam Fedor <fedor@gnu.org>
943
944 * Tools/gdnc.1.gz: New file (from Martin Brecher).
945 * Tools/GNUmakefile (MAN1_PAGES): Install it
946
947 2003-06-24 David Ayers <d.ayers@inode.at>
948
949 * Source/GSFFCallInvocation.m
950 (gs_method_for_receiver_and_selector): Replace usage of
951 class_get_instance/class_method with GSGetInstance/ClassMethod and
952 Method_t with GSMethod.
953 (gs_find_by_receiver_best_typed_sel): Ditto.
954 (GSInvocationCallback): Ditto.
955 ([GSFFCallInvocation -invokeWithTarget:]): Ditto.
956 * Source/GSFFIInvocation.m
957 (gs_method_for_receiver_and_selector): Ditto.
958 (gs_find_by_receiver_best_typed_sel): Ditto.
959 (GSFFIInvocationCallback): Ditto.
960 ([GSFFIInvocation -invokeWithTarget:]): Ditto.
961 * Source/NSConnection.m
962 ([NSConnection -_service_typeForSelector:]): Ditto.
963 * Source/NSInvocation.m
964 ([NSInvocation -invokeWithTarget:]): Ditto.
965 * Source/NSObject.m
966 ([NSObject +instanceMethodSignatureForSelector:]): Ditto.
967 ([NDObject -methodSignatureForSelector:]): Ditto.
968 ([NSObject +descriptionForInstanceMethod:]): Ditto.
969 ([NSOnject -descriptionForMethod:]: Ditto.
970 * Source/NSProxy.m
971 ([NSProxy +methodSignatureForSelector:]): Ditto.
972 ([NSProxy -methodSignatureForSelector:]): Ditto.
973 * Source/NSDistantObject.m
974 ([NSObject -selectorTypeForProxy:]): Ditto.
975 ([NSDistantObject +respondsToSelector:]): Ditto. Corrected
976 implementation to check class methods instead of instance methods.
977
978 2003-06-23 Adam Fedor <fedor@gnu.org>
979
980 * Testing/diningPhilosophers.m: Locking and output fixes (from
981 Chris Beaham).
982 * Testing/create-abbrevs, Testing/create-regions: Remove.
983
984 2003-06-23 Adam Fedor <fedor@gnu.org>
985
986 * Source/NSProcessInfo.m (+load): use the KVM library where
987 available when procfs doesn't work (FreeBSD, others?) (patch from
988 Pete French <pete@twisted.org.uk>).
989
990 2003-06-21 David Ayers <d.ayers@inode.at>
991
992 * Headers/gnustep/base/objc-gnu2next.h: Remove simple mappings for
993 class_get_class_method they cannot work due to different
994 parameter expectations. Added mapping from NeXT->GNU runtime.
995 The other way does not work. Added simple mapping for internal
996 flush function __objc_update_dispatch_table_for_class and
997 _objc_flush_caches.
998
999 * Headers/gnustep/base/GSObjCRuntime.h/m:
1000 Added typedef for GSMethod.
1001 (GSGetInstanceMethod): New function.
1002 (GSGetClassMethod): Ditto.
1003 (GSGetInstanceMethodNotInherited): Ditto.
1004 (GSGetClassMethodNotInherited): Ditto.
1005 (GSFlushMethodCacheForClass): Ditto.
1006 (flush_method_cache_for_class): Removed function which is replaced
1007 by GSFlushMethodCacheForClass.
1008 (GSObjCGetMethod): Removed function which is replaced by
1009 GSGetInstanceMethod and GSGetClassMethod.
1010 (GSObjCReplaceMethod): Removed function.
1011
1012 2003-06-21 Adam Fedor <fedor@gnu.org>
1013
1014 * configure.ac: Check for libkvm.
1015 * configure, Headers/gnustep/base/config.h.in: Regen.
1016
1017 2003-06-20 Adam Fedor <fedor@gnu.org>
1018
1019 * Documentation/Makefile.postamble (after-clean): Remove Base
1020 and BaseAdditions
1021
1022 2003-06-20 Richard Frith-Macdonald <rfm@gnu.org>
1023
1024 * Source/GSString.m: Allow more length when converting unicode
1025 string to integer.
1026 * Source/NSObject.m: ([methodSignatureForSelector:]) return nil if
1027 the receiver does not implement it.
1028
1029 2003-06-20 Adam Fedor <fedor@gnu.org>
1030
1031 * Documentation/Makefile.postamble (after-clean):
1032 * Version 1.7.1
1033
1034 * Source/DocMakefile (after-all): Check if Base exists before
1035 removing it.
1036
1037 2003-06-19 Adam Fedor <fedor@gnu.org>
1038
1039 * GNUmakefile (SUBPROJECTS): Revert last change.
1040
1041 2003-06-19 Andrew Ruder <aeruder@yahoo.com>
1042
1043 * Source/Additions/Unicode.m: Increase size of table by one to
1044 avoid error if all possible character encodings were supported.
1045 Never happens ... but might conceivably do so one day.
1046
1047 2003-06-18 Kazunobu Kuriyama <kazunobu.kuriyama@nifty.com>
1048
1049 * configure.ac: Add --with--ffcall-include=PATH and
1050 --with-ffcall-library=PATH options
1051
1052 2003-06-18 Richard Frith-Macdonald <rfm@gnu.org>
1053
1054 * Source/Additions/GSXML.m: Implement -description for nodes.
1055
1056 2003-06-17 Adam Fedor <fedor@gnu.org>
1057
1058 * GNUmakefile (SUBPROJECTS): Add Documentation
1059
1060 2003-06-17 Chris Vetter <chrisv@web4inc.com>
1061
1062 * Tools/AGSHtml.m: Tidy up formatting of author output.
1063
1064 2003-06-16 13:36 Alexander Malmberg <alexander@malmberg.org>
1065
1066 * Source/GSFormat.m (GSFormat()): Free malloc memory in all cases
1067 after handling %s, %S, %@ with strings longer than 8192 characters.
1068
1069 2003-06-15 Richard Frith-Macdonald <rfm@gnu.org>
1070
1071 * Source/NSAutoreleasePool.m: Documented.
1072 * Headers/gnustep/base/NSObject.h: Documented memory management macros
1073 for autogsdoc.
1074
1075 2003-06-14 Richard Frith-Macdonald <rfm@gnu.org>
1076
1077 * Source/Additions/GSMime.m: Better attempt to infer charset from
1078 string only when needed.
1079 Don't insert transer encoding header if not needed.
1080
1081 2003-06-11 Adam Fedor <fedor@gnu.org>
1082
1083 * Source/NSNumberFormatter.m
1084 (-getObjectValue:forString:errorDescription:): Simple
1085 implementation.
1086
1087 2003-06-08 Fred Kiefer <FredKiefer@gmx.de>
1088
1089 * Source/NSString.m
1090 In [initWithContentsOfURL:] changed variable test to unichar* to
1091 keep the compiler quiet.
1092 * Source/Additions/Unicode.m
1093 In GSFromUnicode() removed type cast of *_conv_base as the
1094 gcc 3.3 compiler complained about it.
1095
1096 2003-06-07 David Ayers <d.ayers@inode.at>
1097
1098 * Headers/gnustep/base/GSObjCRuntime.h
1099 * Source/Additions/GSObjCRuntime.m : White space patch to better
1100 conform with GNU coding standards and improve readability.
1101 Wrap deprecated API in NO_DEPRICATED macro.
1102
1103 2003-06-06 David Ayers <d.ayers@inode.at>
1104
1105 * Source/GSArray.m: Change syntax of include <> to "" for
1106 local headers. Change base/ to gnustep/base/ in includes.
1107 Source/GSAttributedString.m, Source/GSCompatibility.m,
1108 Source/GSCountedSet.m, Source/GSDictionary.m,
1109 Source/GSFFCallInvocation.m, Source/GSFFIInvocation.m,
1110 Source/GSFTPURLHandle.m, Source/GSFileHandle.m,
1111 Source/GSFormat.m, Source/GSHTTPURLHandle.m,
1112 Source/GSLocale.m, Source/GSSet.m,
1113 Source/GSString.m, Source/GSTcpPort.m,
1114 Source/GSTemplateValue.m, Source/GSValue.m,
1115 Source/NSArchiver.m, Source/NSArray.m,
1116 Source/NSAssertionHandler.m, Source/NSAttributedString.m,
1117 Source/NSAutoreleasePool.m, Source/NSBitmapCharSet.m,
1118 Source/NSBundle.m, Source/NSCalendarDate.m,
1119 Source/NSCallBacks.h, Source/NSCallBacks.m,
1120 Source/NSCharacterSet.m, Source/NSClassDescription.m,
1121 Source/NSCoder.m, Source/NSConcreteNumber.m,
1122 Source/NSConnection.m, Source/NSCopyObject.m,
1123 Source/NSCountedSet.m, Source/NSData.m,
1124 Source/NSDate.m, Source/NSDateFormatter.m,
1125 Source/NSDebug.m, Source/NSDecimal.m,
1126 Source/NSDecimalNumber.m, Source/NSDictionary.m,
1127 Source/NSDistantObject.m, Source/NSDistributedLock.m,
1128 Source/NSDistributedNotificationCenter.m, Source/NSEnumerator.m,
1129 Source/NSException.m, Source/NSFileHandle.m,
1130 Source/NSFileManager.m, Source/NSFormatter.m,
1131 Source/NSGeometry.m, Source/NSHashTable.m,
1132 Source/NSHost.m, Source/NSInvocation.m,
1133 Source/NSKeyValueCoding.m, Source/NSLock.m,
1134 Source/NSLog.m, Source/NSMapTable.m,
1135 Source/NSMethodSignature.m, Source/NSNotification.m,
1136 Source/NSNotificationCenter.m, Source/NSNotificationQueue.m,
1137 Source/NSNull.m, Source/NSNumber.m,
1138 Source/NSNumberFormatter.m, Source/NSObjCRuntime.m,
1139 Source/NSObject.m, Source/NSPage.m,
1140 Source/NSPipe.m, Source/NSPort.m,
1141 Source/NSPortCoder.m, Source/NSPortMessage.m,
1142 Source/NSPortNameServer.m, Source/NSProcessInfo.m,
1143 Source/NSProtocolChecker.m, Source/NSProxy.m,
1144 Source/NSRange.m, Source/NSRunLoop.m,
1145 Source/NSScanner.m, Source/NSSerializer.m,
1146 Source/NSSet.m, Source/NSSocketPort.m,
1147 Source/NSString.m, Source/NSTask.m,
1148 Source/NSThread.m, Source/NSTimeZone.m,
1149 Source/NSTimer.m, Source/NSURL.m,
1150 Source/NSURLHandle.m, Source/NSUnarchiver.m,
1151 Source/NSUndoManager.m, Source/NSUser.m,
1152 Source/NSUserDefaults.m, Source/NSValue.m,
1153 Source/NSZone.m, Source/UnixFileHandle.m,
1154 Source/callframe.h, Source/callframe.m,
1155 Source/cifframe.h, Source/cifframe.m,
1156 Source/externs.m, Source/libgnustep-base-entry.m,
1157 Source/mframe.m, Source/objc-gnu2next.m,
1158 Source/objc-load.m, Source/preface.m,
1159 Source/thr-mach.m, Source/thr-pthread.m,
1160 Source/Additions/GCArray.m, Source/Additions/GCDictionary.m,
1161 Source/Additions/GCObject.m, Source/Additions/GSCategories.m,
1162 Source/Additions/GSCompatibility.h, Source/Additions/GSMime.m,
1163 Source/Additions/GSNextRuntime.m, Source/Additions/GSObjCRuntime.m,
1164 Source/Additions/GSXML.m, Source/Additions/Unicode.m,
1165 Source/Additions/behavior.m: Idem.
1166
1167 2003-06-03 Adam Fedor <fedor@gnu.org>
1168
1169 * Source/mframe/powerpc/darwin: New file.
1170
1171 2003-06-02 Richard Frith-Macdonald <rfm@gnu.org>
1172
1173 * Source/mframe.m: Allow for structure names in type specifications.
1174
1175 2003-05-29 Adam Fedor <fedor@gnu.org>
1176
1177 * configure.ac: Pass on original CPPFLAGS to config.mak.
1178 * config/objc-con-autoload.m4: Test for constructors directly.
1179 * config/objc-sys-dynamic.m4: Check for dl lib if we are using dladdr.
1180
1181 * Source/objc-load.m (objc_get_uninstalled_dtable): Remove unused.
1182
1183 * Source/Additions/GSXML.m (unparsedEntityDeclFunction): Add block
1184 around START so it will compile on GCC 2.
1185
1186 * Testing/nsbundle.m: Errors to stdout.
1187
1188 2003-05-26 Adam Fedor <fedor@gnu.org>
1189
1190 * Testing/Makefile.postamble (check): Define to run all
1191 checkable tools (ones that exit in a finite amount of time).
1192 * Testing/README: New.
1193
1194 2003-05-23 Richard Frith-Macdonald <rfm@gnu.org>
1195
1196 * Source/Additions/GSXML.m: Some work towards making it possible to
1197 subclass GSTreeSAXHandler cleanly, so you can build a tree
1198 representation of a document but still handle data incrementally.
1199
1200 2003-05-22 Richard Frith-Macdonald <rfm@gnu.org>
1201
1202 * Source/Additions/GSXML.m: ([GSXPathContext-evaluateExpression:])
1203 Test for NULL return from libxml and return nil rather than trying
1204 to dereference the null pointer.
1205 New features to record error and warning messages added.
1206 * Headers/Foundation/GSXML.h: ([GSXMLParser-messages]) returns saved
1207 messages. ([GSXMLParser-saveMessages:]) Says whether to save messages
1208 or write to stderr.
1209 * Source/Additions/GSObjCRuntime.m: Hack to fix type clash in
1210 declaration of __objc_exec_class()
1211
1212 2003-05-19 Adam Fedor <fedor@gnu.org>
1213
1214 * Version 1.7.0.
1215 * Documentation/news.texi: Updated.
1216
1217 * NSObject: Revert last change
1218
1219 2003-05-20 David Ayers <d.ayers@inode.at>
1220
1221 * Headers/gnustep/base/GSObjCRuntime.h (GSObjCGetMethod(),
1222 GSObjCReplaceMethod()): Removed declarations for release as these
1223 functions will be replaced by a more consistent approach.
1224
1225 2003-05-19 Adam Fedor <fedor@gnu.org>
1226
1227 * Source/NSObject (GSAtExit): New function.
1228 (+initialize): Use it with atexit.
1229
1230 * Source/objc-load.m (objc_invalidate_dtable): Remove.
1231 (objc_load_callback): Don't call it.
1232
1233 2003-05-16 Richard Frith-Macdonald <rfm@gnu.org>
1234
1235 * Source/NSDate.m: Documented.
1236
1237 2003-05-14 Richard Frith-Macdonald <rfm@gnu.org>
1238
1239 * Source/Additions/GSMime.m: Fix occasional error unfolding
1240 headers.
1241
1242 2003-05-14 16:50 Alexander Malmberg <alexander@malmberg.org>
1243
1244 * Source/NSUser.m, Headers/gnustep/base/NSPathUtilities.h: Add
1245 GSApplicationSupportDirectory constant for
1246 NSSearchPathForDirectoriesInDomains.
1247
1248 2003-05-14 David Ayers <d.ayers@inode.at>
1249
1250 * Tools/Makefile.postamble: Added safe handling of empty
1251 MAN1_PAGES variable.
1252 * Tools/pl2link.m (main): Initialize variable to supress
1253 compiler warning.
1254
1255 2003-05-13 Richard Frith-Macdonald <rfm@gnu.org>
1256
1257 * Source/Tools/gdnc.m: Tidy termination code.
1258 * Source/Additions/GSMime.m: ([GSMimeDocument-copyWithZone:])
1259 corrected implementation to do a real copy rather than just a
1260 retain.
1261
1262 2003-05-13 15:57 Alexander Malmberg <alexander@malmberg.org>
1263
1264 * Tools/gdnc.m (ihandler): Declare variables.
1265
1266 2003-05-12 Richard Frith-Macdonald <rfm@gnu.org>
1267
1268 * Source/Additions/GSXML.m: New -escapedContent method to provide
1269 text with the five entities libxml automatically substitutes even
1270 when told not to.
1271 * Tools/AGSHtml.m: Use -escapedContent to get text suitable for
1272 output in html documents.
1273
1274 2003-05-11 Richard Frith-Macdonald <rfm@gnu.org>
1275
1276 * Tools/gdomap.8.gz: Added man page adapted from internal docs by
1277 martin@mb-itconsulting.com
1278 * Tools/GNUmakefile: Declare man pages to be installed
1279 * Tools/Makefile.postamble: Install man pages
1280
1281 2003-05-08 Richard Frith-Macdonald <rfm@gnu.org>
1282
1283 * Tools/xmlparse.m: new utility to parse/validate xml, for testing
1284 gsdoc and new style property lists etc.
1285 * Source/NSBundle.m: ([+allBundles]) Make sure the main bundle is
1286 present. Add some documentation.
1287
1288 2003-05-07 Richard Frith-Macdonald <rfm@gnu.org>
1289
1290 * Source/GSString.m: ([-initWithCStringNocopy:length:freeWhenDone:])
1291 check encodings and convert to unicode if necessary. Thanks to
1292 Alaxander for pointing out bug.
1293
1294 2003-05-06 Richard Frith-Macdonald <rfm@gnu.org>
1295
1296 * Source/GSString.m: Fix call to GSFormat() to append to a mutable
1297 string whose contents should not be freed.
1298 Removed bogus TODO comments saying code broken when defEnc!=intEnc
1299 in routines which should never be called when defEnc!=intEnc anyway.
1300 * Source/NSData.m: Remove windows specific code for simplification
1301 as the standard code actually works as well or better according to
1302 <Roland.Schwingel@onevision.de>
1303 * Tools/AGSParser.m: Ignore forward declarations of protocols.
1304
1305 2003-05-05 15:28 Alexander Malmberg <alexander@malmberg.org>
1306
1307 * Source/Unicode.m (GSFromUnicode, GSToUnicode): Make sure the
1308 internal work buffer isn't returned to the caller.
1309
1310 * Source/NSString.m: Clarify some comments, and mark code that is
1311 broken when defEnc!=intEnc.
1312
1313 (fillHole, makeHole): Remove STABLE_MEMCPY. Use memmove.
1314
1315 (transmute): Set the zone to the default zone when transmuting.
1316 Check the return value from GSToUnicode.
1317
1318 (getCharacters_c): Check the return value from GSToUnicode.
1319
1320 2003-05-02 Richard Frith-Macdonald <rfm@gnu.org>
1321
1322 * Source/GSTcpPort.m: ([dispatch]) catch exceptions handling the port
1323 message, so as to ensure that locking won't get out of sync.
1324
1325 Mon Apr 28 12:09:44 BST 2003 Nicola Pero <nicola@brainstorm.co.uk>
1326
1327 * NSCharacterSets/GNUmakefile (base-resources_RESOURCE_FILES_INSTALL_DIR):
1328 Define using the full relative path.
1329 * Resources/GNUmakefile (base-resources_RESOURCE_FILES_INSTALL_DIR): Idem.
1330
1331 2003-04-27 Adam Fedor <fedor@gnu.org>
1332
1333 * Updates for filesystem change.
1334 * GNUmakefile (GNUSTEP_MAKEFILES): Remove
1335 * Documentation/GNUmakefile, Examples/GNUmakefile,
1336 NSTimeZones/GNUmakefile, SSL/GNUmakefile, SSL/configure.ac,
1337 Source/DocMakefile, Source/GNUmakefile,
1338 Source/Additions/GNUmakefile, Testing/GNUmakefile,
1339 Tools/GNUmakefile: Idem.
1340 * configure.ac: Replace $GNUSTEP_SYSTEM_ROOT/Makefiles with
1341 $GNUSTEP_MAKEFILES. Replace Libraries with Library/Libraries.
1342 Replace Headers with Library/Headers.
1343 * Source/mframe/configure.ac: Idem.
1344 * NSCharacterSets/GNUmakefile: Use resource-set.make.
1345 * Resources/GNUmakefile: Idem.
1346 * Resources/GNUmakefile.postamble: Remove before/after install cmds.
1347
1348 * Source/NSBundle (+pathForLibraryResource:ofType:inDirectory:):
1349 New method.
1350 (+pathForGNUstepResource:...): Depreciate.
1351 * Source/Additions/GSXML.m: Use it to find DTDs.
1352
1353 * Source/GSLocale.m (GSLanguageFromLocale): Use +bundleForLibrary
1354 to locate resources.
1355 * Source/NSCharacterSet.m (+_bitmapForSet:number:): Idem.
1356 * Source/NSUserDefaults.m (+standardUserDefaults): Idem.
1357 * Source/Additions/Unicode.m (GSEncodingFromLocale): Idem.
1358 * Source/NSTimeZone.m (_time_zone_path): New function.
1359 (+systemTimeZone, +getAbbreviationFile, +getRegionsFile,
1360 +getTimeZoneFile): Use it.
1361
1362 * Source/NSUser.m (NSSearchPathForDirectoriesInDomains): Change
1363 libsDir to "Library/Libraries", docDir to "Library/Documentation".
1364
1365 * Source/Additions/GSCompatibility.[hm]: Change
1366 +pathForGNUstepResource:... to +pathForLibraryResource:...
1367
1368 2003-04-27 Richard Frith-Macdonald <rfm@gnu.org>
1369
1370 * Source/NSUserDefaults.m: ([synchronize]) fix locking to permit
1371 recursive call to this method, ensuring the distributed lock is
1372 only obtained once.
1373 * Headers/gnustep/base/GSCategories.h: removed varargs helper macros
1374 * Headers/gnustep/base/GSObjCRuntime.h: and put them here.
1375
1376 2003-04-17 Richard Frith-Macdonald <rfm@gnu.org>
1377
1378 * Headers/gnustep/base/GSCategories.h:
1379 * Headers/gnustep/base/NSCalendarDate.h:
1380 * Headers/gnustep/base/NSData.h:
1381 * Headers/gnustep/base/NSObject.h:
1382 * Headers/gnustep/base/NSString.h:
1383 * Headers/gnustep/base/NSValue.h:
1384 * Headers/gnustep/base/Foundation.h:
1385 Tidied use of GSCategories.
1386 * Source/NSFileManager.m: ([linkPath:toPath:handler:]) implemented.
1387
1388 2003-04-16 Richard Frith-Macdonald <rfm@gnu.org>
1389
1390 * Headers/gnustep/base/NSUserDefaults.h: remove timer ivar, now unused.
1391 * Source/NSRunLoop.m: Support a housekeeping timer which is ignored
1392 for purposes of deciding whether the loop shoiuld terminate.
1393 * Source/NSThread.m: Set up housekeeping timer to trigger housekeeping
1394 notifications in the default mode of the runloop of the main thread.
1395 * Source/NSUserDefaults.m: Use housekeeping notifications to trigger
1396 synchronise rather than using timers ... avoid circular dependencies.
1397 Thanks to Derek Zhou for bug report.
1398
1399 2003-04-15 Richard Frith-Macdonald <rfm@gnu.org>
1400
1401 * Source/NSData.m: Experimantal disable ReadFile and WriteFile on MINGW
1402
1403 2003-04-14 Richard Frith-Macdonald <rfm@gnu.org>
1404
1405 * Source/NSObjCRuntime.m: NSClassFromString(), NSSelectorFromString()
1406 avoid doing an unnecessary autorelease.
1407
1408 2003-04-12 Richard Frith-Macdonald <rfm@gnu.org>
1409
1410 * Source/callframe.m:
1411 * Source/cifframe.m:
1412 Fix error in returning pointer to struct values.
1413
1414 2003-04-11 Richard Frith-Macdonald <rfm@gnu.org>
1415
1416 * Source/NSConnection.m: ([_service_forwardForProxy:]) don't free the
1417 decoded selector name ... the NSPortCoder now does it.
1418 ([typeForSelector:]) return autoreleased copy of the type string.
1419
1420 2003-04-10 Richard Frith-Macdonald <rfm@gnu.org>
1421
1422 * Source/callframe.m:
1423 * Source/cifframe.m:
1424 Fix error in returning data via pointer arguments ... was writing to
1425 wrong memory location.
1426 * Source/GSFFCallInvocation.m: minor tidy up.
1427 * Source/NSArchiver.m: Structure encoding/decoding fixes.
1428 * Source/NSData.m: Structure encoding/decoding fixes.
1429 * Source/NSPortCoder.m: Structure encoding/decoding fixes.
1430 Manage memory used by decoded pointers (including c-strings).
1431 * Source/NSUnarchiver.m: Structure encoding/decoding fixes.
1432 * Source/NSConnectiom.m: Don't try to autorelease decoded pointers.
1433 * Testing/server.h: Make large structure have tricky layout.
1434 * Testing/nsconnection_client.m: Add harder structure test.
1435 * Testing/nsconnection_server.m: Add harder structure test.
1436
1437 2003-04-09 Richard Frith-Macdonald <rfm@gnu.org>
1438
1439 * Source/GSTcpPort.m:
1440 * Source/NSData.m:
1441 * Source/NSSerializer.m:
1442 * Source/NSURL.m:
1443 Replace __alignof__() with calls to objc_alignof_type() so that if
1444 __alignof__() is broken we can hope that the objc runtime library
1445 has a workaround.
1446
1447 2003-04-08 Richard Frith-Macdonald <rfm@gnu.org>
1448
1449 * Headers/gnustep/base/Foundation.h: Include GNUstep extensions
1450 from GSCategories.h
1451
1452 2003-04-08 15:37 Alexander Malmberg <alexander@malmberg.org>
1453
1454 * Source/NSCalendarDate.m (-initWithString:calendarFormat:locale:):
1455 Fix assignment of 'found' in %z handling.
1456
1457 2003-04-07 13:21 Alexander Malmberg <alexander@malmberg.org>
1458
1459 * configure.ac: Link directly to the foreign function interfaces
1460 section in the build guide in the error message for missing ffi
1461 library.
1462
1463 * configure: Regenerate.
1464
1465 2003-04-07 Richard Frith-Macdonald <rfm@gnu.org>
1466
1467 * Headers/gnustep/base/GSCategories.h (GS_USEIDLIST and
1468 GS_USEIDPAIRLIST): Complete implementation and testing.
1469 * Source/NSDictionary.m: Use macro.
1470
1471 2003-04-06 23:30 Alexander Malmberg <alexander@malmberg.org>
1472
1473 * Headers/gnustep/base/GSCategories.h (GS_USEIDLIST): Make the
1474 implementation match the actual use in NSArray and NSSet. Clarify
1475 documentation.
1476
1477 2003-04-06 Richard Frith-Macdonald <rfm@gnu.org>
1478
1479 * Source/NSThread.m: (GSPerformHolder) execute perform operations
1480 in the same order in which they were submitted.
1481 * Headers/GNUstep/base/GSCategories.h: Added two new macros to
1482 agressively optimise the use of varargs when initialising arrays
1483 etc by avoiding multiple allocation/reallocation of memory to hold
1484 arrays of objects taken from the varargs list.
1485 * Source/NSArray.m: Use the new macros.
1486
1487 2003-04-04 Stephane Corthesy <stephane@sente.ch>
1488
1489 * macosx/config.h, macosx/preface.h: Update.
1490 * macosx/gnustep.pbproj/project/pbxproj: Use relative paths.
1491
1492 2003-04-04 Adam Fedor <fedor@gnu.org>
1493
1494 * Source/Additions/GSCompatibility.m ([NSString(GSCompatibility)
1495 -substringFromRange:]): Add.
1496
1497 2003-04-04 Richard Frith-Macdonald <rfm@gnu.org>
1498
1499 * Headers/Foundation/NSInvocation: Added NS_INVOCATION asnd NS_MESSAGE
1500 * Source/NSInvocation.m: Support the two new macros. Documented.
1501 * Testing/nsinvocation.m: Trivial tests added.
1502 * Documentation/OpenStepCompliance.gsdoc: Updated.
1503 * Source/NSConnection.m: ([-forwardInvocation:forProxy:]) set
1504 invocation target explicitly, in case this was called as a result
1505 of a manual setup of the invocation rather than real forwarding.
1506
1507 2003-04-03 Adam Fedor <fedor@gnu.org>
1508
1509 * Documentation/OpenStepCompliance.gsdoc: New file.
1510 * Documentation/Base.gsdoc: Reference it.
1511 * Source/DocMakefile: Update.
1512
1513 2003-04-02 Stephane Corthesy <stephane@sente.ch>
1514
1515 * Source/Additions/GSCompatibility.m: Fix up incorrectly applied
1516 patch.
1517 * Source/Additions/Unicode.m (GSEncodingName): Don't define if
1518 NeXT_Foundation_Library.
1519
1520 2003-04-02 Adam Fedor <fedor@gnu.org>
1521
1522 * Headers/gnustep/base/Foundation.h: Revert previous change
1523
1524 2003-04-02 Richard Frith-Macdonald <rfm@gnu.org>
1525
1526 * Source/Additions/GSXML.m: ([-content]) fix to produce string
1527 content of elements rather than just text nodes.
1528 * Source/GSMime.m: ([-rawMimeData]) ensure that the transfer encoding
1529 of a multipart document is 8bit if any of its constituent parts are
1530 8bit or binary
1531
1532 22003-04-01 Richard Frith-Macdonald <rfm@gnu.org>
1533
1534 * Source/NSCalendarDate.m: ([initWithString:calendarFormat:locale:])
1535 add support for %F millisecond initialisation.
1536 make trivial simplification of timezone handling.
1537 on failure to parse zone using %z, use local time zone.
1538
1539 2003-03-31 Stephane Corthesy <stephane@sente.ch>
1540
1541 * Source/Additions/GCArray.m: Replace retain/release by
1542 RETAIN/RELEASE macros.
1543 * Source/Additions/GCDictionary.m: Idem.
1544
1545 * Source/Additions/GSCompatibility.h: Add NSBundle category.
1546 * Source/Additions/GSCompatibility.m (GSEncodingName): New.
1547 Add -[NSBundle pathForGNUstepResource:ofType:inDirectory:].
1548
1549 * Source/Additions/GSObjCRuntime.m: Include GNUstep.h.
1550 (GSObjCMethodNames): Cast method_name to const char *.
1551
1552 2003-03-31 Adam Fedor <fedor@gnu.org>
1553
1554 * Headers/gnustep/base/Foundation.h: Add GSCategories.h
1555
1556 2003-03-30 Adam Fedor <fedor@gnu.org>
1557
1558 * Headers/gnustep/base/NSString.h: (stringByTrimmingLeadSpaces,
1559 stringByTrimmingTailSpaces, stringByTrimmingSpaces,
1560 stringByReplacingString:withString:, replaceString:withString:,
1561 trimLeadSpaces, trimTailSpaces, trimSpaces): Move to GSCategories.h
1562 * Headers/gnustep/base/NSValue.h (valueFromString): Idem.
1563 * Source/NSNumber.m (valueFromString:): Move to GSCategories.m
1564 * Source/NSString.m: Idem as above.
1565 * Source/Additions/GSCategories.m: Methods moved here.
1566 * Source/Additions/GSCompatibility.h: Rearrange, add
1567 NSDistantObject, NSFileHandle category, GSCurrentThreadDictionary().
1568 * Source/Additions/GSCompatibility.m: Add GSCurrentThreadDictionary
1569 NSDistantObject, and NSFileHandle methods.
1570
1571 2003-03-28 20:48 Alexander Malmberg <alexander@malmberg.org>
1572
1573 * configure.ac: Fail the configure if neither ffcall nor ffi is
1574 available unless --disable-do is passed to configure. Add a message
1575 about why a user most likely does not want to build with ffcall and
1576 ffi, and with a link to the build guide.
1577
1578 * configure: Regenerate.
1579
1580 2003-03-27 Adam Fedor <fedor@gnu.org>
1581
1582 * Source/NSBundle.m ([NSBundle -bundleIdentifier]): New.
1583
1584 2003-03-27 Stephane Corthesy <stephane@sente.ch>
1585
1586 * Tools/autogsdoc.m, AGSHtml.m, AGSIndex.m, AGSOutput.m: Add
1587 MacOSX compatibility headers.
1588 * Tools/AGSParser.m: Idem.
1589 (-log:arguments:): Replace strinWithFormat:arguments: with
1590 initWithFormat:arguments:
1591
1592 2003-03-26 David Ayers <d.ayers@inode.at>
1593
1594 * Source/NSKeyValueCoding.m: Added documentation.
1595 * Source/NSKeyValueCoding.m ([NSObject -takeValue:forKey:]),
1596 ([NSObject -valueForKey:]): Corrected search order of instance
1597 variables.
1598
1599 2003-03-25 Stephane Corthesy <stephane@sente.ch>
1600
1601 * macosx: New directory holding MacOSX project for building
1602 Additions framework.
1603
1604 2003-03-25 Richard Frith-Macdonald <rfm@gnu.org>
1605
1606 * Source/NSURL.m: When loading a resource and attempting to notify
1607 a client, check that the client responds to the selectors before
1608 sending messages to it.
1609 Make ([-loadResourceDataNotifyingClient:usingCache:]) work in
1610 background (non-blocking).
1611
1612 2003-03-25 David Ayers <d.ayers@inode.at>
1613
1614 * Headers/gnustep/base/GSObjCRuntime.h
1615 * Source/Additions/GSObjCRuntime.m (GSObjCGetMethod),
1616 (GSObjCReplaceMethod): Added new functions.
1617 * Source/Additions/GSObjCRuntime.m (search_for_method_in_class):
1618 Renamed static function for NeXT runtime to better reflect
1619 reality.
1620 (GSObjCAddMethods): Updated usage.
1621 (search_for_method_in_class): New static function for GNU runtime.
1622 (flush_method_cache_for_class): New static function.
1623 * Headers/gnustep/base/GSCategories.h: Included necessary headers.
1624
1625 2003-03-23 Richard Frith-Macdonald <rfm@gnu.org>
1626
1627 * Completed merge of changes from 1.6.0 branch.
1628
1629 2003-03-17 Adam Fedor <fedor@gnu.org>
1630
1631 * Version 1.6.0
1632
1633 2003-03-17 Adam Fedor <fedor@gnu.org>
1634
1635 * Testing/LoadMe.m (afterLoad): Use description, not name.
1636 * Testing/nsfilemanager.m: Print some output. Clean up.
1637 * Testing/scanner.m, nstimezone.m, release.m: Idem.
1638
1639 * config/config.vsprintf, config/config.vasprintf: Rewrite to
1640 properly call a variable argument function.
1641
1642 2003-03-14 Adam Fedor <fedor@Eldorado.local.>
1643
1644 * Testing/nsarray.m (compare): Un-nest function.
1645
1646 * Source/NSProcessInfo.m (-operatingSystem): Add darwin.
1647
1648 2003-03-13 Richard Frith-Macdonald <rfm@gnu.org>
1649
1650 * Source/NSFileManager.m: ([-isDeletableFileAtPath:]) Fix for the
1651 case where the path is a file in the current directory.
1652
1653 2003-03-11 Adam Fedor <fedor@gnu.org>
1654
1655 * configure.ac: Fix some typos (Reported by
1656 Alexander Malmberg <alexander@malmberg.org>).
1657
1658 2003-03-07 Richard Frith-Macdonald <rfm@gnu.org>
1659
1660 * Headers/gnustep/base/NSSet.h: Added a few non-openstep declarations
1661 * Source/GSCompatibility.m: OAppend() sort dictionary keys even if
1662 locale is nil.
1663
1664 2003-03-06 Richard Frith-Macdonald <rfm@gnu.org>
1665
1666 * Source/NSData.m: Fix reference to zone of deallocated object.
1667 Bug reported by Roland Schwingel
1668 * Source/NSFileManager.m: Fix typo (using logical or rather than
1669 bitwise or) in call to access()
1670 Bug reported by Roland Schwingel
1671
1672 2003-02-17 <woudshoo@agilisys.com>
1673
1674 * GNUmakefile (GNUSTEP_TARGET_INSTALL_PREFIX)
1675 (GNUSTEP_TARGET_LOCAL_ROOT, GNUSTEP_TARGET_NETWORK_ROOT): On
1676 mingw32 replace / with \\057 to avoid the msys shell translating /
1677 with \.
1678
1679 2003-03-04 Richard Frith-Macdonald <rfm@gnu.org>
1680
1681 * config/config.vasprintf.c:
1682 * config/config.vsprintf.c: Correct the number of arguments passed
1683 so that modern compilers don't fail on these files. A compiler
1684 failure is seen by configure as the same as a runtime failure, and
1685 configure would infer incorrect runtime behavior!
1686
1687 2003-03-01 Richard Frith-Macdonald <rfm@gnu.org>
1688
1689 * Source/NSSerializer.m: Fix crash when deserializing a corrupt or
1690 truncated archive ... raise exception rather than segfaulting.
1691 Added code to recognize newer versions of the serialiser format and
1692 give up if they are encountered and cannot be handled.
1693 * Source/GSTcpPort.m: Added code to recognise newer versions of the
1694 port format and give up if they are encountered and cannot be handled.
1695 This allows for the addition of decent versioning in later formats.
1696
1697 2003-02-28 Richard Frith-Macdonald <rfm@gnu.org>
1698
1699 * Tools/AGSParser.m: Fix to understand __attribute__() in declaration.
1700
1701 2003-02-27 Richard Frith-Macdonald <rfm@gnu.org>
1702
1703 * Tools/AGSIndex.m: Convert nil content to empty strings before use.
1704 * Tools/AGSHtml.m: ditto ... prevent some crashes.
1705
1706 2003-02-24 Richard Frith-Macdonald <rfm@gnu.org>
1707
1708 * Source/NSProcessInfo.m (_gnu_process_args): Tidied patch and add
1709 code to print error and abort if argv is null under unixy systems.
1710
1711 2003-02-24 Tom Koelman <tkoelman@xs4all.nl>
1712
1713 * Source/NSProcessInfo.m (_gnu_process_args): If argv is 0 (e.g.
1714 on MingW) set executable name using module name info.
1715
1716 2003-02-23 Richard Frith-Macdonald <rfm@gnu.org>
1717
1718 * Source/NSUser.m: Don't prepend HOMEDRIVE to HOMEPATH if HOMEPATH
1719 already contains a drive letter.
1720
1721 2003-02-22 Richard Frith-Macdonald <rfm@gnu.org>
1722
1723 * Source/Additions/GSObjCRuntime.m: GSObjCSetValue() correct to call
1724 ([unableToSetNilForKey:]) when it should.
1725 * Source/NSDecimalNumber.m: Override initialisers from NSNumber to
1726 create NSDecimalNumber objects ... bug report by David Ayers.
1727
1728 2003-02-21 Richard Frith-Macdonald <rfm@gnu.org>
1729
1730 * Source/NSDistributedNotificationCenter.m: ([_connect]) make the
1731 connection to the server usable from any thread.
1732
1733 2003-02-19 Adam Fedor <fedor@gnu.org>
1734
1735 * Source/NSKeyValueCoding.m ([NSObject -handleQueryWithUnboundKey:]):
1736 Raise NSUnknownKeyException.
1737 ([NSObject -handleTakeValue:forUnboundKey:]): Idem.
1738
1739 2003-02-18 Adam Fedor <fedor@gnu.org>
1740
1741 * Source/GSFFIInvocation.m (GSFFIInvocationCallback): Cast
1742 invocation to access ivars correctly. Check validReturn.
1743
1744 2003-02-18 Tom Koelman <tkoelman@xs4all.nl>
1745
1746 * Source/NSProcessInfo.m (_gnu_process_args): If argv is 0 (e.g.
1747 on MingW) set executable name to empty string.
1748
1749 2003-02-17 Richard Frith-Macdonald <rfm@gnu.org>
1750
1751 * Source/GSString.m: (fillHole) fix memory overrun (read only) and
1752 argument order errors (in code not normally compiled) spotted by
1753 Manuel Guesdon.
1754
1755
1756 2003-03-23 Richard Frith-Macdonald <rfm@gnu.org>
1757
1758 * Start merged of changes from 1.6.0 branch.
1759
1760
1761 2003-03-20 Richard Frith-Macdonald <rfm@gnu.org>
1762
1763 * Source/GSMime.m: (_unfoldHeader) Check that input pointer doesn't
1764 run past end of data.
1765
1766 2003-03-05 15:50 Alexander Malmberg <alexander@malmberg.org>
1767
1768 * Source/NSBundle.m (+initialize) [PROCFS_EXE_LINK]: Make sure that
1769 the link is a path before using it.
1770
1771 2003-03-03 Richard Frith-Macdonald <rfm@gnu.org>
1772
1773 * Headers/gnustep/base/objc-gnu2next.h: Added some trivial reverse
1774 mappings to use gnu runtime from old next code.
1775
1776 2003-03-02 Richard Frith-Macdonald <rfm@gnu.org>
1777
1778 * Headers/gnustep/base/GSObjCRuntime.h:
1779 * Source/GSFFIInvocation.m:
1780 * Source/GSString.m:
1781 * Source/NSInvocation.m:
1782 * Source/NSObject.m:
1783 * Source/NSPortCoder.m:
1784 * Source/NSUnarchiver.m:
1785 * Source/Additions/GSObjCRuntime.m:
1786 * Source/Additions/Unicode.m:
1787 Rename _fastMallocBuffer() to GSAutoreleasedBuffer() for clarity
1788 and consistency. Moved implementation from NSObject.m to
1789 GSObjCRuntime.m so this is available for use withing the Additions
1790 library when built standalone.
1791 Add a couple of trivial functions to list ivars and methods.
1792
1793 2003-02-19 Mirko Viviani <mirko.viviani@rccr.cremona.it>
1794
1795 * Headers/gnustep/base/NSArray.h: fixed declarations.
1796
1797 2003-02-19 David Ayers <d.ayers@inode.at>
1798
1799 * Source/NSArray.m (compare()),
1800 ([-sortedArrayUsingFunction:context:]),
1801 ([-sortedArrayUsingFunction:context:hint:]),
1802 ([-sortUsingFunction:context:]): Changed declarations
1803 and implementation to account for 64 bit architectures.
1804 * Headers/gnustep/base/NSArray.h: Ditto.
1805 * Source/NSKeyValueCoding.m ([-takeStoredValuesFromDictionary:]):
1806 Implemented.
1807 * Headers/gnustep/base/NSKeyValueCoding.h: Ditto.
1808
1809 2003-02-18 Richard Frith-Macdonald <rfm@gnu.org>
1810
1811 * NSObject.m: ([+instancesRespondToSelector:]),([-respondsToSelector])
1812 Return NO when given a null selector unless in MacOS-X compatibility
1813 mode. rewritten from patch by Willem Rein Oudshoorn.
1814
1815 2003-02-16 Adam Fedor <fedor@gnu.org>
1816
1817 * Version 1.5.2
1818 * Documentation: Update.
1819
1820 * Source/GSFFIInvocation.m (GSFFIInvocationCallback): Autorelease
1821 and invalidate the return value object before returning.
1822
1823 2003-02-16 Richard Frith-Macdonald <rfm@gnu.org>
1824
1825 * Source/GSDictionary.m: ([-isEqualToDictionary:]) implement optimised
1826 version which does not need to create a key enumerator.
1827 * Source/GSArray.m: ditto
1828 * Source/GSSet.m: similar minor optimisations.
1829
1830 2003-02-15 15:53 Alexander Malmberg <alexander@malmberg.org>
1831
1832 * Source/NSRunLoop.m (-performSelector:target:argument:order:modes:):
1833 Order the performers correctly (lower order values first). Correct
1834 the documentation.
1835
1836 2003-02-13 Richard Frith-Macdonald <rfm@gnu.org>
1837
1838 * Source/NSTimeZone.m: Fix memory leak when making absolute
1839 timezone for offset 0.
1840
1841 2003-02-11 Tom Koelman <tkoelman@xs4all.nl>
1842
1843 * Source/NSTask.m: Make arguments into windows quoted strings for
1844 mingw. Adjustments to conform to GNUstep style and use static
1845 functions to avoid adding methods by RFM.
1846
1847 2003-02-11 Adam Fedor <fedor@gnu.org>
1848
1849 * configure (LDFLAGS): Remove extra spaces that cause problems
1850 on Darwin/gcc
1851
1852 i2003-02-11 Willem Rein Oudshoorn <woudshoo@xs4all.nl>
1853
1854 * Headers/Foundation/NSFileManager.h: Added a little bit to the
1855 * documentation of the NSFileManagerHandler protocol.
1856 (some documentation markup fixes by RFM also)
1857 * Source/NSFileManager.m ([NSFileManager -copyPath:toPath:handler:]):
1858 use new private methods to cope with handlers that do not implement
1859 the informal protocol. Pass more information to the handler in case
1860 of an error.
1861 ([NSFileManager -removeFileAtPath:handler:]): see above
1862 ([NSFileManager -movePath:toPath:handler:]): see above
1863 ([NSFileManager -_copyPath:toPath:handler:]): see above
1864 ([NSFileManager -_copyFile:toFile:handler:]): see above, also fixed
1865 leaking of file descriptors in case of error without a handler.
1866 ([NSFileManager -_sendToHandler:handlerwillProcessPath:path]):
1867 new method
1868 ([NSFileManager -_proceedAccordingToHandler:handlerforError:
1869 errorinPath:path]): new method
1870 ([NSFileManager -_proceedAccordingToHandler:handlerforError:
1871 errorinPath:pathfromPath:fromPathtoPath:toPath]): new method
1872
1873 2003-02-11 Richard Frith-Macdonald <rfm@gnu.org>
1874
1875 * Source/NSFileManager.m: ([+attributesAt:traverseLink:]) check for
1876 null pointer and return nil. Crash reported by Tom Koelman.
1877
1878 2003-02-10 13:56 Alexander Malmberg <alexander@malmberg.org>
1879
1880 * Source/NSRunLoop.m [HAVE_POLL] (-pollUntil:within:): Set fdEnd
1881 to pollfds_count instead of setting it separately (which was being
1882 done incorrectly).
1883
1884 2003-02-07 19:21 Alexander Malmberg <alexander@malmberg.org>
1885
1886 * Source/GSAttributedString (-setAttributes:range:): Fix memory
1887 leak.
1888
1889 2003-02-06 Richard Frith-Macdonald <rfm@gnu.org>
1890
1891 * Sourcewin32-def.top: Remove recently added external functions.
1892 * Source/libgnustep-base.def.in: Regenerated to just contain
1893 public classes. The manual hacks are no longer needed as the
1894 make system now handles inclusion of symbols from subprojects
1895 in dlls.
1896
1897 2003-02-05 Richard Frith-Macdonald <rfm@gnu.org>
1898
1899 * Sourcewin32-def.top: Manually added external functions.
1900 * Source/libgnustep-base.def.in: Regenerated to combine external
1901 functions and all public classes.
1902 * Source/NSConnection.m: ([-init]) creates a connection usable as
1903 a server.
1904
1905 2003-02-04 Richard Frith-Macdonald <rfm@gnu.org>
1906
1907 * Source/NSBundle.m: Implement new MacOS-X isLoaded method.
1908 * Headers/gnustep/base/NSBundle.h: ditto
1909
1910 2003-02-04 Willem Rein Oudshoorn <woudshoo@xs4all.nl>
1911
1912 * Headers/gnustep/base/GSInvocation.h (CLEAR_RETURN_VALUE_IF_OBJECT):
1913 * New macro, if invocation returns object release it.
1914 (RETAIN_RETURN_VALUE): New macro, if invocation returns object
1915 release it.
1916 * Source/NSInvocation.m ([NSInvocation -dealloc]): Implement RELEASE
1917 * return object
1918 ([NSInvocation -setReturnValue:]) Implement RETAIN/RELEASE on return
1919 object ([NSInvocation -invokeWithTarget:]): Implement RETAIN/RELEASE
1920 on return object,
1921 fixed _validReturn flag setting
1922 * Source/GSFFIInvocation.m ([GSFFIInvocation -invokeWithTarget:]):
1923 Fix _validReturn flag setting, Implement RETAIN/RELEASE on return
1924 object.
1925 * Source/GSFFCallInvocation.m ([GSFFCallInvocation
1926 * -invokeWithTarget:]):
1927 Fix _validReturn flag setting. Implement RETAIN/RELEASE on return
1928 object.
1929
1930 2003-02-04 Adam Fedor <fedor@Eldorado.local.>
1931
1932 * Headers/gnustep/base/.cvsignore: Don't include config.h.in
1933 * Documentation/.cvsignore: Don't include *texi
1934 * Source/Additions/GSXML.h: Fix up GSXLM.h include on MacOSX
1935
1936 2003-02-02 Stephane Corthesy <stephane@sente.ch>
1937 Adam Fedor <fedor@gnu.org>
1938
1939 * Headers/gnustep/base/GSObjCRuntime.h (GS_STATIC_INLINE): Rename
1940 from FOUNDATION_STATIC_INLINE
1941 * Headers/gnustep/base/GCObject.h, GSXML.h: include
1942 Foundation/Foundation.h on MacOSX.
1943 * Source/Additions/GCArray.m, GCDictionary.m, GCObject.m: Idem.
1944 * Source/Additions/GSCompatibility.[hm]: Change category names to
1945 GSCompatibility.
1946 * Source/Additions/GSNextRuntime.m (ROUND): Expand inline due to
1947 gcc 3.1 compile problems.
1948 * Source/Additions/Unicode.m: Don't define GetEncodingName on MacOSX
1949 Added #ifdef HAVE_ICONV around definition of iconv_stringforencoding().
1950
1951 2003-02-01 Richard Frith-Macdonald <rfm@gnu.org>
1952
1953 * Source/Additions/Unicode.m: Fix error in check for legality of
1954 three-byte utf-8 sequences.
1955
1956 2003-01-31 Richard Frith-Macdonald <rfm@gnu.org>
1957
1958 * Source/NSRunLoop.m: Fix memory leak with timed performs.
1959
1960 2003-01-31 Stephane Corthesy <stephane@sente.ch>
1961 Adam Fedor <fedor@gnu.org>
1962
1963 * Headers/gnustep/base/GSCategories.h: Moved
1964 NSString(GSCategories), NSMutableString(GSCategories), and copied
1965 NSObject(GSCategories) to here
1966 * Headers/gnustep/base/NSString.h, Headers/gnustep/base/NSObject:
1967 From here.
1968 * Headers/gnustep/base/GSMime.h: Include Foundation on MacOSX.
1969
1970 * Source/Additions/GSCategories.m: Fix includes.
1971 * Source/Additions/GSCompatibility.h: Defined DebugLog, WarnLog
1972 macros. Add Additional NSObject, NSInvocation, NSString and
1973 NSProcessInfo methods. Add NSStandardLibraryPaths.
1974 * Source/Additions/GSCompatibility.m: Idem.
1975
1976 2003-01-30 Richard Frith-Macdonald <rfm@gnu.org>
1977
1978 * Source/libgnustep-base.def.in: Regenerated
1979
1980 2003-01-27 Richard Frith-Macdonald <rfm@gnu.org>
1981
1982 * Source/Additions/Unicode.m: Fixed bug in utf-8 output for three
1983 byte sequences.
1984 * Tools/AGSOutput.m: Fix loss of trailing info after a closing
1985 square bracket round a class name.
1986 * Source/Additions/GCArray.m: make mutable copy shallow for
1987 consistency with other arrays.
1988
1989 2003-01-26 Richard Frith-Macdonald <rfm@gnu.org>
1990
1991 * Source/NSString.m: Added new MacOS-X method ...
1992 ([MSMutableString-replaceOccurrencesOfString:withString:options:range:])
1993 * Source/Headers/gnustep/base/NSString.h: ditto
1994 * Source/Additions/GSCategories.m: Added
1995 ([NSData-initWithHexadecimalRepresentation:])
1996 * Source/Headers/gnustep/base/GSCategories.h: ditto
1997
1998 2003-01-26 Adam Fedor <fedor@gnu.org>
1999
2000 * Compiling gdl2 on MacOSX.
2001 * Headers/gnustep/base/NSObject.h (-notImplemented:,
2002 -subclassResponsibility:, -shouldNotImplement:, -compare:): Move
2003 to GSCategories category.
2004 * Headers/gnustep/base/NSString.h (-stringByDeletingPrefix:,
2005 -stringByDeletingSuffix:, -deleteSuffix:, -deletePrefix:): Idem.
2006 * Source/NSObject: Move methods to Additions/GSCategories.m
2007 * Source/NSString: Idem.
2008
2009 * Source/Additions/GSCompatibility.h (GetEncodingName): Add.
2010 * Source/Additions/GSCompatibility.m (GetEncodingName): Cocoa
2011 implementation.
2012
2013 2003-01-24 Richard Frith-Macdonald <rfm@gnu.org>
2014
2015 * Source/Additions/GSCategories.m: Changed name of md5 digest method
2016 and added -hexadecimalRepresentation.
2017 * Source/Additions/GSMime.m: Update for md5 change.
2018 * Documentation/GNUmakefile: Fixed error in installation location.
2019 * Documentation/Makefile.postamble: Fixed to install BaseAdditions
2020 documentation.
2021 * Source/md5.c: Tidy up ... removed ... no longer used
2022 * Source/md5.h: ditto
2023 * Source/numbers.c: ditto
2024 * Headers/gnustep/base/numbers.h: ditto
2025
2026 2003-01-23 Richard Frith-Macdonald <rfm@gnu.org>
2027
2028 * Documentation/Base.gsdoc: Refer to additions.
2029 * Documentation/BaseAdditions.gsdoc: New intorduction for additions
2030 * Headers/gnustep/base/GSCategories.h: Added MD5Digest NSData method
2031 * Source/DocMakefile: Build additions documentation separately
2032 * Source/Additions/GSCategories.m: Added MD5Digest NSData method
2033 * Source/Additions/GSMime.m: Use MD5Digest NSData method.
2034
2035 2003-01-22 Richard Frith-Macdonald <rfm@gnu.org>
2036
2037 * Source/Additions/GSMime.m: ifdefed out my last change ...not sure
2038 it was good.
2039 * Source/GSFileHandle.m: Removed bogus semicolon which was causing
2040 code to be executed repeatedly rather than just once ... trivial
2041 optimisation.
2042
2043 2003-01-21 Adam Fedor <fedor@gnu.org>
2044
2045 * Source/Additions/(GCArray.m, GCDictionary.m, GCObject.m,
2046 GSCategories.m): Include config.h
2047 * Source/Additions/GSMime.m: Add extra arg to some NSDebugMLog to
2048 get it to compile right on OSX.
2049
2050 2003-01-20 Richard Frith-Macdonald <rfm@gnu.org>
2051
2052 * Headers/gnustep/unicode/latin9.h: Latin9 string encoding tables
2053 * Source/Additions/Unicode.m: Added built-in support for the Latin9
2054 character encoding ... contains the Euro symbol ... nice for
2055 european users.
2056 * Source/NSArray.m: Make abstract copying implementation like that
2057 of latest MacOS-X rather than OPENSTEP ... no relationship between
2058 mutability and depth.
2059 * Source/NSDictionary.m: ditto
2060 * Source/NSSet.m: ditto
2061 * Source/GSArray.m: Implement optimised copies ... copying an immutable
2062 object just retains it, and copying a mutable object is shallow.
2063 * Source/GSDictionary.m: ditto
2064 * Source/GSSet.m: ditto
2065
2066 2003-01-16 Richard Frith-Macdonald <rfm@gnu.org>
2067
2068 * Source/NSURL.m: Support MacOS-X style initialisation using a path
2069 with a leading slash.
2070
2071 2003-01-09 Richard Frith-Macdonald <rfm@gnu.org>
2072
2073 * Source/Additions/GSCategories.m: Additional ([weekOfYear]) method
2074 for NSCalendarDate.
2075 * Headers/gnustep/base/GSCategories.h: ditto
2076
2077 2003-01-07 Richard Frith-Macdonald <rfm@gnu.org>
2078
2079 * Source/NSLock.m:
2080 * Source/NSPage.m:
2081 Mingw fixes ... problems reported by Fred.
2082
2083 2003-01-04 Richard Frith-Macdonald <rfm@gnu.org>
2084
2085 * Source/NSConcreteNumber.m: ([compare:]) explicitly cast to promote
2086 values to a type where comparisons can be done without loss of
2087 precision.
2088
2089 2003-01-03 Richard Frith-Macdonald <rfm@gnu.org>
2090
2091 * base.make.in:
2092 * configure:
2093 * configure.ac:
2094 * Headers/gnustep/base/GSIArray.h:
2095 * Headers/gnustep/base/GSIMap.h:
2096 * Headers/gnustep/base/NSGeometry.h:
2097 * Headers/gnustep/base/NSInvocation.h:
2098 * Source/GSArray.m:
2099 * Source/GSAttributedString.m:
2100 * Source/GSCompatibility.m:
2101 * Source/GSCountedSet.m:
2102 * Source/GSDictionary.m:
2103 * Source/GSFFCallInvocation.m:
2104 * Source/GSFTPURLHandle.m:
2105 * Source/GSFileHandle.m:
2106 * Source/GSFormat.m:
2107 * Source/GSString.m:
2108 * Source/GSTcpPort.m:
2109 * Source/GSTemplateValue.m:
2110 * Source/NSArray.m:
2111 * Source/NSAutoreleasePool.m:
2112 * Source/NSBundle.m:
2113 * Source/NSCalendarDate.m:
2114 * Source/NSConcreteNumber.m:
2115 * Source/NSCountedSet.m:
2116 * Source/NSData.m:
2117 * Source/NSDebug.m:
2118 * Source/NSInvocation.m:
2119 * Source/NSLog.m:
2120 * Source/NSMethodSignature.m:
2121 * Source/NSNotificationCenter.m:
2122 * Source/NSObject.m:
2123 * Source/NSPortCoder.m:
2124 * Source/NSRunLoop.m:
2125 * Source/NSScanner.m:
2126 * Source/NSSerializer.m:
2127 * Source/NSString.m:
2128 * Source/NSTimeZone.m:
2129 * Source/NSUnarchiver.m:
2130 * Source/mframe.m:
2131 * Source/Additions/GSMime.m:
2132 * Source/Additions/GSXML.m:
2133 * Tools/AGSOutput.m:
2134 * Tools/AGSParser.m:
2135 * Tools/defaults.m:
2136 * Tools/gdomap.c:
2137 * Tools/pl2link.m:
2138 * Tools/sfparse.m:
2139 * Tools/make_strings/StringsFile.m:
2140 Tweaks for warning free compilation with gcc-3.4 ... many comparisons
2141 os signed and un signed values avoided etc.
2142
2143 2003-01-03 Richard Frith-Macdonald <rfm@gnu.org>
2144
2145 * Tools/AGSHtml.m: Don't try to make a type reference to the
2146 superclass of NSObject.
2147
2148 2002-12-31 Richard Frith-Macdonald <rfm@gnu.org>
2149
2150 * Source/NSPage.m: Document all functions.
2151
2152 2002-12-31 Kelvin <kelvin@xbar.org>
2153
2154 * Source/NSPage.m (NSRealMemoryAvailable): Add support for MINGW
2155 and BeOS.
2156
2157 2002-12-31 Richard Frith-Macdonald <rfm@gnu.org>
2158
2159 * Source/GSEQ.h: Optimisations for normalising sequences, especially
2160 where they contain latin1 characters.
2161 * Source/Additions/GCDictionary.m: Update map tables for macosx
2162 * Source/NSMapTable.m: Update for macosx compatibility, add some
2163 documentation and move stuff from externs.m
2164 * Source/NSHashTable.m: Update for macosx compatibility, add some
2165 documentation and move stuff from externs.m
2166 * Source/externs.m: Remove map and hash table stuff
2167 * Source/NSException.m: Fix documentation cross ref error.
2168 * Source/NSAssertion.m: Improve documentation.
2169 * Headers/gnustep/base/NSException.h: Include assertion documentation.
2170 * Headers/gnustep/base/NSMapTable.h: Update for macosx compatibility.
2171 * Headers/gnustep/base/NSHashTable.h: Ditto
2172 * Tools/AGSHtml.m: Fix typo ... excess semicolon in constant output.
2173 * Tools/AGSParser.m: Fix error failing to find comment for constants.
2174 * Source/NSObjCRuntime.m: Document functions.
2175
2176 2002-12-30 Adam Fedor <fedor@gnu.org>
2177
2178 * SSL/GNUmakefile: Don't compile if base=no
2179
2180 * Tools/AGSIndex.h: Include gnustep/base/GSXML.h.
2181 * Tools/AGSHtml.m: Include GNUstep.h
2182 * Tools/AGSInde.m, Tools/AGSOutput.m, Tools/AGSParser.m,
2183 Tools/HTMLLinker.m: Idem.
2184 * Tools/GNUmakegile: Only compile autogsdoc when add=yes
2185 * Tools/Makefile.preamble: Include -lgnustep-baseadd when add=yes
2186
2187 Mon Dec 30 18:19:55 2002 Nicola Pero <n.pero@mi.flashnet.it>
2188
2189 * configure.ac: Recognize apple OBJC_RUNTIME_LIB.
2190 * configure: Regenerated.
2191 * Makefile.postamble: Updated check for gnu FOUNDATION_LIB.
2192 * Source/Makefile.preamble (libgnustep-baseadd_LIBRARIES_DEPEND_UPON):
2193 Do not add -framework Foundation on Apple, it's added automatically
2194 by gnustep-make.
2195 * Source/GNUmakefile: Updated check for OBJC_RUNTIME_LIB.
2196 * Source/Additions/GNUmakefile: Updated checks for
2197 OBJC_RUNTIME_LIB and FOUNDATION_LIB.
2198
2199 2002-12-28 Kelvin <kelvin@xbar.org>
2200
2201 * Source/NSPage.m: Add BeOS support.
2202 * Source/NSProcessInfo.m ([NSProcessInfo -operatingSystem]): Idem
2203 (Also added solaris (fedor@gnu.org)).
2204
2205 2002-12-24 Richard Frith-Macdonald <rfm@gnu.org>
2206
2207 * Source/Additions/Unicode.m: Tidied and optimised binary searches.
2208
2209 2002-12-19 Richard Frith-Macdonald <rfm@gnu.org>
2210
2211 * Tools/AGSParser.m: Fix bug handling repeated opeing braces.
2212
2213 2002-12-17 Richard Frith-Macdonald <rfm@gnu.org>
2214
2215 * Tools/AGSIndex.m: Fix error indexing vararg methods.
2216 * Source/Additions/Unicode.m: Added home-brewed support for UTF8 to
2217 avoid use of iconv where not necessary.q Hope the code is OK :-)
2218
2219 2002-12-12 Richard Frith-Macdonald <rfm@gnu.org>
2220
2221 * Headers/gnustep/base/NSDistributedNotificationCenter.h: add type
2222 for LAN-wide notifications. Add ivar to support this.
2223 * Source/NSDistributedNotificationCenter.m: Implement support for
2224 a LAN-wide notification center. Fully document class.
2225 * Tools/gdnc.m: Add new GSNetwork flag to operate as LAN-wide
2226 notification center.
2227 * Tools/AGSHtml.m: Don't output contents section if there is
2228 nothing to show (ie must have at least two sections to index).
2229 * Source/NSConnection.m: Add locks to protect proxy cache in timeout.
2230
2231 2002-12-10 Adam Fedor <fedor@gnu.org>
2232
2233 * configure.ac: Enable libffi on darwin by default.
2234
2235 2002-12-10 Richard Frith-Macdonald <rfm@gnu.org>
2236
2237 * Source/NSArray.m: ([removeObjectsFromIndices:numIndices:])
2238 bugfix for sorting by Kelvin Sherlock.
2239 * Source/NSConnection.m: Experimental code to keep local objects
2240 retained long enough to deal with most cases where the remote
2241 process may want them again.
2242 * Source/NSHost.m: Don't cache local host name ... it may change
2243 due to use of DHCP etc.
2244
2245 2002-12-08 Richard Frith-Macdonald <rfm@gnu.org>
2246
2247 * Source/NSThread.m: Fix race condition firing perform holder.
2248 Fix supplied by Philip Derrin.
2249
2250 2002-12-05 Richard Frith-Macdonald <rfm@gnu.org>
2251
2252 * Source/NSUserDefaults.m: Fix uninitialised local variable 'locale'
2253 which was causing a crash ... not 100% sure my fix is making the code
2254 work as intended. Could Adam please check it?
2255
2256 2002-12-04 Adam Fedor <fedor@gnu.org>
2257
2258 * Headers/gnustep/base/GSLocale.h: Add category arg to
2259 SetLocale functions.
2260 * Source/GSLocale.m (GSSetLocaleC, GSSetLocale): Update for change.
2261 * Source/NSObject.m (+initialize): Idem.
2262 * Source/NSUserDefaults.m ([NSUserDefaults +standardUserDefaults]):
2263 Idem.
2264
2265 2002-12-04 Richard Frith-Macdonald <rfm@gnu.org>
2266
2267 * Source/NSSerializer.m: bugfix deserialisation ... was trying to
2268 read size of date/number when these values were not being serialized.
2269
2270 2002-12-03 Mirko Viviani <mirko.viviani@rccr.cremona.it>
2271
2272 * Source/NSBundle.m ([NSBundle +initialize]): check for linked
2273 framework in two passes, first collect all the framework classes, then
2274 add it. The previous routine failed to add all the frameworks.
2275
2276 2002-12-02 Adam Fedor <fedor@gnu.org>
2277
2278 * Port baseadd to MacOSX.
2279 * Makefile.postamble (header-links): Don't link gnustep/gui to
2280 Foundation for FOUNDATION_LIB=nx
2281 * Headers/gnustep/base/NSObjCRuntime.h (FOUNDATION_EXPORT): Define
2282 only if not defined already.
2283 * Headers/gnustep/base/objc-gnu2next.h: Define _CLS_META, _CLS_CLASS
2284 * Source/Makefile.preamble (libgnustep-baseadd_LIBRARIES_DEPEND_UPON):
2285 Depend on framework Foudation if FOUNDATION_LIB=nx
2286 * Source/objc-gnu2next.m: Move most functions...
2287 * Source/Additions/GSNextRuntime.m: ...to here.
2288 * Source/Additions/GSCompatibility.[hm]: New files.
2289 * Source/Additions/GCDictionary.m: Include it.
2290 * Source/Additions/GSMime.m: Idem.
2291 * Source/Additions/GSXML.m: Idem.
2292 * Source/Additions/GCObject.m: Idem. Null out mutex code
2293 on NeXT_RUNTIME (Need a better fix).
2294 * Source/Additions/GNUmakefile: Don't compile Unicode.m
2295 on FOUNDATION_LIB=nx (not ported yet).
2296 * Source/Additions/GSObjCRuntime.m (GSObjCAddClasses): Version
2297 for NeXT_RUNTIME.
2298 (GSObjCAddClassBehavior): Fixes for NeXT_RUNTIME.
2299 * Source/Additions/behavior.m (behavior_class_add_class): Idem.
2300
2301 2002-12-02 Jonathan Gapen <jagapen@wisc.edu>
2302
2303 * Headers/gnustep/base/NSPort.h: Add NSSocketPort interface.
2304 * Source/NSSocketPort.m: New file. New MacOS X class partially
2305 implemented; serves as BSD socket wrapper.
2306
2307 2002-12-02 Adam Fedor <fedor@gnu.org>
2308
2309 * base.make.in (CONFIG_SYSTEM_LIBS): Set only if shared=no.
2310 * config.make.in (CONFIG_SYSTEM_LIBS): Set only if shared=yes.
2311 * Source/Makefile.preamble (libgnustep-base_LIBRARIES_DEPEND_UPON):
2312 Depend on $(CONFIG_SYSTEM_LIBS) if shared=yes.
2313
2314 2002-11-29 Richard Frith-Macdonald <rfm@gnu.org>
2315
2316 * Tools/plparse.m: Stefan Urbaneks patch to return 1 on failure.
2317 * Tools/sfparse.m: Similar code for this tool.
2318 * Source/Additions/GSObjCRuntime.m: Tidied function names
2319 * Headers/gnustep/base/GSObjCRuntime.h: ditto.
2320 * Source/NSKeyValueCoding.m: Use new function names.
2321
2322 2002-11-28 Richard Frith-Macdonald <rfm@gnu.org>
2323
2324 * Tools/AGSParser.m: Fix so we document static declarations made in
2325 headers and only ignore them in implementation.
2326 * Tools/AGSOutput.m: Bugfix to output ivar type information.
2327 * Tools/AGSHtml.m: Reduce space around examples.
2328 Bugs reported by Chris B. Vetter
2329 * Source/Additions/GSObjCRuntime.m: Tidied function name conventions.
2330 * Headers/gnustep/base/GSObjCRuntime.h: ditto.
2331 * Source/NSKeyValueCoding.m: Use new function names.
2332 * Source/mframe.m: When scanning arguments, skip type information
2333 for things poionted to by a pointer - more efficient than scanning
2334 the fine structure and then throwing away the scanned information.
2335 * Source/additions/GSMime.m: Fill in 'type' field in multipart/related
2336 and fix bug in seaarch by content id. Also minor consistency change
2337 to API.
2338
2339 2002-11-27 Manuel Guesdon <mguesdon@orange-concept.com>
2340
2341 * Source/Additions/GSObjCRuntime.m: fixed type call typo
2342 in GSFindInstanceVariable
2343
2344 2002-11-27 Adam Fedor <fedor@gnu.org>
2345
2346 * configure.ac (INCLUDE_FLAGS): New for holding flags needed for
2347 compiling base.
2348 * config.make.in (CONFIG_SYSTEM_INCL): Use it.
2349 * base.make (CONFIG_SYSTEM_INCL): Remove CPPFLAGS
2350 (CONFIG_SYSTEM_DEFS): Remove.
2351 * Source/Additions/GNUmakefile: include config.mak
2352
2353 2002-11-27 Richard Frith-Macdonald <rfm@gnu.org>
2354
2355 * Source/Additions/GSObjCRuntime.m: New file with GNUstep extensions
2356 from NSObjCRuntime, plus renamed behavior functions, plus a few other
2357 runtime manipulation functions. EXPERIMENTAL
2358 * Headers/gnustep/base/GSObjCRuntime.h: declarations for above.
2359 * Source/GSCompatibility.m: Don't use new format plists when writing
2360 descriptions.
2361 Also, honor NSWriteOldStylePropertyLists user default to write old
2362 style property-lists rather than new style or xml style.
2363 * Source/NSUser.m: Use USERPROFILE for default home directory on
2364 windoze.
2365 * Source/NSArray.m: Write non-xml property lists as ascii.
2366 * Source/NSDictionary.m: Write non-xml property lists as ascii.
2367 * Source/mframe.m: use objc_alignof_type() as suggested by Roland
2368 Schwingel. Long ago the objc runtime version was buggy so mframe
2369 implemented its own algorithm. Now the objc runtime one is better.
2370
2371 2002-11-26 Richard Frith-Macdonald <rfm@gnu.org>
2372
2373 * Source/Additions/GCObject.m: Attempt to make garbage collecting
2374 thread-safe.
2375 * Source/Additions/GCArray.m: Fix count initialising mutable array.
2376 * Source/Additions/GSMime.m: Provide a method to generate and return
2377 a string suitable for use as a boundary. Make tolerant of multipart
2378 messages with 'application' as the message type.
2379 Added ([-setBuggyQuotes:]) method for parsing stuff produced by
2380 microsoft ;-(
2381
2382 2002-11-25 Richard Frith-Macdonald <rfm@gnu.org>
2383
2384 * Source/NSUserDefaults.m: Treat '-' on its own as an argument
2385 rather than the start of a flag name.
2386 * Source/Additions/GSMime.m: Place angle brackets around generated
2387 content ID. Add method to generate message ID. Tidy comments a
2388 little.
2389
2390 2002-11-20 Richard Frith-Macdonald <rfm@gnu.org>
2391
2392 * Source/libgnustep-base.def: Add garbage collecting classes.
2393
2394 2002-11-20 Adam Fedor <fedor@gnu.org>
2395
2396 * Source/NSBundle.m (+preferredLocalizationsFromArray:forPreferences:):
2397 Check for array with no objects.
2398 ([NSBundle -localizedInfoDictionary]): Idem.
2399
2400 2002-11-20 Richard Frith-Macdonald <rfm@gnu.org>
2401
2402 * Source/Additions/Unicode.m: Work around bug in the redhat 8 iconv
2403 library ... was sucessfully opening the encoding "" when it shouldn't.
2404
2405 2002-11-19 Adam Fedor <fedor@gnu.org>
2406
2407 * Version: 1.5.1
2408 * Documentation/news.texi: Updated.
2409
2410 2002-11-19 Adam Fedor <fedor@gnu.org>
2411
2412 * Headers/gnustep/base/NSBundle.h: More documentation. Add missing
2413 MacOSX methods.
2414 * Source/NSBundle.m (-executablePath): New
2415 (-load): Use it.
2416 (+pathsForResourcesOfType:inDirectory:): New stub.
2417 (-pathsForResourcesOfType:inDirectory:forLocalization:): Idem.
2418 (-pathForResource:ofType:inDirectory:forLocalization:): Idem.
2419 (+preferredLocalizationsFromArray:): New method.
2420 (+preferredLocalizationsFromArray:forPreferences:): Idem.
2421 (-localizedInfoDictionary): Idem.
2422 (-localizations): Idem.
2423 (-preferredLocalizations): Idem.
2424
2425 * Source/cifframe.m (cifframe_from_info): Fix so that stucture
2426 returns get space allocated.
2427
2428 2002-11-19 Richard Frith-Macdonald <rfm@gnu.org>
2429
2430 * Source/behavior.m: Moved to Source/Additions/behavior.m
2431 * Source/Unicode.m: Moved to Source/Additions/Unicode.m
2432 * Source/Additions/GCObject.m: new experimental GC class.
2433 * Source/Additions/GCArray.m: ditto
2434 * Source/Additions/GCDictionary.m: ditto
2435 * Headers/gnustep/base/GCObject.h: Garbage collection classes intended
2436 for use by gdl2 and gsweb.
2437
2438 2002-11-18 Richard Frith-Macdonald <rfm@gnu.org>
2439
2440 * Source/GSCompatibility.m: Fix for case where a non property list
2441 object is found when outputting a description.
2442
2443 2002-11-12 Richard Frith-Macdonald <rfm@gnu.org>
2444
2445 * Source/NSUserDefaults.m: Fix for getting integer, float and bool
2446 values when they are stored as NSNumbers (problem reported by
2447 Ludovic Marcotte). Also optimise a little.
2448
2449 2002-11-15 Richard Frith-Macdonald <rfm@gnu.org>
2450
2451 * Source/NSThread.m: Port pipe to mingw.
2452 * Tools/gdomap.c: Fix for modern mingw interface lookup.
2453 Patch by Tom Koelman
2454
2455 2002-11-12 Richard Frith-Macdonald <rfm@gnu.org>
2456
2457 * Source/NSUserDefaults.m: Try again ... get
2458 ([-setVolatileDomain:forName:]) and ([-setPersistentDomain:forName:])
2459 to conform to both the OpenStep standard and the current MacOS-X
2460 documentation.
2461
2462 2002-11-11 Richard Frith-Macdonald <rfm@gnu.org>
2463
2464 * Source/NSString.m: adocument property list stuff.
2465 * Source/NSUserDefaults.m: set integers, floats and bools as NSNumber
2466 Bugfix ([-setVolatileDomain:forName:]) was checking wrong list of
2467 domains. Tidied.
2468
2469 2002-11-10 Richard Frith-Macdonald <rfm@gnu.org>
2470
2471 * Headers/gnustep/base/NSObject.h: Removed GNUstep plist extensions.
2472 * Source/NSObject.m: ditto.
2473 * Source/GSCompatibility.m: Implement new plist generator.
2474 * Source/NSArray.m: Use new plist code
2475 * Source/NSData.m: ditto
2476 * Source/NSDictionary.m: ditto
2477 * Source/NSSerializer.m: handle NSNumber and NSDate
2478 * Source/NSString.m: ditto, plus implement extensions to old plist
2479 support so we can encode NSNumber and NSDate values.
2480 Remove GNUstep property list extensions from the api ... make more
2481 like MacOS and OpenStep spec by having a central mechanism for
2482 generating property lists rather than spreading the code across the
2483 plist classes.
2484 Also ... maintain allocation debug accounting when making objects
2485 immutable.
2486
2487 2002-11-09 Richard Frith-Macdonald <rfm@gnu.org>
2488
2489 * Source/NSObject.m: use NSString implementation of
2490 ([descriptionWithLocale:indent:to:])
2491 * Source/NSUserDefaults.m: ([setObject:forKey:]) validate and raise
2492 exceptions if given bad info.
2493
2494 2002-11-07 02:21 Alexander Malmberg <alexander@malmberg.org>
2495
2496 * Source/GSString.m: (-makeImmutableCopyOnFail:): Set isa to correct
2497 class.
2498
2499 2002-11-04 Richard Frith-Macdonald <rfm@gnu.org>
2500
2501 * Source/NSArray.m: Ensured some documentation in place for almost all
2502 methods.
2503 * Source/Additions/GSMime.m: Fix broken method reference.
2504 * Source/Additions/GSXML.m: ditto
2505 * Source/NSScanner.m: ditto
2506 * Source/NSUnarchiver.m: ditto
2507 * Tools/AGSIndex.m: Minor fix for superclass reference lookup.
2508 * Tools/AGSHtml.m: ditto
2509
2510 2002-11-03 Richard Frith-Macdonald <rfm@gnu.org>
2511
2512 * Source/NSRunLoop.m: Revert to remove unneeded notification setup.
2513 * Source/NSThread.m: Rewrite pierres changes, scrapping all
2514 conditionally compiled code that would never be used, rewriting
2515 unix specific stuff (so it might run under windoze ... not yet tested)
2516 removed unnecessary code and simplified, etc etc.
2517 Fixed bugs in usage of condition locks so it actually works.
2518 * Testing/thread.m: New test to try out
2519 performSelectorOnMainThread:withObject:waitUntilDone:modes:
2520
2521 2002-11-02 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
2522
2523 * Source/NSRunLoop.m ([NSRunLoop -init]): ask to be informed about
2524 NSWillBecomeMultiThreadedNotification if _willBecomeMultiThreaded:
2525 method existes.
2526 * Source/NSRunLoop.m: new GSAppKitInterThreadRunLoopWatcher private
2527 class.
2528 ([NSRunLoop -_willBecomeMultiThreaded:]): new method, sets up the
2529 lock, the socket and new run loop watcher that'll listen on the socket.
2530 [NSObject -performSelectorOnMainThread:withObject:waitUntilDone:modes:]):
2531 modified to use the previous changes.
2532
2533 2002-11-01 Richard Frith-Macdonald <rfm@gnu.org>
2534
2535 * Headers/gnustep/base/NSBundle.h: Tidied/corrected documentation
2536 markup.
2537 * Headers/gnustep/base/NSDate.h: Added NSTimeIntervalSince1970 and
2538 removed GSTimeNow() from public API.
2539 * Source/NSDate.m: Update to use NSTimeIntervalSince1970
2540 * Source/NSTimer.m: Declare GSTimeNow() locally
2541 * Source/NSprocessInfo.m: ditto
2542 * Source/Additions/GSMime.m: more tolerant parsing ... ignore excess
2543 data in multi-part document.
2544
2545 Thu Oct 31 00:46:23 2002 Nicola Pero <n.pero@mi.flashnet.it>
2546
2547 * Headers/gnustep/base/NSBundle.h: Added more documentation.
2548
2549 Wed Oct 30 23:42:50 2002 Nicola Pero <n.pero@mi.flashnet.it>
2550
2551 * Source/NSBundle.m ([+_addFrameworkFromClass:]): New code
2552 locating linked frameworks magically - no matter where they are on
2553 disk - by using objc_get_symbol_path(). If that fails or is not
2554 available, fall back on the existing code. Fixed NSLog() message.
2555
2556 2002-10-30 Richard Frith-Macdonald <rfm@gnu.org>
2557
2558 * Source/NSThread.m: Implemented and documented new MacOS-X methods -
2559 ([-performSelectorOnMainThread:withObject:waitUntilDone:modes:])
2560 and ([-performSelectorOnMainThread:withObject:waitUntilDone:])
2561
2562 Wed Oct 30 03:14:34 2002 Nicola Pero <n.pero@mi.flashnet.it>
2563
2564 * Headers/gnustep/base/objc-load.h: Added copyright notice.
2565 (objc_get_symbol_path): Declare to take a Category *, not a struct
2566 objc_category *, argument; documented.
2567 * Source/objc-load.m: Include config.h first. Define _GNU_SOURCE
2568 if HAVE_DLADDR is defined.
2569 (objc_get_symbol_path): Fixed crash with classes or categories
2570 with long names. Updated declaration.
2571 * config/objc-sys-dynamic.m4 (OBJC_SYS_DYNAMIC_LINKER): Print a
2572 message displaying the type of dynamic linker found. Add -ldl on
2573 the link line for linux-gnu and other systems, so that dladdr() is
2574 actually found. With the 'simple' linker, print a message saying
2575 if we found dladdr() or not.
2576 (OBJC_SYS_DYNAMIC): Historical unused macro removed.
2577 * configure: Regenerated.
2578
2579 2002-10-28 Richard Frith-Macdonald <rfm@gnu.org>
2580
2581 * Source/NSFileManager.m: include statvfs.h if available.
2582
2583 2002-10-26 Adam Fedor <fedor@gnu.org>
2584
2585 * Source/NSException.m: Document.
2586 * Source/NSFileHandle.m: Partial Documentation.
2587 * Source/NSObject.m: Fix typo in docs.
2588
2589 2002-10-25 Mirko Viviani <mirko.viviani@rccr.cremona.it>
2590
2591 * Source/NSBundle.m ([NSBundle -load]): set _codeLoaded before loading
2592 the bundle.
2593
2594 2002-10-22 Richard Frith-Macdonald <rfm@gnu.org>
2595
2596 * Tools/AGSParser.m: Avoid duplication of method comments when
2597 parsing the same file as both header and source.
2598
2599 2002-10-22 Richard Frith-Macdonald <rfm@gnu.org>
2600
2601 * Tools/AGSOutput.m: ([-split:]) In links generated from class and
2602 method specifications in square brackets, place a space between the
2603 class and the method name.
2604 * Tools/gsdoc-1_0_0.dtd: Corrected minor entity errors.
2605
2606 2002-10-21 Adam Fedor <fedor@gnu.org>
2607
2608 * Headers/gnustep/unicode/thai.h: New file.
2609 * Headers/gnustep/base/NSString.h (_NSStringEncoding): Add
2610 NSISOThaiStringEncoding.
2611 * Source/NSString.m (-dataUsingEncoding:allowLossyConversion:):
2612 Handle it.
2613 * Source/Unicode.m (struct _strenc_ str_encoding_table[]): Idem.
2614 (GSEncodingForRegistry): Idem.
2615 (GSToUnicode, GSFromUnicode): Idem.
2616 (Patches, modified, from Banlu Kemiyatorn <id@project-ile.net>).
2617
2618 2002-10-21 Adam Fedor <fedor@gnu.org>
2619
2620 * Source/GSLocale.m (GSLanguageFromLocale): Implement regardless
2621 of HAVE_LOCALE_H.
2622
2623 * Source/Unicode.m (GSEncodingForRegistry): New (from
2624 [GSFontInfo +encodingForRegistry:encoding:]).
2625 (GSEncodingFromLocale): New.
2626 (GetDefEncoding): Rearrange encoding check.
2627 * Resources/Languages/Locale.encodings: New file.
2628
2629 2002-10-21 Adam Fedor <fedor@gnu.org>
2630
2631 * Documentation/coding-standards.texi: Update.
2632
2633 2002-10-14 Richard Frith-Macdonald <rfm@gnu.org>
2634
2635 Source/NSObject.m: Add ([-makeImmutableCopyOnFail:]) for use by methods
2636 wishing to return constant string/array/dictionary etc results after
2637 building them using mutable objects they created.
2638 Source/GSArray.m: Implement ([makeImmutableCopyOnFail:])
2639 Source/GSString.m: ditto
2640 Source/GSDictionary.m: ditto
2641 Source/GSSet.m: ditto
2642 Source/NSFileManager.m: Use it
2643
2644 2002-10-13 Mirko Viviani <mirko.viviani@rccr.cremona.it>
2645
2646 * Source/NSBundle.m ([NSBundle +_addFrameworkFromClass:]): remove
2647 the classes in the _loadingBundle that does not belong to it but with
2648 frameworks linked with it.
2649 ([NSBundle +bundleForClass:]): construct a list of NSFramework_*
2650 classes loaded with the bundle.
2651 ([NSBundle -load]): call _addFrameworkFromClass: for all linked
2652 frameworks with the bundle.
2653
2654 2002-10-13 Richard Frith-Macdonald <rfm@gnu.org>
2655
2656 * Tools/AGSHtml.m: Create automatic references to protocols in
2657 type specifications of the form (id<protocol1,protocol2,...>)
2658 * Tools/autogsdoc.m: Add -Files option to read names of files
2659 to process as a property list rather than using command line args.
2660 Add -Clean flag to remove generated output files and purge
2661 generated data from templates. Add -CleanTemplates to completely
2662 temove template files.
2663 * Tools/AGSParser.m: Warn about private methods and ivars.
2664
2665 2002-10-12 Richard Frith-Macdonald <rfm@gnu.org>
2666
2667 * Source/NSProcessInfo.m: Make safe to reinitialise with args.
2668 * Source/Additions/GSXML.m: Correct handling of atttribute values.
2669 * Tools/autogsdoc.m: Initialise NSProcessInfo explicitly.
2670
2671 2002-10-11 Richard Frith-Macdonald <rfm@gnu.org>
2672
2673 * Source/NSUserDefaults.m: ([-initWithContentsOfFile:]) check to see
2674 if the file is writable and the directory exists.
2675 If we can't operate properly, run in read-only ,mode where we try
2676 to read the file if possible, but never write defaults back.
2677
2678 2002-10-10 Richard Frith-Macdonald <rfm@gnu.org>
2679
2680 * Source/NSUserDefaults.m: ([-synchronize]) handle locking more
2681 carefully ... avoid cpu intensive busy loops and give up after
2682 a while.
2683
2684 2002-10-10 Richard Frith-Macdonald <rfm@gnu.org>
2685
2686 * Source/NSLog.m: Added GSPrintf()
2687 * Tools/defaults.m: Use GSPrintf()
2688 * Tools/pldes.m: ditto
2689 * Tools/plser.m: ditto
2690 * Tools/plmerge.m: ditto
2691 * Tools/plparse.m: ditto
2692 * Tools/sfparse.m: ditto
2693 * Documentation/Base.gsdoc: Bump gsdoc version to 1.0.0
2694 * Documentation/Functions.gsdoc: ditto
2695 * Documentation/TypesAndConstants.gsdoc: ditto
2696 * Source/NSLog.m: Fix typo in comment.
2697 * Tools/AGSOutput.m: Bump gsdoc version to 1.0.0
2698 * Tools/GNUmakefile: Add gsdoc 1.0.0 dtd
2699 * Tools/autogsdoc.m: Bump gsdoc version to 1.0.0
2700 * Tools/gsdoc-0_6_7.dtd: Revert to earlier version
2701 * Tools/gsdoc-1_0_0.dtd: New from latest update to 0.6.7
2702 I think the documentation dtd is pretty complete now.
2703
2704 2002-10-09 Richard Frith-Macdonald <rfm@gnu.org>
2705
2706 * Tools/GNUmakefile: revert ... can't build if base library isn't
2707 installed.
2708
2709 2002-10-09 Richard Frith-Macdonald <rfm@gnu.org>
2710
2711 * Source/NSLog.m: Lots of documentation added.
2712 * Tools/GNUmakefile: build autogsdoc documentation automatically
2713 if possible.
2714 * Tools/AGSOutput.m: Make automatic cross references for functions.
2715 * Source/Docmakefile: Use handcrafted template files. Document the
2716 path utilities file.
2717 * Documentation/Functions.gsdoc: Handcrafted template.
2718 * Documentation/TypesAndConstants.gsdoc: Handcrafted template.
2719
2720 2002-10-08 Richard Frith-Macdonald <rfm@gnu.org>
2721
2722 * Headers/Foundation/NSDebug.h: Make warn logs de-selectable at
2723 runtime by setting the NoWarn debug level. Document. Say that
2724 debug levels can be added by putting them in the GNU-Debug
2725 array in the defaults database.
2726 * Source/NSUserDefaults.m: Add contents of the GNU-Debug array to
2727 the set of active debug levels.
2728 * Tools/AGSParser.m: Updated with support for documenting macros.
2729 * Tools/AGSOutput.m: ditto
2730 * Tools/AGSHtml.m: ditto
2731
2732 2002-10-07 Richard Frith-Macdonald <rfm@gnu.org>
2733
2734 * Source/NSData.m: Update logging after checks for results of memory
2735 allocation.
2736 * Source/NSTimeZone.m: Don't abort on failure to allocate memory ...
2737 just print a log and continue returning a null pointer.
2738
2739 2002-10-06 Richard Frith-Macdonald <rfm@gnu.org>
2740
2741 * Source/NSData.m: readContentsOfFile() fix use of atomic memory
2742 on GC systems ... problem noticed by Fred.
2743
2744 Sat Oct 5 19:53:03 2002 Nicola Pero <n.pero@mi.flashnet.it>
2745
2746 * Source/NSData.m ([NSDataMappedFile
2747 -initWithContentsOfMappedFile:]): release self and return nil -
2748 rather than returning NO, if the path is bad.
2749
2750 2002-10-05 Richard Frith-Macdonald <rfm@gnu.org>
2751
2752 * Tools/AGSOutput.m: Improve warning code, support text output
2753 in chapter/section/subsection.
2754 * Tools/AGSParser.m: move concatenation of comments into a single
2755 method, make it insert a linebreak between concatenated comments,
2756 and make it refrain from appending the same comment onto itsself
2757 (which would happen if the same file was parsed twice, as both a
2758 header and as source).
2759 Treat the 'main()' function specially ... don't document it as a
2760 function but insert its comments at the end of the 'chapter' part
2761 of the output document. These modifications make it easy to
2762 document a directory containing tools, by listing the tool source
2763 files as arguments to autogsdoc.
2764 Tools/gsdoc_0_6_7.dtd: Fix bug preventing use of text in a chapter!
2765 * Source/GSString.m: Implement -UTF8String method for better
2766 performance.
2767 * Source/NSPortNameServer.m: Improve diagnostic message in exception
2768 when reporting failure to register ... try to provide all the info
2769 needed to begin diagnosing any problem.
2770 * Tools/gdomap.c: Make -M flag work with -N. Make -M flag work when
2771 used after -N or -L. Improve diagnostic messages on failure so
2772 people know what it is trying to do.
2773
2774 2002-10-04 Richard Frith-Macdonald <rfm@gnu.org>
2775
2776 * Source/NSArray.m: Tidied init from file to ensure that everything
2777 is released properly on failure, and we don't generate log messages
2778 where a lower level API should be doing it. Added some documentation.
2779 * Source/NSDictionary.m: ditto
2780 * Source/NSString.m: ditto. Also add support for understanding the
2781 unicode BOM at the start of UTF8 data and stripping it.
2782 * Source/NSData.m: Tidied read from and write to file,
2783 adding lots of logging information. Also documented quite a bit.
2784 Resolved all conflicts found with Adam's change ... generally in
2785 favor of the most informative logging.
2786 * Source/NSPortNameServer.m: On failure to register name, make
2787 exception message provide lots of detail/advice for newbies.
2788
2789 2002-10-03 Adam Fedor <fedor@gnu.org>
2790
2791 * Source/NSData.m (readContentsOfFile): Change NSDebugLog(s) to
2792 NSWarnLog or NSLog.
2793 (-writeToFile:atomically:): Idem.
2794 ([NSDataMappedFile -initWithContentsOfMappedFile:]): Idem.
2795 * Source/NSDictionary.m ([NSDictionary -initWithContentsOfFile:]):
2796 Release ourselves and return nil if file cannot be read.
2797
2798 2002-10-03 Richard Frith-Macdonald <rfm@gnu.org>
2799
2800 * Source/NSRunLoop.m: ([-runMode:beforeDate:]) permit the use of a
2801 nil date and document it. This is the behavior MacOS seems to have
2802 and seems to be more useful than prohibiting nil dates.
2803
2804 2002-10-02 Richard Frith-Macdonald <rfm@gnu.org>
2805
2806 * Source/NSDistributedLock.m: Document and tidy.
2807 * Source/NSTimeZone.m: Don't set system zone prematurely.
2808 * Source/NSString.m: Don't bother to cache constant string
2809 class. Document it.
2810
2811 2002-10-01 Adam Fedor <fedor@gnu.org>
2812
2813 * config/pathxml.m4: Filter -L/usr/lib out of XML_LIBS.
2814 * configure: Regenerate.
2815
2816 2002-10-01 02:21 Alexander Malmberg <alexander@malmberg.org>
2817
2818 * Source/NSUserDefaults.m (-synchronize): Handle lockDate being nil.
2819
2820 2002-09-30 Richard Frith-Macdonald <rfm@gnu.org>
2821
2822 * NSTimeZones/NSTimeZones.tar: Updated to latest information.
2823 * Source/NSCalendarDate.m: Tidy up a little.
2824 * Source/NSTimeZone.m: Rewrite main timezone code for performance -
2825 Roughly doubles speed of most NSCalendarDate stuff.
2826 * NSThread.m: Fix for single threaded operation ... suggested by
2827 Ludovic Marcotte.
2828
2829 2002-09-29 Richard Frith-Macdonald <rfm@gnu.org>
2830
2831 * Source/GSFileHandle.m: Encapsulate read and write operations in
2832 new low level methods to ease subclassing.
2833 * SSL/GSSSLHandle.m: Use new read and write methods to simplify.
2834
2835 2002-09-28 Richard Frith-Macdonald <rfm@gnu.org>
2836
2837 * Source/NSCalendarDate.m: Fix problem with signed/unsigned type
2838 conversion when initialising a date at a daylight savings time
2839 boundary, and attempt to improve the code for adding offsets to
2840 dates.
2841 * Source/Makefile.postamble: patch to fix some warnings in
2842 uninstall (by David Ayers).
2843
2844 2002-09-27 Richard Frith-Macdonald <rfm@gnu.org>
2845
2846 * Source/GSTcpPort.m: ([GSTcphandle+initialize]) ignore SIGPIPE in
2847 case a socket gets closed while we are writing.
2848
2849 2002-09-26 Richard Frith-Macdonald <rfm@gnu.org>
2850
2851 * Source/Additions/GSMime.m: Fix typo.
2852
2853 Thu Sep 26 01:28:33 2002 Nicola Pero <n.pero@mi.flashnet.it>
2854
2855 * Tools/make_strings/GNUmakefile: Do not include ctool.make.
2856
2857 2002-09-25 Richard Frith-Macdonald <rfm@gnu.org>
2858
2859 * Source/Additions/GSXML.m: Added ([-previousElement]) to match the
2860 [(-nextElement]) method.
2861
2862 Wed Sep 25 02:46:28 2002 Nicola Pero <n.pero@mi.flashnet.it>
2863
2864 * Tools/make_strings/make_strings.m (main): Remove "" languages
2865 from the list of languages before processing.
2866
2867 2002-09-24 Richard Frith-Macdonald <rfm@gnu.org>
2868
2869 * Source/GSTcpHandle.m: ([-handleForPort:beforeDate:]) fix bug where
2870 we could end up using the last (non-matching) handle rather than
2871 creating a new one.
2872
2873 2002-09-20 Richard Frith-Macdonald <rfm@gnu.org>
2874
2875 * Source/GSTcpHandle.m: ([-connectToPort:beforeDate:]) Added more
2876 informative logging for problem condition reported by Nicila ...
2877 perhaps it will help tracking down cause.
2878
2879 2002-09-19 Richard Frith-Macdonald <rfm@gnu.org>
2880
2881 * Source/GSFormat.m: Where a %p format prints a null pointer,
2882 print the text (null).
2883 * Source/GSTcpHandle.m: Check port for invalidation while looping
2884 on write events, so we can fail if we become invalid while sending
2885 or connecting, before the port timeout expires.
2886 * Source/NSConnection.m: Check connection for invalidation while
2887 looping waiting for a reply, so we can fail if we become invalid
2888 before the timeout expires.
2889 * Source/DocMakefile: Specify template options
2890 * Tools/autogsdoc.m: Remove hack to turn templates on by default.
2891 Document the use of templates.
2892 * Tools/gsdoc-0_6_7.dtd: Hack in more types for indexing ... don't
2893 know if the software works for them though.
2894
2895 2002-09-17 Richard Frith-Macdonald <rfm@gnu.org>
2896
2897 * Source/Unicode.m: Restructure conversion from unicode slightly,
2898 to make it clearer and more readable and to include handling of
2899 lossy conversions.
2900 * Headers/gnustep/unicode/gsm0338.h: Added table for lossy conversion
2901 from unicode.
2902
2903 2002-09-16 Richard Frith-Macdonald <rfm@gnu.org>
2904
2905 * Tools/AGSParser.m: Bugfix ... look for source files more
2906 intelligently. Try both current directory and relative to header.
2907 * Tools/AGSOutput.m: When creating template output file for functions
2908 etc because none was supplied, take account of the -Up flag and
2909 create an up link in it.
2910 * Source/GSHTTPURLHandle.m: If response parsing fails, fail the
2911 load operation and (conditionally when debug enabled) log an error.
2912
2913 2002-09-16 Richard Frith-Macdonald <rfm@gnu.org>
2914
2915 * Source/NSFileManager.m: Basic/dummy implementations of new MacOS-X
2916 methods added. Attribute handling totally rewritten to work in a lazy
2917 way ... so we only set up attribute info in the dictionary when we
2918 actually need it. Account 'Number' methods and dictionary keys changed
2919 to be account 'ID' instead ... in accordance with MacOS-X usage.
2920 Documented the class.
2921 * Source/NSData.m: ([-writeToFile:atomically:]) implement workaround
2922 for bug in windoze implementation of rename()
2923 * Source/NSString.m: Remove some redundant code duplicating stuff in
2924 GSMime.m
2925
2926 2002-09-15 Richard Frith-Macdonald <rfm@gnu.org>
2927
2928 * Source/NSFileManager.m: MacOS-X ([componentsToDisplayForPath:]) and
2929 ([displayNameAtPath:]) methods implemented. Creation date added.
2930 * Source/NSString.m: More alterations to GNUstep extension methods
2931 to make their names consistent with other methods.
2932 Q. Should we deprecate/remove them entirely?
2933 * Tools/gsdoc.m: Update for changes to extension methods... though
2934 this tool has been deprecated for some time now, so perhaps we
2935 should remove it?
2936
2937 2002-09-13 Adam Fedor <fedor@gnu.org>
2938
2939 * Source/cifframe.m (cifframe_guess_struct_size): Recurse if
2940 element contains structures.
2941 (cifframe_from_info): Alloc room for return value even if caller
2942 doesn't use it.
2943
2944 Thu Sep 12 11:02:03 2002 Nicola Pero <n.pero@mi.flashnet.it>
2945
2946 * Source/NSObject.m ([+_becomeMultiThreaded:]): Fixed typo - this
2947 method was declared to take a 'NSNotification' rather than a
2948 'NSNotification *' argument.
2949
2950 2002-09-10 Richard Frith-Macdonald <rfm@gnu.org>
2951
2952 * Source/GSLocale.m: Double locking check fix
2953 * Source/NSFileManager.m: Double locking check fix
2954 Fixes contributed by David Ayers <d.ayers@inode.at>
2955
2956 2002-09-08 Richard Frith-Macdonald <rfm@gnu.org>
2957
2958 * Headers/gnustep/base/GSIArray.h: Minor optimisation
2959 * Headers/gnustep/unicode/gsm0338.h: Correct unicode to gsm table
2960 * Source/Unicode.m: Correct gsm conversion and optimise unicode to
2961 8-bit charaacter conversion for other character sets. Also correct
2962 lossy/non-lossy conversion using iconv.
2963
2964 2002-08-30 Adam Fedor <fedor@gnu.org>
2965
2966 * Version: 1.5.0
2967
2968 2002-08-30 Richard Frith-Macdonald <rfm@gnu.org>
2969
2970 * Source/NSString.m: Implemented new MacOS-X methods -
2971 ([-stringByPaddingToLength:withString:startingAtIndex:]), and
2972 ([-stringByTrimmingCharactersInSet:])
2973 Tidied a couple of extension method names for consistency and
2974 documented several methods.
2975
2976 2002-08-29 Richard Frith-Macdonald <rfm@gnu.org>
2977
2978 * Source/Additions/GSXML.m: Get libxml to put filename in error
2979 messages when it is available.
2980
2981 2002-08-28 Richard Frith-Macdonald <rfm@gnu.org>
2982
2983 * Source/Unicode.m: Rewritten the way that iconv is used to decide
2984 upon the available encodings ... lazy evaluation so that we don't
2985 try to lookup an encoding until we have to. This should improve
2986 process startup time (especially in gdb) since the iconv operations
2987 seem to be very slow.
2988
2989 2002-08-27 Richard Frith-Macdonald <rfm@gnu.org>
2990
2991 * Source/Additions/GSXML.m: Integrated GSXPath code by Nicola Pero
2992 provides an API to use the xpath support built into libxml from
2993 version 2.3 onwards.
2994 * Source/NSThread.m: Implement new priority methods.
2995 * Source/NSObject.m: Raise exception when passed null selector.
2996
2997 2002-08-27 Richard Frith-Macdonald <rfm@gnu.org>
2998
2999 * Source/NSData.m: ([-writeToFile:atomically:]) Removed bogus line
3000 which deleted files when it shouldn't.
3001 Added new MacOS-X methods supporting NSData objects where the bytes
3002 are not owned by the data object. Removed GNUstep extension which
3003 provided this functionality before.
3004 * Source/NSUserDefaults.m: Use distributed lock to ensure that there
3005 is no possible window when the defaults file is invalid ... not all
3006 systems guarantee that the rename() system call is atomic.
3007 * Source/NSArray.m: New MacOS-X methods ([-initWithArray:copyItems:])
3008 ([-exchangeObjectAtIndex:withObjectAtIndex:])
3009 * Source/NSTimer.m: Update for compatibility with latest MacOS-X
3010 * Source/NSObject.m: New ([+isSubclassOfClass:]) and perform
3011 cancellation from MacOS-X
3012 * Source/NSRunloop.m: New perform cancellation method from MacOS-X
3013 proofreading help/fixes from David Ayers.
3014
3015 2002-08-25 Richard Frith-Macdonald <rfm@gnu.org>
3016
3017 * Source/WindowsFileHandle.m: Removed ... no longer used.
3018 * Source/GSHTTPURLHandle.m: Don't use getpid() ... not portable.
3019 * Tools/gdomap.c: Don't use getuid() under windoze.
3020
3021 2002-08-24 Richard Frith-Macdonald <rfm@gnu.org>
3022
3023 * Source/NSURL.m: ([-initFileURLWithPath:]) check to see if path is
3024 a directory and append a trailing slash if necessary. Remove hack
3025 to refrain from stripping last patch component in file URLs.
3026
3027 2002-08-24 Richard Frith-Macdonald <rfm@gnu.org>
3028
3029 * Source/NSURL.m: Hacks for compatibility with MacOS-X in returning
3030 path of a file URL ... the RFC says we should only return a path
3031 for a generic URL (scheme://user:passwd@host:port/path#frag?query)
3032 which a file URL certainly isn't. However, for compatibility we
3033 now treat a file URL more like a generic one.
3034 Also when creating absolute file URLs from base plus relative,
3035 the MacOS-X code doesn't strip the last path component of the
3036 base URL as it should ... we emulate that too.
3037
3038 2002-08-22 Richard Frith-Macdonald <rfm@gnu.org>
3039
3040 * Source/NSFileManager.m: Fix typo ... missing closing brace under
3041 windoze. Reported by Alex Stockdale.
3042
3043 2002-08-21 Richard Frith-Macdonald <rfm@gnu.org>
3044
3045 * Source/NSObject.m: ([-replacementObjectForPortCoder:])
3046 Documented method and removed unused/unwanted code dealing with
3047 NSDistantObject (NSDistantObject overrides the method).
3048
3049 2002-08-20 Alexander Malmberg <alexander@malmberg.org>
3050
3051 * Source/NSObject.m: Fix silly typo.
3052
3053 2002-08-20 Alexander Malmberg <alexander@malmberg.org>
3054
3055 * Source/NSConnection.m: (-removeProxy:) Remove unbalanced release.
3056
3057 2002-08-20 Richard Frith-Macdonald <rfm@gnu.org>
3058
3059 * Source/GSCountedSet.m:
3060 * Source/GSFileHandle.m:
3061 * Source/NSArchiver.m:
3062 * Source/NSData.m:
3063 * Source/NSDistributedNotificationCenter.m:
3064 * Source/NSHashTable.m:
3065 * Source/NSMapTable.m:
3066 * Source/NSObjCRuntime.m:
3067 * Source/NSObject.m:
3068 * Source/NSPortCoder.m:
3069 * Source/NSScanner.m:
3070 * Source/NSString.m:
3071 * Source/Unicode.m:
3072 * Source/UnixFileHandle.m:
3073 * Source/WindowsFileHandle.m:
3074 * Source/callframe.m:
3075 * Source/cifframe.m:
3076 * Source/mframe.m:
3077 Fix trivial typos and spelling errors pointed out by David Ayers.
3078
3079 2002-08-20 Richard Frith-Macdonald <rfm@gnu.org>
3080
3081 * Source/GSCountedSet.m:
3082 * Source/NSAutoreleasePool.m:
3083 * Source/NSCharacterSet.m:
3084 * Source/NSCountedSet.m:
3085 * Source/NSData.m:
3086 * Source/NSDebug.m:
3087 * Source/NSDictionary.m:
3088 * Source/NSFileHandle.m:
3089 * Source/NSLock.m:
3090 * Source/NSNull.m:
3091 * Source/NSNumber.m:
3092 * Source/NSObject.m:
3093 * Source/NSPipe.m:
3094 * Source/NSScanner.m:
3095 * Source/NSSerializer.m:
3096 * Source/NSSet.m:
3097 * Source/NSString.m:
3098 * Source/NSThread.m:
3099 * Source/NSTimeZone.m:
3100 * Source/Additions/GSMime.m:
3101 * Headers/gnustep/base/NSBundle.h:
3102 * Headers/gnustep/base/NSRange.h:
3103 * Headers/gnustep/base/NSSet.h:
3104 Modify comments to include gsdoc documentation for autogsdoc.
3105 This completes the transfer of all gsdoc documentation into
3106 the source code.
3107 * Documentation/gsdoc: All obsolete files removed.
3108
3109 2002-08-19 Richard Frith-Macdonald <rfm@gnu.org>
3110
3111 * Source/NSProxy.m: Documented all methods and corrected implementation
3112 of some introspection methods.
3113
3114 2002-08-16 Richard Frith-Macdonald <rfm@gnu.org>
3115
3116 * Source/Base.gsdoc: Moved to Documentation.
3117 * Source/GNUmakefile: Removed documentation building code.
3118 * Source/DocMakefile: New file for building refetrence documentation.
3119 * Documentation/Base.gsdoc: New from source directory.
3120 * Documentation/GNUmakefile: Set up installation directory name.
3121 * Documentation/Makefile.postamble: Use ../Source/DocMakefile to build
3122 library reference documentation and deal with installation.
3123
3124 2002-08-15 Adam Fedor <fedor@gnu.org>
3125
3126 * configure.ac: Add NetBSD header/ldflag support (Patch from
3127 Peter Cooper).
3128
3129 * Headers/gnustep/base/GNUstep.h: New compatibility file.
3130
3131 2002-08-15 Richard Frith-Macdonald <rfm@gnu.org>
3132
3133 * SSL/GNUmakefile: Added -lgnustep-base and -lobjc to SSL_BUNDLE_LIBS
3134 So that bundle is linked with a dependency on these libraries ... to
3135 ensure that dynamic linkage works when the bundle is loaded in from
3136 java via jigs.
3137
3138 2002-08-15 Adam Fedor <fedor@gnu.org>
3139
3140 * SSL/configure.ac: Simplified check for libraries. Added socket
3141 lib check for Solaris.
3142
3143 * Headers/gnustep/base/NSDecimalNumber.h: Add NSNumber category
3144 for decimalValue.
3145 * Source/NSDecimalNumber.m ([NSNumber -decimalValue]): Implemented.
3146
3147 2002-08-14 Richard Frith-Macdonald <rfm@gnu.org>
3148
3149 * Source/GSString.m: Allow 'true' as boolean value
3150 * Source/NSConcreteNumber.m: Output 'YES' as boolean in description.
3151 * Source/NSNotificationCenter.m: Fix dumb memory leak.
3152 * Source/NSNumber.m: Output 'YES' as boolean in description.
3153 * Source/NSUserDefaults.m: Set 'YES' as boolean string.
3154 * Headers/Foundation/NSObject.h: Fix v dumb memory leak.
3155 * Source/GSHTTPURLHandle.m: Append crlf to separate headers from body
3156 rather than just an lf.
3157 * SSL: Renamed SSL class and source file to reflect the fact
3158 that the code is not unix specific.
3159
3160 2002-08-11 Richard Frith-Macdonald <rfm@gnu.org>
3161
3162 * configure.ac: Check for libxml version 2.3.0 or greater to ensure
3163 we have xpath support.
3164 * Source/NSDecimalNumber.m: implement ([-getValue:]) and
3165 ([-initWithBytes:objCType:])
3166
3167 2002-08-09 Richard Frith-Macdonald <rfm@gnu.org>
3168
3169 * Source/NSNotificationCenter.m: ([-postNotification:]) Correct to
3170 post the actual notification we are given rather than a notification
3171 built from that one. Bug report by Alexander Malmberg.
3172
3173 2002-08-08 Richard Frith-Macdonald <rfm@gnu.org>
3174
3175 * Source/NSProcessInfo.m: ([-globallyUniqueString]) Ensure that the
3176 string contains no dots, so it can be used as a filename under
3177 windoze.
3178 * Source/Additions/GSXML.m ([GSXMLNode -setNamespace:]): Documented.
3179
3180 2002-08-07 Richard Frith-Macdonald <rfm@gnu.org>
3181
3182 * Source/NSString.m: ([-boolValue]) Accept 'true' as well as 'YES'
3183 * Source/NSThread.m: Modified to avoid using non-standard notification
3184 initialisation.
3185 * Source/NSNotification.m: Rewritten as abstract/cluster class for
3186 implementation compatibility with MacOS-X
3187 * Source/NSNotificationCenter.m: Modified posting to behave like the
3188 MacOS-X implementation. Implement concrete subclass of
3189 NSNotification.
3190 * Source/NSUserDefaults.m: Try to make creation of new defaults
3191 database an atomic operation.
3192 * Source/NSObject.m: Remove dealloc notifications hack ... the
3193 dealloc method can now safely be used to refrain from deallocating
3194 objects, so I don't think the hack is needed any more.
3195 * Source/NSProcessInfo.m: ([-globallyUniqueString]) Update to ensure
3196 uniqueness across all hosts, processes, and threads.
3197 * Tools/gdomap.c: Tidyup patch by Matthias Klose
3198
3199 2002-07-29 Adam Fedor <fedor@gnu.org>
3200
3201 * Merge changes from 1.4.0 onto main branch.
3202
3203 2002-07-09 Richard Frith-Macdonald <rfm@gnu.org>
3204
3205 * Source/GSTcpHandle.m: Always use runloop in NSConnectionReplyMode
3206 to avoid other NSDefaultRunLoopMode events being triggered while
3207 executing a DO method. **EXPERIMENTAL**
3208
3209 2002-08-06 Adam Fedor <fedor@gnu.org>
3210
3211 * Source/NSString.m (-getLineStart:end:contentsEnd:forRange:):
3212 Change location of start of end char search (Patch from Pete
3213 French).
3214
3215 2002-07-27 Adam Fedor <fedor@gnu.org>
3216
3217 * Version: 1.4.0
3218
3219 2002-07-23 Adam Fedor <fedor@gnu.org>
3220
3221 * Source/NSInvocation.m ([GSFrameInvocation
3222 -initWithMethodSignature:]): Return nil if signature is nil.
3223 * Source/GSFFCallInvocation.m (-initWithMethodSignature:): Idem.
3224 * Source/GSFFIInvocation (-initWithMethodSignature:): Idem.
3225
3226 2002-07-20 Adam Fedor <fedor@gnu.org>
3227
3228 * Source/NSDecimal.m: ifdef for compiling on Darwin (report
3229 from Carl Eugen).
3230 * Source/NSInvocation.m ([-initWithSelector:): Rewrite to use
3231 designated initializer.
3232 (-initWithTarget:selector:): Idem.
3233
3234 2002-07-18 Adam Fedor <fedor@gnu.org>
3235
3236 * Tools/gdomap.c (main): Write the pidfile before switching away
3237 from root, but only if the user is root.
3238
3239 2002-07-17 Adam Fedor <fedor@gnu.org>
3240
3241 * Source/NSString.m (-getLineStart:end:contentsEnd:forRange:): Fix
3242 lineEnd and contentEnd check for \r\n (particularly at end of
3243 string.
3244
3245 Tue Jul 16 16:43:59 2002 Nicola Pero <n.pero@mi.flashnet.it>
3246
3247 * Headers/gnustep/base/GSXML.h ([GSXMLNode -setNamespace:]): Added
3248 missing method essential to use namespaces.
3249 * Source/Additions/GSXML.m ([GSXMLNode -setNamespace:]): Implemented.
3250
3251 2002-07-08 Richard Frith-Macdonald <rfm@gnu.org>
3252
3253 * Source/NSFileManager.m: Don't standardise path before converting to
3254 filesystem representation.
3255 * Tools/gdomap.c: Security enhancement - call setgroups().
3256
3257 2002-07-03 Adam Fedor <fedor@gnu.org>
3258
3259 * Version: 1.3.4
3260 * configure.ac: Remove warning about libffi
3261 * Documentation/news.texi: Update.
3262
3263 2002-07-03 Richard Frith-Macdonald <rfm@gnu.org>
3264
3265 * Source/Additions/GSMime.m: Ensure mime-version header appears
3266 before other headers. Fix bug in terminatimg mime data.
3267
3268 2002-07-02 Richard Frith-Macdonald <rfm@gnu.org>
3269
3270 * Tools/gdomap.c: Don't write to pidfile until *after* setuid away
3271 from root. Bug reported by James Kehl <mkehl@gil.com.au>
3272
3273 2002-07-01 Richard Frith-Macdonald <rfm@gnu.org>
3274
3275 * Source/Additions/GSMime.m: Correct test for multipart content when
3276 generating raw data. Fix by Mark Allison <mark@brainstorm.co.uk>
3277
3278 2002-06-30 Richard Frith-Macdonald <rfm@gnu.org>
3279
3280 * Headers/gnustep/base/GSFileHandle.h: New version of UnixFileHandle
3281 for combined unix/windoze use.
3282 * Source/GSFileHandle.m: New combined unix/windows implementation.
3283 * Source/NSFileHandle.m: Use GSFileHandle.
3284 * Source/GNUMakefile: Build GSFileHandle.
3285 * SSL/GSUnixSSLHandle.m: Update for combined GSFileHandle
3286
3287 2002-06-29 Richard Frith-Macdonald <rfm@gnu.org>
3288
3289 * Source/NSObject.m: ([-respondsToSelector:]) handle nul selectors.
3290 Bug report by Andy Ruder <aeruder@yahoo.com>
3291
3292 2002-06-28 Richard Frith-Macdonald <rfm@gnu.org>
3293
3294 * Source/NSString.m: Change to quote strings in plist output
3295 aggressively (quote characters that don't really need quoting)
3296 while still parsing flexibly ... ie handle unquoted strings as
3297 long as they don't contain 'special' characters.
3298 Fix for Tom Hageman <th@xs4all.nl>
3299
3300 2002-06-27 Richard Frith-Macdonald <rfm@gnu.org>
3301
3302 * Tools/AGSParser.m: ([-parseDeclaration:]) Correct wrongly
3303 positioned autorelease pool in last change. Hope that's the only
3304 one.
3305
3306 Wed Jun 26 15:32:36 2002 Nicola Pero <n.pero@mi.flashnet.it>
3307
3308 * base.make.in (OBJC_LIBS): Don't add -lobjc_gc -lgc for gc=yes,
3309 now should be done by gnustep-make automatically.
3310
3311 Tue Jun 25 13:31:12 2002 Nicola Pero <n.pero@mi.flashnet.it>
3312
3313 * Tools/AGSHtml.m: Tidy up autorelease pool macros so that it
3314 compiles with gc=yes and old compilers.
3315 * Tools/AGSParser.m: Idem.
3316 * Tools/AGSOutput.m: Idem.
3317 * Tools/HTMLLinker.m: Idem.
3318 * Tools/autogsdoc.m: Idem.
3319 * Tools/gdnc.m: Idem.
3320 * Tools/gsdoc.m: Idem.
3321 * Tools/make_strings/make_strings.m: Idem.
3322
3323 Tue Jun 25 13:13:00 2002 Nicola Pero <n.pero@mi.flashnet.it>
3324
3325 * Source/Additions/GSMime.m ([-rawMimeData:]): Create the
3326 autorelease pool after the other variables, so that it compiles
3327 with gc=yes and gcc < 3.x.
3328 * Source/NSLog.m (NSLogv): Idem.
3329
3330 2002-06-23 Richard Frith-Macdonald <rfm@gnu.org>
3331
3332 * Headers/Foundation/NSFileHandle.h: add async read of specific length.
3333 * Source/NSFileHandle.m: Make the async wconvenience methods call
3334 the core ones.
3335 * Source/UnixFileHandle.m: Remove async convenience methods and add
3336 one to read specified length of data.
3337
3338 2002-06-21 Richard Frith-Macdonald <rfm@gnu.org>
3339
3340 * Source/GSMime.m: add a few consistency checks to raise an exception
3341 if we try to unparse a GSMimeDocument with inconsistent headers and
3342 content.
3343
3344 2002-06-19 Adam Fedor <fedor@gnu.org>
3345
3346 * Source/GSLocale.m (GSSetLocaleC): Only set locale for LC_CTYPE.
3347
3348 2002-06-18 Richard Frith-Macdonald <rfm@gnu.org>
3349
3350 * Source/NSURL.m: Cope with a URL where the path is missing.
3351 Check user, password, host, port parts for illegal characters.
3352 Thanks to bug report by Marco Manfredini <mldb@gmx.org>
3353 * Source/GSMime.m: add convenience method for setting document type.
3354 Fix error in recent change to base64 encoding.
3355
3356 2002-06-17 Richard Frith-Macdonald <rfm@gnu.org>
3357
3358 * Source/NSTimer.m: Retain target and user info on initialisation
3359 Release them on invalidation. Ensure timer is invalidated on
3360 deallocation. Documented timer methods.
3361 Changes based on bug report by Andy Ruder <aeruder@yahoo.com>
3362 * Source/NSURL.m: Fixed one possible nul pointer indirection,
3363 and added some comments about the internal data structure.
3364 Handle percentage escape sequences in user, password, host and port
3365 even though MacOS-X only seems to do it for the user name and host.
3366 * Tools/plmerge.m: Fixed some crasher bugs where given bad arguments.
3367
3368 2002-06-16 Richard Frith-Macdonald <rfm@gnu.org>
3369
3370 * Source/GSFTPURLHandle.m: simple implementation added
3371 * Source/NSURLHandle.m: Register GSFTPURLHandle for ftp scheme.
3372 * Source/GSHTTPURLHandle.m: modified so that data being read is
3373 reported periodically during the read proces rather than just at end.
3374
3375 2002-06-15 Adam Fedor <fedor@gnu.org>
3376
3377 * Source/NSProcessInfo.m: Include sys/fcntl for Solaris.
3378
3379 2002-06-14 Richard Frith-Macdonald <rfm@gnu.org>
3380
3381 * config/pathxml.m4: Adjust path to headers.
3382 * Tools/gsdoc.m: Adjust path to headers. Add warning about
3383 deprecation.
3384 Patch by e.sammer <eric@linuxstep.org>
3385 * Source/NSObject.m: Added some compatibility methods in a
3386 categpory of Object.
3387 * Source/Additions/GSMime.m: Add a couple of convenience methods.
3388 * Source/GSHTTPURLHandle.m: Use one of them.
3389 * SSL/Makefile.postample: on distclean, don't need to delete
3390 bundle, but do delete config.h explicitly.
3391
3392 2002-06-13 Richard Frith-Macdonald <rfm@gnu.org>
3393
3394 * Source/Additions/GSXML.m: Include NSInvocation.h to avoid
3395 compiler warning.
3396
3397 2002-06-12 Richard Frith-Macdonald <rfm@gnu.org>
3398
3399 * Source/NSObject.m: Fix a few errors which crept in to the map
3400 table based reference counting.
3401 * Examples/GNUmakefile: Permit local makefile to be missing.
3402 * Source/UnixFileHandle.m: Added outgoing SOCKS5 support.
3403 * Source/NSFileHandle.m: Added SOCKS5 documentation.
3404 * Source/Base/gsdoc: Dopcumented SOCKS enironemnet variables and defs.
3405 * Source/NSNotification.m: Made -description more informative.
3406 * Testing/call.m: Trivial test program for tcp connections.
3407 * SSL/GSUnixSSLHandle.m: Updated for socks.
3408 * Additions/GSMime.m: Utilites to encode/decode base64
3409 * Source/GSHTTPURLHandle.m: Use encoding.
3410
3411 2002-06-10 Richard Frith-Macdonald <rfm@gnu.org>
3412
3413 * Source/UnixFileHandle.m: Avoid some unnecessary autoreleases.
3414
3415 2002-06-09 Richard Frith-Macdonald <rfm@gnu.org>
3416
3417 * Source/NSObject.m: Implemented and documented -className
3418 * Tools/AGSOutput.m: When Verbose = YES log all documentable
3419 entities for which no comment text was found.
3420 * Source/NSException.m: Added NSParseErrorException and tidied other
3421 general exceptions.
3422 * Source/extern.m: Removed generic exceptions ... now in NSException.m
3423
3424 2002-06-06 Adam Fedor <fedor@gnu.org>
3425
3426 * Source/cifframe.m (cifframe_from_info): Set value locations
3427 after prepping cifframe.
3428
3429 2002-06-06 Richard Frith-Macdonald <rfm@gnu.org>
3430
3431 * Source/NSLog.m: patch by Jeff Teunissen to avoid adding date/time
3432 info when using syslog.
3433 * Source/NSURL.m: Fix loading codde to set self as client of handle.
3434 * Tools/AGSParser.m: Fix to avoid warnings about unimplemented protocols
3435 * Headers/gnustep/base/GSXML.h:
3436 * Headers/gnustep/base/NSArchiver.h:
3437 * Headers/gnustep/base/NSAutoreleasePool.h:
3438 * Headers/gnustep/base/NSCoder.h:
3439 * Headers/gnustep/base/NSDictionary.h:
3440 * Headers/gnustep/base/NSFileHandle.h:
3441 * Headers/gnustep/base/NSNotification.h:
3442 * Headers/gnustep/base/NSRunLoop.h:
3443 * Headers/gnustep/base/NSURL.h:
3444 * Headers/gnustep/base/NSURLHandle.h:
3445 * Source/GSHTTPURLHandle.m:
3446 * Source/NSArray.m:
3447 * Source/NSCoder.m:
3448 * Source/NSFileHandle.m:
3449 * Source/NSNotification.m:
3450 * Source/NSRunLoop.m:
3451 * Source/NSURLHandle.m:
3452 * Source/NSUnarchiver.m:
3453 * Source/externs.m:
3454 * Source/Additions/GSXML.m:
3455 Tidied for documentation purposes ... no substantial code changes
3456
3457 Wed Jun 5 17:46:47 2002 Nicola Pero <n.pero@mi.flashnet.it>
3458
3459 * Source/NSLog.m (_NSLog_standard_printf_handler): Fixed
3460 syslogging of strings: add a NULL at the end of strings before
3461 feeding them to syslog.
3462
3463 2002-06-05 Richard Frith-Macdonald <rfm@gnu.org>
3464
3465 * Headers/Foundation/NSURL.h: Added a couple of ivars and removed
3466 non-standard methods.
3467 * Source/NSURL.m: Rewrite everything apart from the code dealing
3468 with NSURLHandle objects (and change some of that) to conform to
3469 the documentation (I hope) and to try to match behavior with that
3470 of MacOS-X.
3471
3472 2002-06-04 Adam Fedor <fedor@gnu.org>
3473
3474 * Headers/gnustep/base/NSByteOrder.h: Hack for bug in gcc 3.1
3475 * Source/externs.m (_gcc3_1_hack): Idem. (modified patch from
3476 benhur@inf.ufsm.br).
3477
3478 * Source/GSFFIInvocation.m (gs_objc_msg_forward): Alloc closure
3479 with fastMallocBuffer.
3480
3481 * Documentation/coding-standards.texi: Update.
3482
3483 2002-06-02 Richard Frith-Macdonald <rfm@gnu.org>
3484
3485 * Headers/Foundation/NSObject.h: Removed ([_dealloc]),
3486 ([-deallocNotificationsActive]), ([setDeallocNotificationsActive:])
3487 * Source/NSObject.m: Removed ([_dealloc]),
3488 ([-deallocNotificationsActive]), ([setDeallocNotificationsActive:])
3489 as these methods are no longer necessary now that the dealloc method
3490 itsself is able to refrain from performing deallocation if if wishes
3491 (the retain count mechanism can no longer reach a zero retain count).
3492
3493 2002-06-01 Richard Frith-Macdonald <rfm@gnu.org>
3494
3495 * Source/NSObject.m: Change NSDecrementExtraRefCountWasZero() to
3496 refrain from decrementing when the count is zero. Documented
3497 the retain/release/retainCount methods (and others).
3498 * Headers/Foundation/NSObject.h: Documented extra ref count functions.
3499
3500 2002-05-28 Richard Frith-Macdonald <rfm@gnu.org>
3501
3502 * Source/NSObject.m: Change order of zombie initialisation for
3503 darwin port.
3504
3505 2002-05-28 Richard Frith-Macdonald <rfm@gnu.org>
3506
3507 * Headers/gnustep/base/GSMime.h: Make set... methods return void.
3508 * Source//GSMime.m: Make set... methods return void. Also fix
3509 parsing to use different 'specials' for HTTP and MIME
3510 * Headers/gnustep/base/GSIMap.h:
3511 * Headers/gnustep/base/NSHashTable.h:
3512 * Headers/gnustep/base/NSMapTable.h:
3513 * Source/GSArray.m:
3514 * Source/GSSet.m:
3515 * Source/GSTcpPort.m:
3516 * Source/NSBundle.m:
3517 * Source/NSConnection.m:
3518 * Source/NSData.m:
3519 * Source/NSHashTable.m:
3520 * Source/NSMapTable.m:
3521 * Source/NSObject.m:
3522 * Source/NSRunLoop.m:
3523 Applied patches by James Knight, to improve memory efficiency and
3524 insertion.deletion speed to hash and map tables. Also fixes for
3525 some GC problems.
3526 Fixed minor problem in patch, and added code to call functions to
3527 clean up after hash and map enumerations. Modified cleanup function
3528 to clear enumerator ... for memory release on GC system.
3529 Rewrote enumeration code so that it maintains the characteristic
3530 that objects can safely be removed from maps after being enumerated
3531 (this feature is used in several places).
3532 *WARNING* This introduces a binary incompatibility in that the size
3533 of the map table and hash table enumeration types has grown.
3534 If you have binaries which use the NSEnumerateHashTable() or the
3535 NSEnumeratemapTable() functions, you need to rebuild them.
3536
3537 2002-05-27 Richard Frith-Macdonald <rfm@gnu.org>
3538
3539 * Headers/Foundation/GSMime.h: Tidy up and add convenience methods.
3540 * Source/Additions/GSMime.m: Tidy up and add convenience methods.
3541 Added methods to convert content between string and data for ease
3542 of use from java. Added support for most character sets handled
3543 by GNUstep-base. Improved ContentID generation to be both unlikely
3544 to recur, and to be guaranteed unique within a process.
3545 * Source/NSBundle.m: ([+allBundles]) Don't enumeraste if map table
3546 has not been created yet.
3547 * Source/NSLog.m: Allow output descriptor to be changed.
3548 * Source/NSProcessInfo.m: Add method to change log output to go to
3549 another file for applications where stderr has been hijacked.
3550
3551 2002-05-26 Fred Kiefer <FredKiefer@gmx.de>
3552
3553 * Source/Additions/GSXML.m
3554 Define GSXMLAttribute in the case when libxml is found.
3555 Otherwise it wont compile on MS Windows.
3556
3557 2002-05-26 Richard Frith-Macdonald <rfm@gnu.org>
3558
3559 * Headers/Foundation/GSMime.h: Add GSMimeHeader class.
3560 * Source/Additions/GSMime.m: Add GSMimeHeader class.
3561 Update API to use GSMimeheaders rather than dictionaries.
3562
3563 2002-05-23 Richard Frith-Macdonald <rfm@gnu.org>
3564
3565 * Source/Additions/GSXML.m: Fix a few errors in last changes.
3566 * Source/NSString.m: Updates for GSXML changes.
3567 * Tools/AGSHtml.m: Updates for GSXML changes.
3568 * Tools/AGSIndex.m: Updates for GSXML changes.
3569
3570 2002-05-22 Richard Frith-Macdonald <rfm@gnu.org>
3571
3572 * Headers/gnustep/base/GSXML.h: Add _parent ivars
3573 * Source/Additions/GSXML.m: Implement memory mangement so that the
3574 underlying libxml data is not freed unless all objects derived from
3575 it have been deallocated. Remove comments warning about original
3576 memory management scheme.
3577
3578 2002-05-22 Richard Frith-Macdonald <rfm@gnu.org>
3579
3580 * Source/GSeq.h: Fix bug matching sequences with zero length range.
3581 * Headers/gnustep/base/GSMime.h: Tell autogsdoc where to look for source
3582 * Headers/gnustep/base/GSXML.h: Updates for consistency etc.
3583 * Source/Additions/GSXML.m: ditto
3584 * Tools/AGSHtml.m: Modified for changed GSXML
3585 * Tools/AGSIndex.m: ditto
3586 * Tools/AGSParser.m: ditto
3587 * Tools/autogsdoc.m: ditto
3588 * Tools/defaults.m: Fixed typo
3589 Mostly, changes to make methods which were intended to be private
3590 really private, and lots of modifications to make mathod names
3591 consistent with OpenStep usage ... suggestions made by many people.
3592 * configure.ac: Use better names for GMP and ZLIB flags
3593 * configure: regenerate
3594 * Headers/gnustep/base/GSConfig.h.in: GMP and ZLIB update
3595 * Headers/gnustep/base/NSDecimal.h: GMP update
3596 * Headers/gnustep/base/UnixFileHandle.h: ZLIB update
3597 * Source/NSDecimal.m: GMP update
3598 * Source/UnixFileHandle.m: ZLIB update
3599
3600 2002-05-15 Richard Frith-Macdonald <rfm@gnu.org>
3601
3602 * Source/NSLog.m: Altered logging format for compatibility with
3603 MacOS-X (and easier collating). Thanks to report by lcampbell
3604
3605 2002-05-14 Richard Frith-Macdonald <rfm@gnu.org>
3606
3607 * Source/Unicode.m: GSFromUnicode(), GSToUnicode(), bugfix - ensure
3608 that returned memory is allocated from specified zone, rather than
3609 returning internal buffer.
3610 * Tools/AGSIndex.m: When a string missmatch is found when merging,
3611 update the output to the new string as well as warning.
3612 * Tools/autogsdoc.m: Don't automatically include refs to installed
3613 copies of the project being documented.
3614
3615 2002-05-13 Richard Frith-Macdonald <rfm@gnu.org>
3616
3617 * Source/NSFileManager.m: Don't try to release memory using free()
3618 when it was allocated using NSZoneMalloc().
3619 * Tools/autogsdoc.m: Improve dependency rule management.
3620 * Tools/AGSParser.h: ditto
3621 * Tools/AGSParser.m: ditto
3622 * Tools/AGSIndex.h: ditto
3623 * Tools/AGSIndex.m: ditto
3624 Store all dependency information in the .igsdoc file and keep it up
3625 to date. Never regenerate a file that doesn't need it.
3626 Mostly the changes are to cope with the fact that we now have
3627 common files into which all functions, constants, variables, and
3628 typedefs within a project are combined.
3629
3630 2002-05-11 Richard Frith-Macdonald <rfm@gnu.org>
3631
3632 * Source/Unicode.m: Rationalise so that all conversion operations
3633 go through the two new functions. Gets rid of a load of old code.
3634 * Source/GSString.m: ([-replaceCharactersInRange:withString:])
3635 minor performance enhancement when copying from a 16-bit string
3636 to an 8-bit string.
3637
3638 2002-05-10 Adam Fedor <fedor@gnu.org>
3639
3640 * Source/Additions/GSXML.m: Change libxml strings to UTF8
3641 (makeText:) New.
3642 Add GSXMLDummy for MinGW
3643 * Source/Additions/libgnustep-base.def: Remove GSXMLHandler.
3644 (patch from Kai Henningsen).
3645
3646 2002-05-10 Richard Frith-Macdonald <rfm@gnu.org>
3647
3648 * Tools/gdnc.m: Make gdnc log to syslog by default, and close
3649 stdin, stdout, stderr to run as daemon.
3650 * Source/NSUser.m: Restructured path generation code slightly.
3651 Added support for system-wide .GNUsteprc with force options.
3652 Removed use of FORCE_USER_ROOT and FORCE_DEFAULTS_ROOT
3653 * Source/Base/gsdoc: Document the .GNUsteprc files.
3654 * Source/NSArray.m: Fix bug with GC pointed out by James Knight
3655
3656 2002-05-09 Richard Frith-Macdonald <rfm@gnu.org>
3657
3658 * Source/GSHTTPURLHandle.m: Insert port information to URL passed
3659 to proxy.
3660
3661 2002-05-09 Fred Kiefer <FredKiefer@gmx.de>
3662
3663 * Source/NSBundle.m
3664 Use fileSystemRepresentation instead of cString to get the file
3665 name to load.
3666
3667 2002-05-08 Richard Frith-Macdonald <rfm@gnu.org>
3668
3669 * Source/NSTask.m: When launching under windoze, don't forget to
3670 use the fileSystemRepresentation of the program name.
3671
3672 2002-05-08 Richard Frith-Macdonald <rfm@gnu.org>
3673
3674 * Source/Additions/GSXML.m: Fix function prototype ... gets rid of
3675 compiler warning.
3676 * Source/GNUmakefile: remove o_vscanf.c ... unused
3677 * Source/o_vscanf.c: remove unused file.
3678 * Source/mframe.m: Fix compiler warning about unused function.
3679 * Source/GSFormat.m: Fix compiler warning about unused var.
3680 * Source/NSDebug.m: Fix compiler warning about unused var.
3681 * Source/externs.m: Fix compiler warnings ... move some exceptions
3682 to source files relating to where they are declared.
3683 * Source/NSArchiver.m: define exception.
3684 * Source/NSConnection.m: define exception.
3685 * Source/NSPort.m: define exception.
3686 * Tools/gdomap.c: Remove unused variable (log_perror).
3687
3688 2002-05-07 Adam Fedor <fedor@gnu.org>
3689
3690 * configure.ac: Make all AC_DEFINES define 1
3691 * config/objc-con-autoload.m4: Idem.
3692 * config/objc-sys-dynamic.m4: Idem.
3693
3694 2002-05-07 Richard Frith-Macdonald <rfm@gnu.org>
3695
3696 * Source/NSUser.m: mingw path fixes and debugging
3697 * Source/NSFileManager.m: ditto
3698
3699 2002-05-06 Adam Fedor <fedor@gnu.org>
3700
3701 * Source/NSMethodSignature.m (-isEqual:): Implemented (from
3702 znek@mulle-kybernetik.com).
3703
3704 2002-05-06 Richard Frith-Macdonald <rfm@gnu.org>
3705
3706 * Source/NSMapTable.m: Delete line teft over by accident ... could
3707 cause crach if passes nul table. Thanks to Lars Sonchocky-Helldorf
3708 * Source/NSCalendarDate.m: ([-initWithString:calendarFormat:]) don't
3709 supply current date information as default ... for compatibility
3710 with MacOS-X use zero date instead. Thanks to lcampbell.
3711
3712 2002-05-04 Adam Fedor <fedor@gnu.org>
3713
3714 * Testing/nsbundle.m: Update to work without installing bundle.
3715
3716 2002-05-04 Richard Frith-Macdonald <rfm@gnu.org>
3717
3718 * Source/NSUser.m: NSHomeDirectoryForUser() ... fix windoze bug ...
3719 was returning the current users home directory irrespective of the
3720 user asked for. Now returns nil for other users ... should really
3721 find some mechanism to determine home directories for other users.
3722 * Source/Additions/GSXML.m: If ([_parseChunk:]) is called with nil
3723 data, terminate parsing. Report by Alexander Malmberg.
3724
3725 2002-05-03 Richard Frith-Macdonald <rfm@gnu.org>
3726
3727 * Source/NSAssertion.m: Added comments and fixed bug in handling
3728 an assertion in a function ... was calling va_end() before the last
3729 use of the arguments. Also, release new handler after adding it to
3730 thread dictionary ... fix memory leak.
3731 * Source/NSThread.m: Add fprintf of alert message to STDERR if we
3732 are unable to determine the current thread. Don't attempt to use
3733 NSLog() or similar ... since chances are, without a thread object,
3734 that would just crash.
3735 In GSRegisterCurrentThread(), add code to handle the case where the
3736 NSThread class has not been initialised.
3737 * Source/NSObject.m: NSAllocateObject() raise exception if passed
3738 something other than a class to allocate an instance of.
3739
3740 2002-05-02 Richard Frith-Macdonald <rfm@gnu.org>
3741
3742 * SSL/GSUnixSSLHandle.m: Change '#if HAVE...' to '#ifdef HAVE_...'
3743 * Source/GSFormat.m: ditto
3744 * Source/GSHTTPURLHandle.m: ditto
3745 * Source/GSTcpPort.m: ditto
3746 * Source/NSBundle.m: ditto
3747 * Source/NSData.m: ditto
3748 * Source/NSDate.m: ditto
3749 * Source/NSFileManager.m: ditto
3750 * Source/NSHost.m: ditto
3751 * Source/NSLock.m: ditto
3752 * Source/NSLog.m: ditto
3753 * Source/NSPage.m: ditto
3754 * Source/NSPipe.m: ditto
3755 * Source/NSProcessInfo.m: ditto
3756 * Source/NSRunLoop.m: ditto
3757 * Source/NSString.m: ditto
3758 * Source/NSTask.m: ditto
3759 * Source/NSThread.m: ditto
3760 * Source/NSUser.m: ditto
3761 * Source/UnixFileHandle.m: ditto
3762 * Source/WindowsFileHandle.m: ditto
3763 * Tools/gsdoc.m: ditto
3764 * Tools/autogsdoc.m: ditto
3765 Fixes to handle configuration changes where AC_DEFINE is setting
3766 preprocessor constants to be empty (but defined) rather than to be 1
3767
3768 2002-05-02 Adam Fedor <fedor@gnu.org>
3769
3770 * configure.ac: Updated to autoconf 2.53 from configure.in
3771 * configure, config.h.in: Regenerate.
3772 * Source/mframe/configure.ac: Idem.
3773 * SSL/configure.ac: Idem.
3774 * acconfig.h, aclocal.m4: Remove
3775 * config/pathxml.m4: New from aclocal.m4.
3776 * config/objc-con-autoload.m4: Updated from aclocal.m4
3777 * config/procfs-exe-link.m4: Idem.
3778 * config/procfs.m4: Idem.
3779
3780 2002-05-02 Richard Frith-Macdonald <rfm@gnu.org>
3781
3782 * Source/NSURLHandle.m: Implement ([-hash]) and ([-isEqual:]) based on
3783 ([-absoluteString]) rather than simple pointer comparison.
3784 * Source/GSHTTPURLHandle.m: ([-bgdConnect]) check for existing
3785 headers before writing ... avoid overriding them and only set things
3786 that the programmer has not bothered to set.
3787 ([-loadInBackGround]) use URL port if available.
3788 More fixes thanks to lcampbel via savannah
3789 * Headers/Foundation/NSURLHanlde.h: include NSObject.h
3790 * Source/UnixFileHadle.h: add missing semicolon thanks to Paul Windey
3791
3792 2002-05-01 Richard Frith-Macdonald <rfm@gnu.org>
3793
3794 * Source/NSURLHandle.m: ([URLHandleClassForURL:]) Fix to return most
3795 recently registered class rather than first registered one.
3796 Bug report via savannah
3797
3798 2002-04-30 Adam Fedor <fedor@gnu.org>
3799
3800 * Version: 1.3.2
3801 * Documentation/news.texi: Update.
3802 * NEWS Regen.
3803
3804 2002-04-29 Richard Frith-Macdonald <rfm@gnu.org>
3805
3806 * Source/NSFileManager.m: Standardise handling for windoze drive
3807 specifiers in file paths.
3808 * Source/NSUser.m: Use ([-stringWithFileSystemRepresentation:length:])
3809 when importing file names.
3810 * Source/NSString.m: Update all path handling methods for windoze
3811 changes. Fix several bugs where we did not conform to documentation.
3812
3813 2002-04-28 Richard Frith-Macdonald <rfm@gnu.org>
3814
3815 * Source/NSFileManager.m: Port
3816 ([-stringWithFileSystemRepresentation:length:]) to windoze...
3817 Have it convert backslashes to slashes etc.
3818
3819 2002-04-25 Richard Frith-Macdonald <rfm@gnu.org>
3820
3821 * Tools/AGSParser.m: Improve handling of identifier mapping so that
3822 an identifier mapped to an empty string (or //) an any place where
3823 whitespace is permissable is treated as part of that white space.
3824
3825 2002-04-25 Richard Frith-Macdonald <rfm@gnu.org>
3826
3827 * Tools/AGSParser.m: Interpret a mapping to '//' in the WordMap as
3828 meaning that the rest of the line containing the mapped value
3829 should be ignored.
3830
3831 2002-04-24 Gregory John Casamento <greg_casamento@yahoo.com>
3832
3833 * Tools/make_strings/GNUmakefile - modified to prevent build
3834 error when building from scratch
3835 * Tools/make_strings/GNUmakefile.preamble - added to provide
3836 paths to include and lib directories for linking make_strings
3837 tool when building from scratch.
3838
3839 2002-04-23 Adam Fedor <fedor@gnu.org>
3840
3841 * Source/GSFFIInvocation.m
3842 (-initWithCallback:returnp:values:frame:signature:): Simplify
3843 setting values. Structs passed by ref when MFRAME_STRUCT_BYREF.
3844 (GSFFIInvokeWithTargetAndImp): Encoding values unneedded now.
3845 (gs_objc_msg_forward): Free the closure via NSData.
3846
3847 * Source/mframe/powerpc/generic: Fix offset for structs.
3848 * Source/mframe/powerpc/linux-gnu: Idem.
3849 * Source/mframe/powerpc/darwin: Idem.
3850
3851 2002-04-22 Adam Fedor <fedor@gnu.org>
3852
3853 * Tools/gdomap.c (gdomap_log): For LOG_INFO, write to 1, not 0.
3854
3855 * Tools/make_strings: New tool from Alexander Malmberg
3856 <alexander@malmberg.org>
3857
3858 * Source/Additional/Makefile.preamble (ADDITIONAL_OBJCFLAGS):
3859 Add for building DLL on mingw32
3860
3861 2002-04-20 Richard Frith-Macdonald <rfm@gnu.org>
3862
3863 * Source/NSURL.m: ([-absoluteString]) anonymous bugfix applied.
3864
3865 2002-04-19 Richard Frith-Macdonald <rfm@gnu.org>
3866
3867 * Tools/gdnc.m: If given -NSHost specification for the current host,
3868 ignore it and use the standard name.
3869 * Source/GSTcpPort.m: ([-invalidate]) call superclass implementation
3870 at end ... so handles can find this port when they are destroying
3871 themselves. Reverses last change I made to this.
3872
3873 2002-04-18 Richard Frith-Macdonald <rfm@gnu.org>
3874
3875 * SSL/COPYING.LIB: New file ... just to make it *REALLY* obvious
3876 this code is under the LGPL
3877
3878 2002-04-18 Adam Fedor <fedor@gnu.org>
3879
3880 * Minimally working libffi support. Needs work.
3881 * configure.in: Allow libffi to be enabled.
3882 * Source/GSFFIInvocation.m: Rewrite.
3883 * Source/NSConnection.m (-forwardInvocation:forProxy:): Add libffi
3884 function.
3885 * Source/NSInvocation.m: Fixup cifframe arg functions.
3886 * Source/cifframe.m: Rewrite.
3887 * Testing/nsinvocation.m: Bug fix.
3888
3889 * Documentation/coding-standards.texi: Remove info dir tag.
3890 * Documentation/gnustep-base.texi: Idem.
3891 * Resources/Languages/Slovak: New file (from Stefan Urbanek).
3892
3893 Thu Apr 18 11:10:04 2002 Nicola Pero <n.pero@mi.flashnet.it>
3894
3895 * Headers/gnustep/base/NSObjCRuntime.h: Updated #defines and
3896 Windows DLL export/import machinery to the new gnustep-make
3897 conventions.
3898
3899 2002-04-18 Richard Frith-Macdonald <rfm@gnu.org>
3900
3901 * Tools/gdomap.c: re-order headers so config.h is used on windoze
3902 * Source/NSFileManager.m: ([-fileSystemRepresentationWithPath:])
3903 modified to handle MSYS paths with '/drive/' prefix.
3904 * Source/GSTcpPort.m: ([-invalidate]) call superclass implementation
3905 at start, so flag gets set to say we are not valid, and we avoid any
3906 recursive calls.
3907
3908 2002-04-16 Richard Frith-Macdonald <rfm@gnu.org>
3909
3910 * config/config.reuseaddr.c: New test for broken SO_REUSEADDR
3911 * configure.in: test for broken SO_REUSEADDR
3912 * acconfig.h: Add BROKEN_SO_REUSEADDR
3913 * configure: regenerated
3914 * Source/UnixFileHandle.m: Use reuseaddr info.
3915 * Source/GSTcpPort.m: Use reuseaddr info.
3916 * Tools/gdomap.c: Use reuseaddr info.
3917 * Source/NSPortNameServer.m: Improved warnings about launching
3918 gdomap.
3919 * Source/NSDistributedNotification.m: Improved warnings about
3920 launching gdnc.
3921 * Source/NSException.m: Log uncaught exceptions with executable name.
3922 * Source/NSProcessInfo.m: New private function for exception msg.
3923 * Source/GSString.m: Applied fix by Malexander Malmberg for
3924 transmuting strings where the default encoding is not the same as
3925 the internal 8-bit encoding.
3926 * Source/Unicode.m: Logic fix for selecting strict conversion from
3927 unicode by Alexander Malmberg.
3928
3929 2002-04-12 Richard Frith-Macdonald <rfm@gnu.org>
3930
3931 * Source/Additions/GSXML.m: New method ([-nextElement]) to traverse
3932 tree skipping non-element nodes. Also ([-childElement]) to get the
3933 first child element of a node.
3934
3935 Thu Apr 11 15:34:33 2002 Nicola Pero <n.pero@mi.flashnet.it>
3936
3937 * Source/GSAttributedString.m ([GSMutableAttributedString
3938 -sanity]): Renamed to -_sanity, and changed so that we always
3939 compile this in so that regression testcases can use it.
3940
3941 2002-04-08 Richard Frith-Macdonald <rfm@gnu.org>
3942
3943 * Resources/GNUmakefile: install new language files.
3944 * Resources/Languages/Russion: language file added.
3945 * Resources/Languages/UkraineRussion: language file added.
3946 Added language files provided by Serg Stoyan <stoyan@on.com.ua>
3947 * Source/UnixFileHandle.m: Permit accept/connect on descriptors
3948 by default.
3949 * Source/WindowsFileHandle.m: ditto
3950 * Headers/Foundation/NSProcessInfo.h: Added MacOS-X operating system
3951 methods and enum
3952 * Source/NSProcessInfo.m: Added operating system methods and documented
3953 all methods for autogsdoc.
3954
3955 2002-04-07 Richard Frith-Macdonald <rfm@gnu.org>
3956
3957 * Source/GSString.m: Tidy initialisers for case where the default
3958 C-string encoding is not usable internally.
3959 * Source/NSLog.m: Try default cString encoding.
3960 * Tools/cvtenc.m: Add -EscapeIn and -EscapeOut flags to handle \u
3961 escapes in files.
3962 * Resources/Languages/Italian: Correct to use \u escapes
3963 * Resources/Languages/French: ditto.
3964 * Resources/Languages/German: ditto.
3965 * Resources/Languages/README: New file to tell editors that they
3966 should use \u escapes ... and suggesting use of the cvtenc tool
3967 to make the job easy.
3968
3969 2002-04-06 Richard Frith-Macdonald <rfm@gnu.org>
3970
3971 * Source/NSString.m: Fix error in unicode BOM handling
3972 Write plist unicode escapes using the conventional \u rather than \U,
3973 but read in either form.
3974 * Source/GSString.m: Fix error in length of unicode data produced.
3975 * Tools/cvtenc.m: Made easy to use and added instructions.
3976
3977 Sat Apr 6 02:42:43 2002 Nicola Pero <n.pero@mi.flashnet.it>
3978
3979 * Source/NSUser.m (NSSearchPathForDirectoriesInDomains): Fixed
3980 typo, gnustep_local_root being used instead of gnustep_user_root
3981 for developer dirs in user root.
3982
3983 2002-04-05 Richard Frith-Macdonald <rfm@gnu.org>
3984
3985 * Source/NSObject.m: Fix locking bug with NSZombie ... was not
3986 locking when adding/removing zombies.
3987 * Source/NSString.m: Fix property list parsing code to raise
3988 exceptions on failure rather than logging messages. Also check for
3989 extra data at end of parsed string.
3990 * Tools/ctvenc.m: new tool for converting string encodings.
3991
3992 2002-03-28 Manuel Guesdon <mguesdon@orange-concept.com>
3993
3994 * Tools/gsdoc.m: corrected inversed test for missing entities
3995
3996 2002-03-27 Richard Frith-Macdonald <rfm@gnu.org>
3997
3998 * Source/GSPrivate.h: Added function to fetch boolean value from env
3999 * Source/NSException.m: Use new function.
4000 * Source/NSProcesInfo.m: Implement new function.
4001 * Source/NSObject.m: Implement NSZombie functionality.
4002 * Headers/Foundation/NSDebug.h: Document NSZombie functionality.
4003
4004 2002-03-25 Richard Frith-Macdonald <rfm@gnu.org>
4005
4006 * Source/NSTask.m: Implement code to watch for child process exit
4007 under mingw and rewrite various methods to handle process
4008 termination nicely under windoze.
4009 * Source/NSException.m: flush stderr ... under windoze stderr is
4010 not automatically flushed!
4011 * Source/GSWindowsFileHandle.m: watch for exceptional conditions
4012 so we can handle socket connection failures in mingw32.
4013 Added code to try to cope with standard files properly, not just
4014 network sockets.
4015 * Source/GSTcpPort.m: ditto.
4016 * Source/Unicode.m: GSToUnicode(), GSFromUnicode(), if terminate
4017 option is specified, always produce output with a nul terminator
4018 even for input of an empty string.
4019
4020 2002-03-22 Richard Frith-Macdonald <rfm@gnu.org>
4021
4022 * SSL/GNUmakefile: Remove -lobjc and -lgnustep-base from bundle
4023 libraries ... it should not need them.
4024
4025 2002-03-21 Richard Frith-Macdonald <rfm@gnu.org>
4026
4027 * Source/NSArray.m: Ensure property-list read/write uses UTF8
4028 * Source/NSDictionary.m: ditto
4029 * Source/NSConnection.m: Change timeouts to 300 seconds and
4030 document all methods.
4031
4032 2002-03-20 Richard Frith-Macdonald <rfm@gnu.org>
4033
4034 * Source/GSString.m: lossyCString_u() handle case where cString
4035 contains more bytes than unicode string has characters.
4036 * Tools/gdomap.c: Suppress unnecessary warnings except under debug.
4037 Implement spawning to run as daemon under windoze.
4038 * Toolds/gdnc.m: Run as daemon under windoze.
4039 * Source/GSTcpPort.m: Fix to stop multiple servers trying to use
4040 the same port under windoze.
4041 * Source/WindowsFileHandle.m: Fix to stop multiple servers trying to use
4042 the same port under windoze. Fix to return gdomap port even if
4043 getservbyname() doesn't.
4044 * Source/UnixFileHandle.m: Fix to return gdomap port even if
4045 getservbyname() doesn't.
4046 * Source/NSTask.m: Try appending .exe extension to paths under windoze.
4047 * Source/Unicode.m: GSFromUnicode() fix lossy conversion for cases
4048 where output encoding can't handle the unicode.
4049
4050 2002-03-19 Richard Frith-Macdonald <rfm@gnu.org>
4051
4052 * Source/GSString.m: lossyCString_c() fix in line with recent
4053 changes ... cope with case where internal coding is not same as
4054 external coding.
4055 lossyCString_u() fix encoding used.
4056
4057 2002-03-18 Adam Fedor <fedor@gnu.org>
4058
4059 * Tools/gdomap.c (gdomap_log): Write to stdout if prio=LOG_INFO.
4060
4061 2002-03-18 Richard Frith-Macdonald <rfm@gnu.org>
4062
4063 * Source/Unicode.m: Some boundary error fixes by Alexander Malmberg.
4064 Fixes to encoding table initialisation.
4065 * Source/NSString.m:Fix error in encoding type for initialising from
4066 data. By Alexander Malmberg.
4067 * Source/GSString.m: Correct string length when transmuting an 8-bit
4068 string to a 16-bit string - by Alexander Malmberg.
4069
4070 2002-03-17 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
4071
4072 * Source/GSAttributedString.m
4073 ([GSMutableAttributedString -replaceCharactersInRange:withString:]):
4074 Only keep attribute #0 when removing it would remove all attributes.
4075 (patch by Alexander Malmberg)
4076
4077 2002-03-16 Adam Fedor <fedor@gnu.org>
4078
4079 * configure.in: Also configure SSL.
4080
4081 2002-03-16 Richard Frith-Macdonald <rfm@gnu.org>
4082
4083 * Headers/gnustep/base/Unicode.h: Add more options for character
4084 encoding conversion routines.
4085 * Source/GSPrivate.h: Add a couple of private functions for character
4086 encoding management.
4087 * Source/GSString.m: Convert throughoput to use new functions for
4088 converting from one string encoding to another. Make changes to
4089 handle setting of default C string encoding to be an encoding which
4090 is incompatible with internal e-bit string objects.
4091 * Source/NSString.m: ditto
4092 * Source/Unicode.m: new string encoding conversion functions extended
4093 with a few new options. Also fixed some memory allocation bugs to
4094 cure memory leaks.
4095
4096 Rewritten low level support for different character encodings ...
4097 should provide more efficient and maintainable conversion between
4098 encodings and permit use of wide character encodings and encodings
4099 with multibyte sequences as the default C string encoding.
4100 Testing ... minimal ... we could do with decent tests for this stuff.
4101 So this version must be viewed as possibly very unstable!
4102
4103 2002-03-14 Adam Fedor <fedor@gnu.org>
4104
4105 * Version: 1.3.0
4106 * Documentation/install.texi, readme.texi, ...: Updated
4107
4108 2002-03-14 Richard Frith-Macdonald <rfm@gnu.org>
4109
4110 * Source/NSString.m; Bug report by Manuel Guesdon prompted me to
4111 rewrite string trimming extensions. All the tail end trimming
4112 was wrong.
4113 * Source/Unicode.m: Added two new conversion functions ... untested.
4114 The intention is to replace other string conversion with these ones
4115 which should localise memory management issues.
4116
4117 2002-03-14 Richard Frith-Macdonald <rfm@gnu.org>
4118
4119 * Tools/gdomap.c: Tidy a little ... fix non-static declarations.
4120 * Source/NSString.m: ([-initWithData:encoding:]) Correct the length
4121 of the string produced when unicode data is missing its 2 byte
4122 prefix. Simplification of code based on suggestion by Yen-Ju Chen
4123 * Source/GSString.m: Fixes for cString infor from unicode by
4124 Yen-Ju Chen.
4125
4126 Wed Mar 13 16:55:49 2002 Nicola Pero <n.pero@mi.flashnet.it>
4127
4128 * Source/Additions/GSXML.m ([GSSAXHandler
4129 -externalSubset:externalID:ystemID:]): Fixed typo, 'ystemID:'
4130 instead of 'systemID:'.
4131
4132 2002-03-13 Adam Fedor <fedor@gnu.org>
4133
4134 * Tools/gdomap.c (log): Redefine to gdomap_log to avoid conflict
4135 with syslog function on Darwin.
4136
4137 * Source/NSProcessInfo.m (main): Use STRINGIFY to get proper
4138 name of constant string class.
4139
4140 2002-03-13 Richard Frith-Macdonald <rfm@gnu.org>
4141
4142 * Headers/gnustep/base/NSObjCRuntime.h: Remove bad markup in comments.
4143 * Headers/gnustep/base/NSString.h: Remove private class declaration
4144 and hide internals of NXConstantString behind dummy interface while
4145 improving comments. Fix long overdue declaraction of methods in
4146 clsses rather than protocols.
4147 * Source/GSUserDefaults.h: removed
4148 * Source/GSPrivate.h: added
4149 * Source/GSCompatibility.m: fix for hidden private info.
4150 * Source/GSString.m: ditto
4151 * Source/NSArray.m: ditto
4152 * Source/NSCalendarDate.m: ditto
4153 * Source/NSDate.m: ditto
4154 * Source/NSDecimalNumber.m: ditto
4155 * Source/NSDictionary.m: ditto
4156 * Source/NSLog.m: ditto
4157 * Source/NSObjCRuntime.m: ditto
4158 * Source/NSScanner.m: ditto
4159 * Source/NSSerializer.m: ditto
4160 * Source/NSString.m: ditto
4161 * Source/NSUser.m: ditto
4162 * Source/NSUserDefaults.m: ditto
4163 General tidyups to hide some internal workings which should really
4164 not be exposed in public headers.
4165
4166 2002-03-12 Richard Frith-Macdonald <rfm@gnu.org>
4167
4168 * NSTimeZones/NSTimeZones.tar: regenerated with latest data.
4169
4170 2002-03-12 Adam Fedor <fedor@gnu.org>
4171
4172 * Headers/gnustep/base/NSString.h: Add extra ivars needed by Darwin
4173 to NXConstantString.
4174 * Source/GSString.m: ([NXConstantString +initialize]): Remove constant
4175 string class reference setup for Darwin.
4176 * Source/NSProcessInfo.m (main): Put it here.
4177
4178 Tue Mar 12 11:13:51 2002 Nicola Pero <n.pero@mi.flashnet.it>
4179
4180 * Source/Additions/GSXML.m ([-isEqualTo:]): Renamed everywhere to
4181 isEqual:
4182
4183 Tue Mar 12 09:21:20 2002 Nicola Pero <n.pero@mi.flashnet.it>
4184
4185 * Source/NSAssertionHandler.m
4186 ([-handleFailureInMethod:object:file:lineNumber:description:]): Log
4187 if the object is a class or an instance.
4188
4189 2002-03-12 Richard Frith-Macdonald <rfm@gnu.org>
4190
4191 * SSL/configure.in: Check GNUstep directories for headers and
4192 libraries as well as standard system directories.
4193
4194 Tue Mar 12 07:37:44 2002 Nicola Pero <n.pero@mi.flashnet.it>
4195
4196 * Source/Additions/GSXML.m ([GSXMLNode -properties]): Fixed return
4197 type.
4198
4199 2002-03-10 Richard Frith-Macdonald <rfm@gnu.org>
4200
4201 * Headers/gnustep/base/NSInvocation.h:
4202 * Headers/gnustep/base/NSNumberFormatter.h:
4203 * Headers/gnustep/base/NSObject.h:
4204 Minor fixes to build with STRICT_OPENSTEP
4205 * Source/NSDistributedNotificationCentre.m: Attempt to start server
4206 automatically for other machines. Improve log messages.
4207
4208 Sat Mar 9 15:21:04 2002 Adam Fedor <fedor@yogi.doc.com>
4209
4210 * Source/NSDistributedNotificationCenter.m (-_connect): Move check
4211 for alternative name so we can get registered.
4212
4213 2002-03-09 Richard Frith-Macdonald <rfm@gnu.org>
4214
4215 * Source/NSDistributedNotificationCentre.m: Try alternative name for
4216 server if NSHost is specified ...in case it is running on another host.
4217
4218 Sat Mar 9 12:02:45 2002 Adam Fedor <fedor@yogi.doc.com>
4219
4220 * configure.in: Change constant string to FooConstantString
4221 * config/config.constant-string-class.m: Work with NeXT_RUNTIME
4222 (patch from Markus Hitter [mah@jump-ing.de]).
4223
4224 2002-03-09 Richard Frith-Macdonald <rfm@gnu.org>
4225
4226 * Source/NSFileManager.m: Change copy so that, if the source argument
4227 is a symbolic link, we copy the link rather than the thing it points
4228 to.
4229 * Tools/gdnc.m: Quick hack to register port with other names is NSHost
4230 is used.
4231
4232 2002-03-08 Richard Frith-Macdonald <rfm@gnu.org>
4233
4234 * Source/Unicode.m: Added BIG5 encoding
4235 * Headers/Foundation/NSString.h: Added BIG5 encoding
4236 * Resources/Languages/Locale.aliases: added traditional chinese
4237 Extensions for traditional chinese requested by Yen-Ju Chen
4238
4239 2002-03-08 Richard Frith-Macdonald <rfm@gnu.org>
4240
4241 * Source/Additions/GNUmakefile: Include ../../base.make
4242 * SSL/GNUmakefile: Include ../base.make
4243 from the makefiles directory for builting standalone.
4244 * Source/Unicode.m: Added some standard string handling for iconv.
4245 * Source/NSString.m: ([-initWithData:encoding:]) return nil on
4246 failure to handle encoding.
4247 * Source/NSMapTable.m: NSMapInsert() fixed to conform to spec.
4248 * Source/NSHashTable.m: NSHashInsert() fixed to conform to spec.
4249 Reports by Alexander Malmberg
4250
4251 2002-03-07 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
4252
4253 * Source/NSRunLoop.m ([NSRunLoop -acceptInputForMode:]):
4254 added a _checkPerformes: call to solve minor issue.
4255 (performers would only be called after an event was received)
4256 (credits to Alexander Malmberg)
4257
4258 2002-03-07 Richard Frith-Macdonald <rfm@gnu.org>
4259
4260 * SSL/Makefile.posramble: store config.h in system specific subdir.
4261 * SSL/Makefile.preamble: Include headers from Source directory
4262 so we pick up GSConfig.h
4263
4264 2002-03-06 Richard Frith-Macdonald <rfm@gnu.org>
4265
4266 * Source/autogsdoc.m: store and fetch dependency info in .igsdoc
4267 so we can parse the correct source files for each header when we
4268 need to.
4269
4270 2002-03-06 Richard Frith-Macdonald <rfm@gnu.org>
4271
4272 * Source/Additions/GNUmakefile: build subproject.
4273 * Source/Additions/Makefile.preamble: set include flags.
4274 * Source/Additions/GSXML.m: moved implementation here.
4275 * Source/Additions/GSMime.m: moved implementation here.
4276 * Source/GNUmakefile: build subproject.
4277
4278 2002-03-06 Richard Frith-Macdonald <rfm@gnu.org>
4279
4280 * GNUmakefile: build SSL aggregate project
4281 * config.mak.in: Remove SSL info
4282 * configure.in: Remove SSL configuration
4283 * configure: Regenerate
4284 * SSL/GNUmakefile: Build SSL bundle
4285 * SSL/GSUnixSSLHandle.m: SSL bundle source from Source directory
4286 * SSL/Makefile.postamble: Build SSL bundle
4287 * SSL/Makefile.preamble: Build SSL bundle
4288 * SSL/config.h.in: Trivial config for SSL bundle
4289 * SSL/config.mak.in: SSL info for building bundle.
4290 * SSL/configure.in: Configuration for SSKL bundle.
4291 * Source/GNUmakefile: Don't build SSL bundle.
4292 * Source/GSUnixSSLHandle.m: Moved to SSL directory.
4293 * Source/Makefile.postamble: Don't build SSL bundle.
4294 * Source/Makefile.preamble: Don't build SSL bundle.
4295 Alterations to make the SSL bundle capable of standalone
4296 building - for use on systems where the base package has
4297 only been installed in binary form.
4298 Initial attempt!
4299
4300 2002-03-06 Richard Frith-Macdonald <rfm@gnu.org>
4301
4302 * Source/GSAttributedString.m: Applied fix for left-over attributes
4303 at end of string. Patch supplied by Alexander Malmberg
4304 <alexander@malmberg.org>. Reformatting to conform to GNUstep
4305 standards, and optimisation by me.
4306
4307 2002-03-04 Richard Frith-Macdonald <rfm@gnu.org>
4308
4309 * Tools/autogsdoc.m: Output gsdoc as UTF8 as we should.
4310 * Tools/AGSOutput.m: ditto.
4311
4312 2002-03-01 Richard Frith-Macdonald <rfm@gnu.org>
4313
4314 * Source/NSUser.m: When reading .GNUsteprc, if a per user version is
4315 not available, use the one in the configured system root directory.
4316
4317 2002-02-28 Adam Fedor <fedor@gnu.org>
4318
4319 * Headers/gnustep/base/objc-gnu2next.h: Add objc-runtime.h
4320 * Source/Makefile.preamble: Add ..DEPEND_UPON for all darwin versions.
4321
4322 * Source/NSPortCoder.m
4323 (-initWithReceivePort:sendPort:components:): Change cast to make
4324 MacOSX compiler happy.
4325
4326 2002-02-28 Richard Frith-Macdonald <rfm@gnu.org>
4327
4328 * Source/NSUser.m: rewrite user and defaults root code to standardise
4329 and to use .GNUsteprc configuration. Also permit forcing of fixed
4330 roots at compile time.
4331
4332 Thu Feb 28 16:46:31 2002 Nicola Pero <n.pero@mi.flashnet.it>
4333
4334 * Source/NSUser.m (NSSearchPathForDirectoriesInDomains): Changed
4335 'Apps' to read 'Applications'.
4336
4337 2002-02-27 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
4338
4339 * Source/GSString.m ([GSMutableString -substringWithRange:]):
4340 create a new string which size is the range length, not the original
4341 string's length.
4342
4343 2002-02-27 Richard Frith-Macdonald <rfm@gnu.org>
4344
4345 * Tools/gdomap.c: Removed obsolete code for shrinking data structures.
4346 Added memmove() for overlapped memory moves (Alexander Malmberg) and
4347 removed a couple of obsolete functions.
4348 * Source/GSValue.m: attempt to correct encoding.
4349 * Source/NSKeyValueCoding.m: Fix termination of method names with nuls
4350 from report by Manuel Guesdon.
4351 * Source/NSDictionary.m: Implement MacOS-X compatible KVC behavior.
4352 Include webobjects/eof extension, with warnings.
4353 * Headers/Foundation/NSProtocolChecker.h: Change deprecated import to
4354 include.
4355
4356 2002-02-26 Richard Frith-Macdonald <rfm@gnu.org>
4357
4358 * Tools/gdomap.c: Improve fetching interface info on mingw ...
4359 ignore non-internet interfaces.
4360 NB. The mingw winsock2.h header is buggy ... to work properly
4361 you need to change the size of a struct sockaddr field from
4362 sa_data[14] to sa_data[22]
4363
4364 Tue Feb 26 18:01:26 2002 Nicola Pero <nicola@brainstorm.co.uk>
4365
4366 * Source/NSBundle.m: Removed all _releasedBundles machinery.
4367 Removed custom implementation of -release. Retain a bundle after
4368 we load it. This fixes -bundleForClass: and simplifies
4369 considerably the code.
4370
4371 * Source/NSBundle.m: Whenever possible, use [self method] rather
4372 than [NSBundle method] to invoke a class method, for efficiency.
4373
4374 * Source/NSBundle.m (objc_executable_location): Compute directly
4375 from _executable_path - using mainBundle is unsafe.
4376
4377 Tue Feb 26 17:35:03 2002 Nicola Pero <nicola@brainstorm.co.uk>
4378
4379 * Source/NSBundle.m (_bundle_load_callback): Completely ignore
4380 categories. (Suggestion by Gerrit Van Dyk
4381 <GerritVD@decillion.net>).
4382
4383 2002-02-26 Richard Frith-Macdonald <rfm@gnu.org>
4384
4385 * Source/GSTemplateValue.m: Implement initialize method to set the
4386 version of concrete classes to be that of the abstract class which
4387 actually performs encoding/decoding ... should correct archiving.
4388 Problem reported by Gerrit Van Dyk
4389 * Tools/GSIndex.m: tidied a little
4390 * Tools/GSParser.m: mark when things are implemented.
4391 * Tools/GSOutput.m: warn about unimplemented items.
4392
4393 2002-02-26 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
4394
4395 * Source/NSUnarchiver.m
4396 ([NSUnarchiver +classNameDecodedForArchiveClassName:]):
4397 ([NSUnarchiver -classNameDecodedForArchiveClassName:]):
4398 return nil if the class name is not present.
4399
4400 2002-02-26 Richard Frith-Macdonald <rfm@gnu.org>
4401
4402 * Source/GSTcpPort.m: Fixes to work on mingw.
4403 * Source/NSHost.m: Update for current winsock on mingw.
4404 * Source/NSPortNameServer.m: Update for current winsock on mingw.
4405 * Source/WindowsFileHandle.m: Fix to work for basic socket I/O.
4406 * Tools/gdomap.c: many changes ... several fixes to work on mingw
4407 rewrite some clumsy inefficient code, make variables and functions
4408 local. etc.
4409 * Source/NSUnarchiver.m: ([versionForClassName:]) return NSNotFound
4410 if the class name was not present.
4411
4412 Mon Feb 25 15:26:38 2002 Nicola Pero <nicola@brainstorm.co.uk>
4413
4414 * Source/NSBundle.m ([-initWithPath:]): Return nil if the path
4415 can't be read. Fixed memory leak in case of nil argument.
4416 * Headers/gnustep/base/NSBundle.h: Documented some methods.
4417
4418 2002-02-25 Richard Frith-Macdonald <rfm@gnu.org>
4419
4420 * Source/GNUmakefile: Move xml and mime classes into an additional
4421 library, and make base library depend on it. EXPERIMENTAL.
4422 * Tools/gdomap.c: Try to get output working again after last changes.
4423 Add first attempt at MINGW support for getting network interface info.
4424 library, and make base library depend on it.
4425 EXPERIMENTAL - activate using 'make add=yes'
4426
4427 2002-02-25 Richard Frith-Macdonald <rfm@gnu.org>
4428
4429 * Source/NSObject.m: Rewrote key-value coding key manipulation to use
4430 a char array for speed. Moved functions for converting between object
4431 internals in scalar types and NSNumbers etc to NSObjCRuntime.m.
4432 Re-implemented path methods to fix incorrect implementation as pointed
4433 out by Manuel Guesdon.
4434 * Headers/Foundation/NSObjCRuntime.h: New functions from NSObject
4435 * Source/NSObjCRuntime.m: New functions from NSObject
4436 * Source/NSKeyValueCoding.m: Put key value coding methods here for
4437 clarity and ease of documentation.
4438
4439 2002-02-24 Richard Frith-Macdonald <rfm@gnu.org>
4440
4441 * Source/NSTask.m: Removed NSLogs() accidantally left in after
4442 debugging. Reported by Fred Kiefer.
4443 * Tools/gdomap.c: Use syslog for logging ... patch by Matthias Klose
4444 <doko@cs.tu-berlin.de> almost entirely rewritten to be portable.
4445 * configure.in: Minor additions for time header/functions
4446 * configure: regenerated
4447
4448 2002-02-23 Richard Frith-Macdonald <rfm@gnu.org>
4449
4450 * Headers/Foundation/NSObjCRuntime.h: Fix error in last change ...
4451 GSSelectorFromName() should not create a new selector while
4452 HSSelectorFromNameAndTypes() should.
4453
4454 2002-02-22 Alexander Malmberg <alexander@malmberg.org>
4455
4456 * Headers/gnustep/base/NSArray.h: insertion position api update.
4457 * Source/NSArray.m: insertion position api update.
4458 * Source/GSArray.m: insertion position api update.
4459 Make insertion position api consistent with sorting api.
4460
4461 2002-02-21 Richard Frith-Macdonald <rfm@gnu.org>
4462
4463 * Source/NSValue.m: Fixed bug in archiving NSValue objects ... was
4464 creating faulty archives which would crash on unarchiving.
4465 * Headers/Foundation/NSObjCRuntime.h: Made GS... function names more
4466 consistent with NeXT/Apple ones. Provide new ivar handling API.
4467 Don't crash when asked for a class which does not exist.
4468 * Source/NSObject.m: partial conversion to new runtime api.
4469 * Source/NSData.m: partial conversion to new runtime api. Don't
4470 raise an exception if a class we are deserializing does not exist.
4471 Just warn and return a nul class.
4472 * Source/NSArchiver.m: better clasname handling.
4473 * Source/NSUnarchiver.m: try to gracefully handle the case where an
4474 archive contains the name of a class we don't have linked in to our
4475 code.
4476 * Source/NSPortCoder.m: ditto.
4477
4478 2002-02-20 Richard Frith-Macdonald <rfm@gnu.org>
4479
4480 * Source/NSUser.m: locking erro fixed by Stephen brandon
4481
4482 2002-02-20 Richard Frith-Macdonald <rfm@gnu.org>
4483
4484 * Headers/Foundation/NSInvocation.h: Remove _argframe ivar
4485 * Source/NSInvocation.m: Simplify by removing _argframe ivar and
4486 using _frame throughout to hold arguments. Fix checks for valid frame.
4487 * Source/callframe.m: Initialise newly created frame with zeros so
4488 that setting an object in an invocation should work when the
4489 invocation is retaining its contents.
4490 * configure.in: Disable ffi and warn about it.
4491 * configure: regenerated
4492 * Source/NSRunLoop.m: ([acceptInputForMode:beforeDate:]) block until
4493 limit date even if no I/O is possible.
4494 * Source/NSUserDefaults.m: Patch by Alexander Malmberg to try all
4495 listed locales rather than giving up at first failure.
4496 * Headers/gnustep/base/GSUnion.h: Enclose types bitmask in brackets
4497 to avoid *all* types being included in the union! Should decrease
4498 memory footprint and increase speed of many classes.
4499 * Source/NSString.m: ([stringByStandardizingPath]) memory leak
4500 fixed and windows path check fixed ... patch by Michael Scheibler.
4501 Also commented/documented the method.
4502
4503 2002-02-13 Richard Frith-Macdonald <rfm@gnu.org>
4504
4505 * Source/NSUserDefaults.m: Removed some code that was doing nothing,
4506 and tidied a little.
4507
4508 2002-02-13 Richard Frith-Macdonald <rfm@gnu.org>
4509
4510 * Headers/Foundation/NSPathUtilities.h: GSDefaultsRootForUser()
4511 function added.
4512 * Source/NSUser.m: Many alterations to do with correcting the
4513 file paths used to use GNUSTEP_USER_ROOT, and to get them to
4514 vary nicely when GSSetUserName() is called. Added function
4515 GSDefaultsRootForUser() to get a defaults directory based on
4516 a new environment varibale, or use GNUSTEP_USER_ROOT.
4517 * Source/NSUserDefaults.m: Use GSDefaultsRootForUser()
4518 Fix a few bugs in setting up defaults database.
4519 Move defaults database to the Defaults subdirectory.
4520 * Source/Headers/GSIMap.h: Fix error in last commit.
4521
4522 2002-02-13 Richard Frith-Macdonald <rfm@gnu.org>
4523
4524 * Source/NSString.m: ([stringByExpandingTildeInPath]) fix bug in
4525 handling ~username/... format.
4526 * Headers/Foundation/GSIMap.h: GSIMapCleanMap() rewrote to empty
4527 the map efficiently. Added an option to refrain from calling it
4528 when emptying a map that doesn't need keys and values releasing.
4529 * Source/GSAttributedString.m: don't clean maps on emptying.
4530 * Source/GSFFCallInvocation.m: ditto
4531 * Source/NSArchiver.m: ditto
4532 * Source/NSConnection.m: ditto
4533 * Source/NSObject.m: ditto
4534 * Source/NSPortCoder.m: ditto
4535 * Source/NSSerializer.m: ditto
4536 Changes inspired by Pierre-Tves Rivaille
4537
4538 2002-02-12 Richard Frith-Macdonald <rfm@gnu.org>
4539
4540 * Tools/AGSHtml.m: support for merging types and functions etc.
4541 * Tools/AGSIndex.m: ditto
4542 * Tools/AGSOutput.h: ditto
4543 * Tools/AGSOutput.m: ditto
4544 * Tools/autogsdoc.m: ditto
4545 Put stuff in place for merging info
4546 revert key-value coding changes.
4547 * Source/NSString.m: Fix bug in datausingEncoding:allowLossyConversion:
4548 pointed out by Stephen Brandon.
4549
4550 Mon Feb 11 15:11:31 2002 Nicola Pero <n.pero@mi.flashnet.it>
4551
4552 * Source/GSString.m (NSImmutableString): Implemented copy,
4553 copyWithZone:, mutableCopy, mutableCopyWithZone:, so that the
4554 string can be copied, and the copy no longer tracks the parent.
4555
4556 2002-02-10 Michael Hanni <mhanni@sprintmail.com>
4557
4558 * Source/NSObjCRuntime.m: changed NSAssert() to NSCAssert() from
4559 last change. Also added NSException.h include to make compile
4560 correctly and quietly.
4561
4562 2002-02-10 Manuel Guesdon <mguesdon@orange-concept.com>
4563
4564 * Source/NSObject.m: changes to enable derived object KeyValueCoding
4565 process chnages (EOGenericRecord for example).
4566 o added:
4567 _infoForInstanceVariableNamed:retType:retSize:retOffset:
4568 _getValueForKey:selector:type:size:offset:
4569 _setValueForKey:object:selector:type:size:offset:
4570 _handleQueryWithUnboundKey:
4571 _handleTakeValue:forUnboundKey:
4572 o modified:
4573 storedValueForKey:
4574 takeStoredValue:forKey:
4575 valueForKey:
4576 takeValue:forKey:
4577 To use added method.
4578 * Source/NSObjCRuntime.m:
4579 o added NSAssert in GSGetInstanceVariable() and
4580 GSSetInstanceVariable()
4581 * Headers/gnustep/base/NSKeyValueCoding:
4582 o added:
4583 _infoForInstanceVariableNamed:retType:retSize:retOffset:
4584 _getValueForKey:selector:type:size:offset:
4585 _setValueForKey:object:selector:type:size:offset:
4586 _handleQueryWithUnboundKey:
4587 _handleTakeValue:forUnboundKey:
4588
4589 Sat Feb 9 01:45:48 2002 Nicola Pero <n.pero@mi.flashnet.it>
4590
4591 * Source/NSBundle.m ([+bundleForTool:]): Removed. We switch to a
4592 better API, which is to have a tool use +mainBundle, in the same
4593 way as applications do, to retrieve the main resource bundle for
4594 itself.
4595 ([+mainBundle]): Modified to support tools as well as
4596 applications.
4597 * Headers/gnustep/base/NSBundle.h ([+bundleForTool:]): Removed.
4598
4599 2002-02-08 Richard Frith-Macdonald <rfm@gnu.org>
4600
4601 * Headers/Foundation/NSTask.h: New method -validatedLaunchPath to
4602 check that an executable exists at the specified path or any
4603 alternative version corresponding to host, OS, and library-combo
4604 directories. Returns the actual path to the binary.
4605 * Source/NSTask.m: Implemented new mathod and added autogsdoc
4606 comments.
4607 * Source/NSBundle.m: Cotrrected error in comments.
4608
4609 2002-02-06 Richard Frith-Macdonald <rfm@gnu.org>
4610
4611 * Headers/Foundation/NSString.m: Additioanl method -immutableProxy
4612 * Source/NSString.m: ditto
4613 * Source/GSString.m: New classes for immutable proxy, one generic
4614 version, and one efficient version for accessing the main GNUstep
4615 mutable striong objects.
4616 * Source/GSAttributedString: use immutable proxy.
4617 New code to provide a proxy for a mutable string which will provide
4618 read-only access to it.
4619
4620 2002-02-05 Richard Frith-Macdonald <rfm@gnu.org>
4621
4622 * Source/NSString.m: ([-rangeOfCharacterFromSet:options:range:])
4623 fix to return NSNotFound as location if character not present -
4624 bug reported by Nicola Pero.
4625
4626 2002-02-04 Richard Frith-Macdonald <rfm@gnu.org>
4627
4628 * Tools/gsdoc.m: loader() if entity id is missing, try to load url as
4629 a file.
4630 * Tools/AGSParser.m: Fixes for handling typedefs, constants, varibales
4631 and functions.
4632 * Tools/AGSOutput.[hm]: ditto
4633 * Tools/AGSHtml.m: ditto
4634 Preliminary support for C language added.
4635
4636 2002-02-03 Richard Frith-Macdonald <rfm@gnu.org>
4637
4638 * Source/GNUmakefile: use -WordMap flag with autogsdoc to cope with
4639 C-preprocessor constants that would otherwise confuse parsing.
4640 * Source/NSDictionary.m: Tidy to match interface.
4641 * Source/NSDistantObject.m: Tidy to match interface.
4642 * Source/NSPortCoder.m: Tidy to match interface.
4643 * Source/NSScanner.m: Tidy to match interface. Remove some illegal
4644 semicolons after method names.
4645 * Source/NSTimer.m: Tidy to match interface.
4646 * Tools/AGSParser.h: Handle word mappings.
4647 * Tools/AGSParser.m: Handle word mappings and deal with function
4648 attributes.
4649 * Tools/autogsdoc.m: Handle word mappings and make default logging
4650 less verbose.
4651
4652 2002-02-02 Richard Frith-Macdonald <rfm@gnu.org>
4653
4654 * Source/NSObject.m: Fix some maptable problems when using non-local
4655 reference counts.
4656 * Source/NSMapTable.m: Improve warning logging for dodgy practices.
4657 * Source/NSHashTable.m: ditto
4658 * Tools/AGSHtml.m: A couple of minor fixes for systems where the xml
4659 parser does not discard whitespace as it should.
4660
4661 2002-02-01 Richard Frith-Macdonald <rfm@gnu.org>
4662
4663 * Documentation/manual: New directory containing Objective-C and
4664 GNUstep-base programming manual/tutorial produced at Brainstorm.
4665 The intention was to produce a pretty complete manual and then
4666 release it, but we ran out of funding, so I'm releasing the work
4667 to date.
4668 * Source/NSObject.m: Go back to using local refcounts now that new
4669 map table code is thoroughly tested.
4670
4671 2002-02-01 Richard Frith-Macdonald <rfm@gnu.org>
4672
4673 * Source/Makefile.preamble: remove old GSI api support
4674 * Headers/Foundation/NSHashTable.h: ditto
4675 * Headers/Foundation/NSMapTable.h: ditto
4676
4677 2002-02-01 Richard Frith-Macdonald <rfm@gnu.org>
4678
4679 * Source/GSAttributedString.m: Move to assuming new GSI api.
4680 * Source/NSHashTable.m: ditto
4681 * Source/NSMapTable.m: ditto
4682 * Source/GSCountedSet.m: ditto
4683 * Source/GSDictionary.m: ditto
4684 * Source/GSFFCallInvocation.m: ditto
4685 * Source/NSArchiver.m: ditto
4686 * Source/NSConnection.m: ditto
4687 * Source/NSFileManager.m: ditto
4688 * Source/NSNotificationCenter.m: ditto
4689 * Source/NSObject.m: ditto
4690 * Source/NSPortCoder.m: ditto
4691 * Source/NSRunLoop.m: ditto
4692 * Source/NSSerializer.m: ditto
4693 * Source/NSUnarchiver.m: ditto
4694
4695 2002-02-01 Richard Frith-Macdonald <rfm@gnu.org>
4696
4697 * Source/NSHashTable.m: Fixed bug intorduced by last change to add
4698 error checking!!
4699 * Source/GSAttributedString.m: Make new or old GSI stuff optional.
4700 * Source/GSCountedSet.m: ditto
4701 * Source/GSDictionary.m: ditto
4702 * Source/GSFFCallInvocation.m: ditto
4703 * Source/NSArchiver.m: ditto
4704 * Source/NSConnection.m: ditto
4705 * Source/NSFileManager.m: ditto
4706 * Source/NSNotificationCenter.m: ditto
4707 * Source/NSObject.m: ditto
4708 * Source/NSPortCoder.m: ditto
4709 * Source/NSRunLoop.m: ditto
4710 * Source/NSSerializer.m: ditto
4711 * Source/NSUnarchiver.m: ditto
4712 Interim phase ... version of source which should build with new or
4713 old GSIMap and GSIArray APIs at the defination of GSI_NEW
4714
4715 2002-01-31 Adam Fedor <fedor@gnu.org>
4716
4717 * Old/*: Removed (now at
4718 ftp://ftp.gnustep.org/pub/gnustep/old/gnustep-obsolete.tar.gz).
4719
4720 2002-01-31 Richard Frith-Macdonald <rfm@gnu.org>
4721
4722 * Source/NSMapTable.m:
4723 * Source/NSHashTable.m: Add checks for nul tables and either log
4724 warnings and be tolerant, or raise exceptions.
4725
4726 Thu Jan 31 15:35:21 2002 Nicola Pero <nicola@brainstorm.co.uk>
4727
4728 * Source/NSObject.m ([-doesNotRecognizeSelector:]): Modified
4729 exception message to print out if we are an instance or a class
4730 object. For example, no longer 'IvarProxy does not recognize
4731 initWithClass:' but rather 'IvarProxy(class) does not recognize
4732 initWithClass:'.
4733 ([-doesNotRecognize:]): Idem.
4734 ([-subclassResponsibility:]): Similar change.
4735 ([-shouldNotImplement:]): Similar change.
4736 ([-notImplemented:]): Similar change.
4737
4738 2002-01-31 Richard Frith-Macdonald <rfm@gnu.org>
4739
4740 * Headers/gnustep/base/GSIArray.h: Use array as parameter to macros.
4741 * Source/GSAttributedString.m: Update for GSIArray change.
4742 * Source/GSCountedSet.m: Update for GSIArray change.
4743 * Source/GSDictionary.m: Update for GSIArray change.
4744 * Source/GSFFCallInvocation.m: Update for GSIArray change.
4745 * Source/NSArchiver.m: Update for GSIArray change.
4746 * Source/NSConnection.m: Update for GSIArray change.
4747 * Source/NSFileManager.m: Update for GSIArray change.
4748 * Source/NSNotificationCenter.m: Update for GSIArray change.
4749 * Source/NSObject.m: Update for GSIArray change.
4750 * Source/NSPortCoder.m: Update for GSIArray change.
4751 * Source/NSRunLoop.m: Update for GSIArray change.
4752 * Source/NSSerializer.m: Update for GSIArray change.
4753 * Source/NSUnarchiver.m: Update for GSIArray change.
4754
4755 2002-01-30 Richard Frith-Macdonald <rfm@gnu.org>
4756
4757 * Headers/Foundation/NSRunLoop.h: Go back to new version.
4758 * Source/NSRunLoop.m: Back to new (hopefully bug-free) version ...
4759 fixed a fence-post error in examining descriptors. Enabled poll()
4760 support if the O/S supports it. Converted to use standard debug
4761 logging keyed on NSRunLoop. Fixed poll code to call any available
4762 event handler when an error occurs on a descriptor.
4763 * configure.in: Improve check for sa_len
4764
4765 2002-01-30 Richard Frith-Macdonald <rfm@gnu.org>
4766
4767 * Headers/gnustep/base/GSIMap.h: Fix bug cleaning table and add
4768 option to specify type of enumerator structure externally.
4769 * Headers/gnustep/base/NSHashTable.h: Modify to conform to MacOS-X
4770 documentation and to work with GSIMAP stuff.
4771 * Headers/gnustep/base/NSMapTable.h: ditto
4772 * Headers/gnustep/base/o_array.h: deleted
4773 * Headers/gnustep/base/o_cbs.h: deleted
4774 * Headers/gnustep/base/o_hash.h: deleted
4775 * Headers/gnustep/base/o_list.h: deleted
4776 * Headers/gnustep/base/o_map.h: deleted
4777 * Headers/gnustep/base/o_x_bas.h.in: deleted
4778 * Headers/gnustep/base/o_x_cbs.h.in: deleted
4779 * Source/GNUmakefile: Remove o_... rules
4780 * Source/GSTcpPort.m: Remove unused include file
4781 * Source/Makefile.postamble: remove o_... rules
4782 * Source/NSCallBacks.h: Remove o_... info
4783 * Source/NSCallBacks.m: remove o_... info
4784 * Source/NSHashTable.m: Rewrite to use GSIMAP
4785 * Source/NSMapTable.m: Rewrite to use GSIMAP
4786 * Source/NSObject.m: Use GSIMAP for reference counts.
4787 * Source/NSRunLoop.m: Fix function prototypes for map table callbacks.
4788 * Source/externs.m: Remove o_... stuff and tidy callbacks.
4789 * Source/o_array.m: deleted
4790 * Source/o_cbs.m: deleted
4791 * Source/o_cbs_char_p.m: deleted
4792 * Source/o_cbs_id.m: deleted
4793 * Source/o_cbs_int.m: deleted
4794 * Source/o_cbs_int_p.m: deleted
4795 * Source/o_cbs_void_p.m: deleted
4796 * Source/o_hash.m: deleted
4797 * Source/o_list.m: deleted
4798 * Source/o_map.m: deleted
4799 * Source/o_x_bas.m.in: deleted
4800 * Source/o_x_cbs.m.in: deleted
4801 Masses of changes to simplify codebase and standardise all maptable
4802 code. Hopefully, the new NSMapTable code now conforms to the spec.
4803
4804 2002-01-30 Richard Frith-Macdonald <rfm@gnu.org>
4805
4806 * Headers/Foundation/NSRunLoop.h: revert
4807 * Source/NSRunLoop.m: revert
4808 Revert to earlier version temporarily, while I try to track down
4809 an obscure bug causing problems with some DO applications.
4810
4811 Tue Jan 29 13:49:23 2002 Nicola Pero <nicola@brainstorm.co.uk>
4812
4813 * configure.in: Removed garbage left over - doubled message
4814 for objc thread flags checking.
4815 * configure: Regenerated.
4816
4817 Tue Jan 29 10:57:30 2002 Nicola Pero <nicola@brainstorm.co.uk>
4818
4819 * Makefile.postamble (configure): Rule removed. It was causing
4820 problems on systems without autoconf.
4821 (base.make, config.mak): Do not depend on configure.
4822
4823 2002-01-29 Richard Frith-Macdonald <rfm@gnu.org>
4824
4825 * Headers/Foundation/NSRunLoop.h: More updates to ivars.
4826 * Headers/Foundation/NSRunLoop.m: Completed re-entrancy fixes in
4827 (I hope) a reasonably efficient manner.
4828
4829 2002-01-28 Richard Frith-Macdonald <rfm@gnu.org>
4830
4831 * Headers/Foundation/NSRunLoop.h: Removed previously deprecated methods.
4832 Completely changed ivar layout.
4833 * Headers/Foundation/NSRunLoop.m: Removed previously deprecated methods.
4834 Completely changed ivar layout. Modified most methods to work with
4835 changed ivar layout. Now stores per-mode context information in a
4836 new GSRunLoopCtxt class - one instance for each mode used in each
4837 runloop instance. Rewrite select() and poll() based mechanisms
4838 using the new class - should hopefully be more efficient and fix
4839 minor and obscure problems with re-entrancy.
4840 ### WARNING ... radical change ... may be buggy ... WARNING ###
4841
4842 2002-01-23 Kaelin Colclasure <kaelin@acm.org>
4843
4844 * configure.in: Check for poll(2) system call and header file.
4845 * configure: Regenerated.
4846 * config.h.in: Regenerated.
4847 * Source/NSRunLoop.m ([-acceptInputForMode:beforeDate:]):
4848 Refactored to put all code specific to the select(2) system call
4849 into a separate method.
4850 ([-_pollInputForMode:withTimeout:]): New private method with two
4851 implementations. If HAVE_POLL is defined, the poll version is
4852 used. Otherwise, we fall back to select.
4853
4854 2002-01-25 Richard Frith-Macdonald <rfm@gnu.org>
4855
4856 * acconfig.h: Add HAVE_SA_LEN
4857 * configure.in: Check for sa_len in sockaddr in struct ifreq
4858 * configure: regenerate
4859 * Headers/gnustep/base/config.h.in: regenerate
4860 * Tools/gdomap.c: Add patch by Pete French <pete@twisted.org.uk>
4861 to handle variable length socket addresses ... modified to work
4862 with the rest of the world where we don't have such things.
4863
4864 2002-01-24 Richard Frith-Macdonald <rfm@gnu.org>
4865
4866 * Source/NSRunLoop.m: Correct returns from within exception handler.
4867 * Source/NSUserDefaults.m: use NSDefaultRunLoopMode.
4868 * Headers/gnustep/unicode/gsm0338.h: New character set mapping.
4869 * Source/Unicode.m: Add support for the GSM default alphabet.
4870 * Headers/gnustep/base/GSIMap.h: Add support for macros update when
4871 built with GSM_NEW defined (for use with NSMapTable in future).
4872 Various source files updated to use new GSI macros.
4873
4874 Mon Jan 21 17:08:42 2002 Nicola Pero <nicola@brainstorm.co.uk>
4875
4876 * Source/Makefile.postamble (after-uninstall): Removed GSConfig.h
4877 and mframe.h when uninstalling.
4878
4879 2002-01-16 Richard Frith-Macdonald <rfm@gnu.org>
4880
4881 * Source/NSRunLoop.m: Wrap code in exception handlers to reset current
4882 runloop mode if an exception occurs ... may remove this again if the
4883 performance is too bad.
4884 Use initialiser for NSTimer to avoid having to put timers into the
4885 autorelease pool.
4886 * Headers/Foundation/NSTimer.h: Expose GNUstep initialiser since
4887 OpenStep and MacOS-X don't have one.
4888
4889 Wed Jan 16 13:46:24 2002 Nicola Pero <nicola@brainstorm.co.uk>
4890
4891 Fixed dynamical loading of frameworks.
4892 * Source/NSBundle.m ([-_addFrameworkForClass:]): Fixed, should never
4893 be run during dynamical loading.
4894 * Source/NSBundle.m (_bundle_load_callback): Major simplification.
4895 Most code removed. Should run faster too.
4896 ([-load]): Do not DESTROY _bundle_load_callback's related
4897 variables.
4898
4899 Wed Jan 16 12:30:20 2002 Nicola Pero <nicola@brainstorm.co.uk>
4900
4901 * Source/NSBundle.m (_addFrameworkFromClass:): Fixed third argument
4902 of strncmp to be 12, not 12*sizeof(char).
4903
4904 2002-01-16 Richard Frith-Macdonald <rfm@gnu.org>
4905
4906 * Source/NSRunLoop.m: Modify to have a nil current mode if the loop
4907 is not running (MacOS-X compatibility) and documented the change
4908 for autogsdoc.
4909
4910 Tue Jan 15 02:53:56 2002 Nicola Pero <n.pero@mi.flashnet.it>
4911
4912 * Source/Makefile.postamble (after-distclean): Always remove
4913 SSL.bundle, regardless of any flags.
4914
4915 2002-01-13 Richard Frith-Macdonald <rfm@gnu.org>
4916
4917 * Tools/AGSParser.m: Mostly implemented parsing of C declarations
4918 (function, typedef, constant and variable).
4919
4920 2002-01-11 Richard Frith-Macdonald <rfm@gnu.org>
4921
4922 * Headers/Foundation/NSArchiver.h: tidyups
4923 * Source/NSDictionary.m: tidyups
4924 * Tools/AGSParser.m: a couple of declaration parsing fixes added,
4925 along with quite a bit of debugging. Function declaration parsing
4926 not yet working.
4927
4928 2002-01-10 Richard Frith-Macdonald <rfm@gnu.org>
4929
4930 * Source/NSDistributedNotificationCentre.m: Use NSHost user default
4931 to determine which server to connect to.
4932 * Tools/AGSParser.m: Minor parsing fixes ... correct GS_EXPORT
4933
4934 Wed Jan 9 11:55:54 2002 Nicola Pero <n.pero@mi.flashnet.it>
4935
4936 * configure.in: Call AC_CONFIG_AUX_DIR with
4937 $GNUSTEP_SYSTEM_ROOT/Makefiles arg so that gnustep-make's
4938 config.guess and config.sub are used.
4939 * configure: Regenerated.
4940 * config.guess: Removed.
4941 * config.sub: Removed.
4942 * install-sh: Removed.
4943 * mkinstalldirs: Removed.
4944 * Source/mframe/configure.in: Set AC_CONFIG_AUX_DIR to
4945 $GNUSTEP_SYSTEM_ROOT/Makefiles.
4946 * Source/mframe/configure: Regenerated.
4947 * Source/mframe/config.guess: Removed.
4948 * Source/mframe/config.sub: Removed.
4949
4950 Wed Jan 9 11:08:57 2002 Nicola Pero <n.pero@mi.flashnet.it>
4951
4952 * config.guess: Updated to latest version.
4953 * config.sub: Idem.
4954
4955 2002-01-08 Richard Frith-Macdonald <rfm@gnu.org>
4956
4957 * Tools/AGSHtml.h:
4958 * Tools/AGSHtml.m:
4959 * Tools/AGSIndex.h:
4960 * Tools/AGSIndex.m:
4961 * Tools/AGSOutput.h:
4962 * Tools/AGSOutput.m:
4963 * Tools/AGSParser.h:
4964 * Tools/AGSParser.m:
4965 * Tools/autogsdoc.m:
4966 * Tools/gsdoc-0_6_7.dtd:
4967 Updated for several changes ...
4968 Support documentation of instance variables
4969 Index class and category method names identically
4970 Extend index to have a listing of methods by unit
4971 Extend index to have a listing of ivariablese by class
4972 Use new extensions to double speed of generation of method
4973 indexes for classes.
4974
4975 2002-01-07 Adam Fedor <fedor@gnu.org>
4976
4977 * Version: 1.1.0
4978 * Documentation/news.texi: Update
4979
4980 * Source/NSObject.m (GSGetValue): Add case for void return
4981 (suggestion from ml@sbuilders.com).
4982
4983 * Resources/Languages/Dutch: Change currency to Euro.
4984 * Resources/Languages/French: Likewise.
4985 * Resources/Languages/German: Likewise.
4986 * Resources/Languages/Italian: Likewise.
4987 * Old languages files renamed to *.Old
4988
4989 2002-01-07 Richard Frith-Macdonald <rfm@gnu.org>
4990
4991 * Tools/AGSHtml.m: Minor speedup.
4992 * Tools/AGSOutput.m: Put something in place of empty descriptions.
4993 * Tools/AGSParser.m: Rewrite handling of standards information to fix
4994 bug in NO_GNUSTEP handling.
4995 * Source/GNUmakefile: Don't document concrete number stuff ... not
4996 public.
4997
4998 Sun Jan 6 22:33:55 2002 Nicola Pero <n.pero@mi.flashnet.it>
4999
5000 * Tools/HTMLLinker.m: Rewritten to fixup links by link name rather
5001 than link file. Can now be used to link HTML files generated by
5002 autogsdoc.
5003 * Tools/HTMLLinker.html: Updated for changes.
5004 * Tools/GNUmakefile: Install HTMLLinker.html.
5005
5006 2002-01-06 Richard Frith-Macdonald <rfm@gnu.org>
5007
5008 * Tools/autogsdoc.m: Minor bugfix ... any .h file processed should
5009 also be processed as a .gsdoc file to produce indexes and html.
5010 * Tools/AGSHtml.m: List *all* methods for a class in its method
5011 summary, even if they are in categories or are documented in
5012 other files.
5013
5014 2002-01-05 Richard Frith-Macdonald <rfm@gnu.org>
5015
5016 * Tools/autogsdoc.m: Simplify by removing SourceDirectory default.
5017 Change mechanism for handling multiple source files for one header
5018 (need capability to write dependency rules for make).
5019 * Tools/AGSParser.[hm]: Add mechanism to return list of source
5020 files on which a document depends.
5021 * Tools/gsdoc-0_6_7.dtd: Permit wider use of index element.
5022 * Tools/AGSHtml.m: ditto, and support indexing of category methods
5023 along with class methods.
5024 * Source/GNUmakefile (Base_AGSDOC_FLAGS): Remove the SourceDirectory
5025 option ... now assumed to be the current directory for simplicity.
5026 * Source/Base.gsdoc: Add class and protocol indexes.
5027
5028 2002-01-04 Richard Frith-Macdonald <rfm@gnu.org>
5029
5030 * Source/GNUmakefile (Base_AGSDOC_FLAGS): Fix to use
5031 -HeaderDirectory and -SourceDirectory to get docs to build again...
5032 hopefully with both sets of make rules.
5033
5034 Fri Jan 4 15:44:02 2002 Nicola Pero <n.pero@mi.flashnet.it>
5035
5036 * base.make.in (GNUSTEP_BASE_HAVE_LIBXML): Define.
5037 * Source/GNUmakefile (Base_AGSDOC_FLAGS): Do not use
5038 -HeaderDirectory.
5039 (Base_HEADER_FILES_DIR): Define.
5040 * Source/GNUmakefile: Include documentation.make only if doc=yes
5041 is passed on the command line.
5042 * Tools/GNUmakefile: Idem.
5043
5044 2002-01-04 Richard Frith-Macdonald <rfm@gnu.org>
5045
5046 * Tools/autogsdoc.m: Rearrange code somewhat and remove auto
5047 generation of index and 'up' links ... now requires an explicit
5048 -Up if you want one. Fix to support multiple source files parsed
5049 per interface file.
5050 * Tools/GNUmakefile: Add -Up for documentation generation
5051 * Source/GNUmakefile: ditto
5052
5053 Fri Jan 4 11:42:23 2002 Nicola Pero <n.pero@mi.flashnet.it>
5054
5055 * Tools/HTMLLinker.m: Implemented -FixupAllLinks, -PathMappings,
5056 -PathMappingsFile options. Made -CheckLinks default to YES.
5057 Added support for specifying a directory as input or destination
5058 file, meaning all html files found in the directory. Never
5059 attempt to fixup links starting with mailto: or news: or without a
5060 filename, even if running with -FixupAllLinks YES.
5061 * Tools/HTMLLinker.html: New file.
5062
5063 2002-01-03 Richard Frith-Macdonald <rfm@gnu.org>
5064
5065 * Source/autogsdoc.m: Fixup bug in html relocation code ... was
5066 failing to adjust string length variable correctly.
5067
5068 2002-01-03 Adam Fedor <fedor@gnu.org>
5069
5070 * Headers/gnustep/base/NSString.h: Extern constant string class
5071 reference for Darwin added.
5072 * Source/GSString.m ([NXConstantString +initialize]): Setup constant
5073 string class reference variable for Darwin.
5074 * Source/NSObject.m: Don't put reference count and zone with object
5075 on Darwin.
5076 * Source/behavior.m (NeXT_RUNTIME/behavior_class_add_class): Use NeXT
5077 runtime functions. Pass only one method_list at a time.
5078 (NeXT_RUNTIME/behavior_class_add_methods): Only look at one
5079 method_list at a time.
5080 (NeXT_RUNTIME/search_for_method_in_list): Use NeXT runtime functions.
5081
5082 Thu Jan 3 19:38:42 2002 Nicola Pero <n.pero@mi.flashnet.it>
5083
5084 * Tools/HTMLLinker.m: New tool.
5085 * Tools/GNUmakefile: Compile the new tool.
5086 * Tools/Makefile.preamble (ADDITIONAL_OBJCFLAGS): Use -Wall.
5087
5088 2002-01-03 Adam Fedor <fedor@gnu.org>
5089
5090 * Source/GSFFCallInvocation.m (gs_method_for_receiver_and_selector):
5091 Correct test for class.
5092
5093 * Source/GNUmakefile (AUTHORS): Remove target.
5094 * AUTHORS: Remove.
5095 * Admin/: Remove.
5096 * configure.bat: Likewise.
5097
5098 2002-01-03 Richard Frith-Macdonald <rfm@gnu.org>
5099
5100 * Header/Foundation/GSXML.h: Correction standards complience
5101 * Source/GSXML.m: A few documentation tidyups
5102 * Tools/autogsdoc.m: Some tidyups for improved performance
5103 and added code to relocate html documents.
5104 * Source/AGSIndex.[hm]: Minor API change to ease index handling,
5105 bugfix for class index generation.
5106 * Source/AGSHtml.m: Made index handling more consistent.
5107
5108 2002-01-02 Adam Fedor <fedor@gnu.org>
5109
5110 * configure.in: Show openssl as enabled by default in help. Check for
5111 more headers.
5112 * Source/NSTask.m: Move #includes to front, remove redundancies.
5113
5114 * Source/GSXML.m ([(non-libxml)GSXMLNode +forwardInvocation]):
5115 Implement.
5116
5117 * Documentation/GNUmakefile: Remove gnustep-base.texi
5118 * Documentation/install.texi: Update.
5119 * Documentation/news.texi: Likewise.
5120
5121 * Tools/autogsdoc.m (main): When no libxml, abort with a useful error
5122 message.
5123
5124 2002-01-02 Richard Frith-Macdonald <rfm@gnu.org>
5125
5126 * Source/GSXML.m: Tidied some methods and added autogsdoc comments.
5127 * Source/NSData.[hm]: implement ([-writeToURL:atomically:])
5128 * Source/GSXML.[hm]: Tidy document API to be more consistent
5129 with other classes. Add some autogsdoc comments.
5130 * Tools/AGSIndex.m: Bugfix in setting links to superclasses.
5131 * Tools/AGSOutput.m: Infinite recursion fix.
5132
5133 2002-01-01 Richard Frith-Macdonald <rfm@gnu.org>
5134
5135 * Source/GNUmakefile: Use new -Standards flag for autogsdoc
5136 * Tools/AGSparser.[hm]: New support for standards and some tidyups
5137 * Tools/AGSHtml.[hm]: Improved output and simplified a little.
5138 * Tools/autogsdoc.m: New Standards flag to turn on support for
5139 generation of standards complience notes in documentation.
5140
5141 Tue Jan 1 11:18:35 2002 Nicola Pero <n.pero@mi.flashnet.it>
5142
5143 * Source/NSFileManager.m (custom_strdup): New inline function
5144 to simplify code. (append_file_to_path): Use it.
5145 ([NSDirectoryEnumerator -initWithDirectoryPath:
5146 recurseIntoSubdirectories:followSymlinks:justContents:]):
5147 Idem.
5148 ([NSDirectoryEnumerator -nextObject]): Fixed memory leak (Reported
5149 by Brian Alliet <brian@brian-web.com>).
5150
5151 2001-12-31 Richard Frith-Macdonald <rfm@gnu.org>
5152
5153 * Source/behavior.m: behavior_class_add_methods() bugfix to ensure
5154 that despatch table is updated properly.
5155 search_for_method_in_list() deleted ... use version in gnu runtime.
5156 * Source/NSUserDefaults.m: Removed use of distributed lock ... we
5157 use atomic writes to file, so we don't need it. Also restructured
5158 a little to reduce file accesses when synchronising. Also tidied
5159 comments a little for autogsdoc.
5160
5161 2001-12-29 Adam Fedor <fedor@gnu.org>
5162
5163 * Source/behavior.m (class_add_behavior): Add depreciated function
5164 back.
5165
5166 2001-12-27 Adam Fedor <fedor@gnu.org>
5167
5168 * Headers/gnustep/base/objc-gnu2next.h: Disable __builtin functions
5169 for GCC < 3.x (darwin).
5170
5171 * Headers/gnustep/base/behavior.h: New defs for darwin/NeXT. Remove
5172 depreciated function.
5173 * Source/GSSet.m (+initialize): Use new behavior function in place
5174 of depreciated one.
5175 * Source/behavior.m (behavior_class_add_class): On darwin, allow
5176 NXConstantString class to increase in size.
5177 (behavior_class_add_category): New/rewrite for darwin methodLists
5178 structure.
5179 (behavior_class_add_methods): Likewise.
5180 (search_for_method_in_list): Likewise.
5181
5182 * Source/NSObject.m: Move ALIGN definition outside of #if
5183 (NSDecrementExtraRefCountWasZero): Change NSAssert to NSCAssert.
5184
5185 * Source/mframe.m (method_types_get_first_argument): Use
5186 method_types_get_next_argument.
5187
5188 * Source/Makefile.preamble: Additional flags for darwin linking.
5189
5190 * Source/libgnustep-base.def: Updated for new/removed classes.
5191
5192 2001-12-26 Richard Frith-Macdonald <rfm@gnu.org>
5193
5194 * Tools/autogsdoc.m: Add options for better control of index file and
5195 turning off dependency checking (for slightly more efficient running
5196 under make). Also added flag to enable/disable html generation.
5197 * Tools/AGSHtml.m: Fix a few errors in achnors and links to document
5198 titles.
5199
5200 2001-12-22 Richard Frith-Macdonald <rfm@gnu.org>
5201
5202 * Tools/autogsdoc.m: Fix bug in handling args introduceed by last
5203 modification. Removed next and prev linkage at Nicolas suggestion.
5204
5205 2001-12-21 Richard Frith-Macdonald <rfm@gnu.org>
5206
5207 * Tools/autogsdoc.m: Simplify file processing and cleanup so that
5208 spurious linkage and indexing is not done when run on a single file.
5209
5210 Fri Dec 21 13:50:50 2001 Nicola Pero <nicola@brainstorm.co.uk>
5211
5212 * Source/NSBundle.m ([+bundleForLibrary:]): New method.
5213 ([+bundleForTool:]): New method.
5214 * Headers/gnustep/base/NSBundle.h: Declare them.
5215
5216 Fri Dec 21 11:48:49 2001 Nicola Pero <nicola@brainstorm.co.uk>
5217
5218 * NSTimeZones/Makefile.postamble (timezonedir, before-install):
5219 Unused targets removed.
5220
5221 2001-12-19 Richard Frith-Macdonald <rfm@gnu.org>
5222
5223 * Source/GSXML.m: Check validation status at parse completion.
5224 * Source/NSUserDefaults.m: Ensure flags are initialised.
5225 * Source/GSCompatibility.m: Set GNUstep DTD for propertyLists.
5226 * Tools/plist-0_9.dtd: GNUstep property list DTD.
5227 * Source/autogsdoc.m: Improve dependency checking ... only regenerate
5228 project index when necessary, thus avoiding some gsdoc file parsing.
5229
5230 Wed Dec 19 02:17:09 2001 Nicola Pero <n.pero@mi.flashnet.it>
5231
5232 * Source/NSThread.m (GSRegisterCurrentThread): Use @defs to
5233 access protected variables of NSThread otherwise GCC 3.1 refuses to
5234 compile it.
5235 (GSUnregisterCurrentThread): Idem.
5236
5237 Tue Dec 18 18:02:07 2001 Nicola Pero <n.pero@mi.flashnet.it>
5238
5239 * Source/NSObject.m ([+conformsToProtocol:]): Fixed - it was
5240 checking that the metaclass conforms to the protocol rather than
5241 the class, which was causing it to fail for protocols implemented
5242 in categories.
5243
5244 2001-12-18 Richard Frith-Macdonald <rfm@gnu.org>
5245
5246 Many source files modified to contain date, version, and title info.
5247 * Tools/AGSHtml.m: Fix 'standards' output. Implement date and version.
5248 * Tools/AGSOutput.m: Add 'standards' support for class, category,
5249 and protocol. Use new standards info from parser.
5250 * Tools/AGSParser.h: New method to set current standards.
5251 * Tools/AGSParser.m: Implement simplistic parsing of preprocessor
5252 conditionals to set current standards based on STRICT_MACOS_X,
5253 STRICT_OPENSTEP, and NO_GNUSTEP. The presence of <standards>
5254 markup in the comments still takes precedence over this mechanism.
5255
5256 2001-12-18 Richard Frith-Macdonald <rfm@gnu.org>
5257
5258 * Source/GSXML.m: Bugfixes in setting parse behavior ... now turns
5259 on validation properly.
5260 * Tools/gsdoc-0_6_7.dtd: added 'scope' to index element and
5261 added a 'title' type to list files in a project.
5262 * Tools/AGSHtml.h:
5263 * Tools/AGSHtml.m: Output tidyups and general format improvements.
5264 Add links to other documents in project. Add support for 'index'
5265 element with both file and project scope.
5266 * Tools/autogsdoc.m: Clean up a little and handle gsdoc files
5267 listed as source files better .... now looks for them in the
5268 source directory. Added automatic generation of an 'index' file
5269 for a project where the first source file listed in the project
5270 is not a gsdoc file.
5271
5272 2001-12-17 Richard Frith-Macdonald <rfm@gnu.org>
5273
5274 * Headers/gnustep/base/GSMime.h: Updates for autogsdoc
5275 * Headers/gnustep/base/GSXML.h: ditto
5276 * Headers/gnustep/base/NSArray.h: ditto
5277 * Headers/gnustep/base/NSAttributedString.h: ditto
5278 * Headers/gnustep/base/NSAutoreleasePool.h: ditto
5279 * Headers/gnustep/base/NSCalendarDate.h: ditto
5280 * Headers/gnustep/base/NSCharacterSet.h: ditto
5281 * Headers/gnustep/base/NSCoder.h: ditto
5282 * Headers/gnustep/base/NSConnection.h: ditto
5283 * Headers/gnustep/base/NSData.h: ditto
5284 * Headers/gnustep/base/NSDate.h: ditto
5285 * Headers/gnustep/base/NSDistantObject.h: ditto
5286 * Headers/gnustep/base/NSDistributedNotificationCenter.h: ditto
5287 * Headers/gnustep/base/NSInvocation.h: ditto
5288 * Headers/gnustep/base/NSLock.h: ditto
5289 * Headers/gnustep/base/NSMethodSignature.h: ditto
5290 * Headers/gnustep/base/NSNotification.h: ditto
5291 * Headers/gnustep/base/NSObject.h: ditto
5292 * Headers/gnustep/base/NSProxy.h: ditto
5293 * Headers/gnustep/base/NSRunLoop.h: ditto
5294 * Headers/gnustep/base/NSSet.h: ditto
5295 * Headers/gnustep/base/NSTimeZone.h: ditto
5296 * Headers/gnustep/base/NSTimer.h: ditto
5297 * Headers/gnustep/base/NSURL.h: ditto
5298 * Headers/gnustep/base/NSUndoManager.h: ditto
5299 * Headers/gnustep/base/NSUserDefaults.h: ditto
5300 * Headers/gnustep/base/NSValue.h: ditto
5301 * Source/GSArray.m: ditto
5302 * Source/GSAttributedString.m: ditto
5303 * Source/GSCompatibility.m: ditto
5304 * Source/GSCountedSet.m: ditto
5305 * Source/GSDictionary.m: ditto
5306 * Source/GSFFCallInvocation.m: ditto
5307 * Source/GSFFIInvocation.m: ditto
5308 * Source/GSFormat.m: ditto
5309 * Source/GSHTTPURLHandle.m: ditto
5310 * Source/GSLocale.m: ditto
5311 * Source/GSMime.m: ditto
5312 * Source/GSSet.m: ditto
5313 * Source/GSString.m: ditto
5314 * Source/GSTcpPort.m: ditto
5315 * Source/GSUnixSSLHandle.m: ditto
5316 * Source/GSValue.m: ditto
5317 * Source/GSXML.m: ditto
5318 * Source/NSArchiver.m: ditto
5319 * Source/NSArray.m: ditto
5320 * Source/NSAssertionHandler.m: ditto
5321 * Source/NSAttributedString.m: ditto
5322 * Source/NSAutoreleasePool.m: ditto
5323 * Source/NSBitmapCharSet.m: ditto
5324 * Source/NSBundle.m: ditto
5325 * Source/NSCalendarDate.m: ditto
5326 * Source/NSCallBacks.m: ditto
5327 * Source/NSCharacterSet.m: ditto
5328 * Source/NSClassDescription.m: ditto
5329 * Source/NSCoder.m: ditto
5330 * Source/NSConnection.m: ditto
5331 * Source/NSCopyObject.m: ditto
5332 * Source/NSCountedSet.m: ditto
5333 * Source/NSData.m: ditto
5334 * Source/NSDate.m: ditto
5335 * Source/NSDateFormatter.m: ditto
5336 * Source/NSDebug.m: ditto
5337 * Source/NSDecimal.m: ditto
5338 * Source/NSDecimalNumber.m: ditto
5339 * Source/NSDictionary.m: ditto
5340 * Source/NSDistantObject.m: ditto
5341 * Source/NSDistributedLock.m: ditto
5342 * Source/NSDistributedNotificationCenter.m: ditto
5343 * Source/NSEnumerator.m: ditto
5344 * Source/NSException.m: ditto
5345 * Source/NSFileHandle.m: ditto
5346 * Source/NSFileManager.m: ditto
5347 * Source/NSFormatter.m: ditto
5348 * Source/NSGeometry.m: ditto
5349 * Source/NSHashTable.m: ditto
5350 * Source/NSHost.m: ditto
5351 * Source/NSInvocation.m: ditto
5352 * Source/NSLock.m: ditto
5353 * Source/NSLog.m: ditto
5354 * Source/NSMapTable.m: ditto
5355 * Source/NSMethodSignature.m: ditto
5356 * Source/NSNotification.m: ditto
5357 * Source/NSNotificationCenter.m: ditto
5358 * Source/NSNotificationQueue.m: ditto
5359 * Source/NSNull.m: ditto
5360 * Source/NSNumber.m: ditto
5361 * Source/NSNumberFormatter.m: ditto
5362 * Source/NSObjCRuntime.m: ditto
5363 * Source/NSPage.m: ditto
5364 * Source/NSPipe.m: ditto
5365 * Source/NSPort.m: ditto
5366 * Source/NSPortCoder.m: ditto
5367 * Source/NSPortMessage.m: ditto
5368 * Source/NSPortNameServer.m: ditto
5369 * Source/NSProcessInfo.m: ditto
5370 * Source/NSProtocolChecker.m: ditto
5371 * Source/NSProxy.m: ditto
5372 * Source/NSRange.m: ditto
5373 * Source/NSRunLoop.m: ditto
5374 * Source/NSScanner.m: ditto
5375 * Source/NSSerializer.m: ditto
5376 * Source/NSSet.m: ditto
5377 * Source/NSString.m: ditto
5378 * Source/NSTask.m: ditto
5379 * Source/NSThread.m: ditto
5380 * Source/NSTimeZone.m: ditto
5381 * Source/NSTimer.m: ditto
5382 * Source/NSURL.m: ditto
5383 * Source/NSURLHandle.m: ditto
5384 * Source/NSUnarchiver.m: ditto
5385 * Source/NSUndoManager.m: ditto
5386 * Source/NSUser.m: ditto
5387 * Source/NSUserDefaults.m: ditto
5388 * Source/NSValue.m: ditto
5389 * Source/NSZone.m: ditto
5390 * Source/Unicode.m: ditto
5391 * Source/UnixFileHandle.m: ditto
5392 * Source/WindowsFileHandle.m: ditto
5393 * Source/behavior.m: ditto
5394 * Source/callframe.m: ditto
5395 * Source/cifframe.m: ditto
5396 * Source/externs.m: ditto
5397 * Source/libgnustep-base-entry.m: ditto
5398 * Source/mframe.m: ditto
5399 * Source/o_array.m: ditto
5400 * Tools/AGSParser.m: ditto
5401 Ensure that initial comments in source code are sutogsdoc comments
5402 so copyright and author information will be used.
5403 Fix inconsistencies between arguments in headers and source files.
5404 Fix various bugs exposed by autogsdoc ... mostly cases where there
5405 is a semicolon after a method name in a method implementation
5406 (this is illegal, but the gcc compiler currently ignores it).
5407
5408 2001-12-17 Richard Frith-Macdonald <rfm@gnu.org>
5409
5410 * Tools/AGSHtml.m: Provide list of methods in each class.
5411 * Tools/AGSIndex.m: New method to list methods in a unit.
5412 * Tools/AGSIndex.h: New method to list methods in a unit.
5413 * Tools/AGSOutput.m: Support (name) syntax for specifying a protocol
5414 cross reference using [(name)-method]
5415 * Tools/autogsdoc.m: Improve documentation of method references.
5416 * Tools/AGSparser.m: Handle @class statements. Improve standardisation
5417 of the format of types.
5418
5419 2001-12-16 Richard Frith-Macdonald <rfm@gnu.org>
5420
5421 * Source/NSObject.m: Make initial comment an autogsdoc comment.
5422 * Tools/gsdoc-0_6_7.dtd: Fix protocol error reported by Adam
5423 * Tools/AGSHtml.h:
5424 * Tools/AGSHtml.m:
5425 * Tools/AGSIndex.h:
5426 * Tools/AGSIndex.m:
5427 * Tools/AGSOutput.h:
5428 * Tools/AGSOutput.m:
5429 * Tools/AGSParser.h:
5430 * Tools/AGSParser.m:
5431 * Tools/autogsdoc.m: Tidied initial comments to take advantage of
5432 new code to parse author and copyright details. Fixed several
5433 minor bugs in various parts of the software. Updated documentation.
5434
5435 2001-12-15 Fred Kiefer <FredKiefer@gmx.de>
5436
5437 * Tools/pl2link.m
5438 Better handling of MIME types.
5439
5440 2001-12-15 Richard Frith-Macdonald <rfm@gnu.org>
5441
5442 Many minor cleanups and bugfixes for autogsdoc. Alpha-test support
5443 for building base library documentation using autogsdoc ... lots of
5444 work remains to be done to improve the html output from autogsdoc
5445 and to add autogsdoc comments to the base library source code.
5446 * Tools/AGSIndex.h: improve merge control
5447 * Tools/AGSIndex.m: ditto
5448 * Tools/AGSHtml.h: new methods for cleaner indexing.
5449 * Tools/AGSHtml.m: ditto
5450 * Tools/AGSParser.m: minor bugfixes.
5451 Tools/GNUmakefile: Build autogsdoc documentation using autogsdoc.
5452 * Tools/autogsdoc.m: Fix minor dependency error. Fix for indexing
5453 where a version of the project being built is already installed.
5454 * Tools/gsdoc-0_6_7.dtd: Fix ivar support
5455 * Source/GSFFCallInvocation.m: minor debug output improvement.
5456 * Source/GNUmakefile: add basic instructions to build (but not install)
5457 documentation using autogsdoc. Don't want to install yet, as this is
5458 very much alpha-test stuff.
5459
5460 2001-12-13 Adam Fedor <fedor@gnu.org>
5461
5462 * Tools/pl2link.m: New file (from FredKiefer@gmx.de).
5463
5464 2001-12-12 Adam Fedor <fedor@gnu.org>
5465
5466 * Headers/gnustep/base/NSDebug.h: Include NSDebugLog functions
5467 when GSDIAGNOSE is defined.
5468
5469 2001-12-12 Richard Frith-Macdonald <rfm@gnu.org>
5470
5471 * Source/GSHTTPURLHandle.m: Remove GSHTPPropertyBodyKey ... make
5472 the ([writeData:]) method do nothing until the page is reloaded,
5473 so its behavior is consistent with ([writeProperty:forKey:]) and
5474 can be used in conjunction with background loading (ie all I/O
5475 is done during the load).
5476 * Source/NSURL.m: load resource data after setting it to force I/O
5477
5478 2001-12-11 Manuel Guesdon <mguesdon@orange-concept.com>
5479
5480 * Source/NSString.m: corrected bug in +stringByTrimmingSpaces
5481 (there was an exception when the string contains only spaces).
5482
5483 2001-12-08 Richard Frith-Macdonald <rfm@gnu.org>
5484
5485 * Documentation/gsdoc/NSDistantObjectRequest.gsdoc: note that the
5486 class does not exist (and why).
5487
5488 2001-12-08 Gregory Casamento <greg_casamento@yahoo.com>
5489 * Source/GNUmakefile added SSL_LIB_DIRS += -L$(GNUSTEP_OBJ_DIR)
5490 to prevent build from failing when building from scratch.
5491
5492 2001-12-08 Richard Frith-Macdonald <rfm@gnu.org>
5493
5494 * Source/NSAttributedString.m: ([initWithCoder:]) fix typo.
5495
5496 2001-12-07 Adam Fedor <fedor@gnu.org>
5497
5498 * Headers/gnustep/base/NSDebug.h: Add NSDebugLog functions
5499 when GSWARN is defined (not DEBUG).
5500
5501 2001-12-07 Richard Frith-Macdonald <rfm@gnu.org>
5502
5503 * Source/GSHTTPURLHandle.m: Understand GSHTPPropertyBodyKey so we
5504 can set data to be posted in background.
5505
5506 2001-12-06 Richard Frith-Macdonald <rfm@gnu.org>
5507
5508 * Source/GNUmakefile: Add library dependencies for SSL bundle ...
5509 it needs libobjc and libgnustep-base to be linked.
5510 * Source/NSFileHandle.m: Only try to load SSL bundle if asked for.
5511
5512 Mon Dec 5 16:32:31 2001 Adam Fedor <fedor@yogi.doc.com>
5513
5514 * Source/GSHTTPURLHandle.m: Include sys/fcntl.h for O_WRONLY, etc
5515 (on Solaris).
5516
5517 2001-12-04 Richard Frith-Macdonald <rfm@gnu.org>
5518
5519 * Source/GNUmakefile: Add flags for SSL and rules to build bundle
5520 * Source/GSHTTPURLHandle.m: use +sslClass
5521 * Source/GSUnixSSLHandle.m: Extract SSL support for bundle to this file.
5522 * Source/Makefile.preamble: Add flags for SSL
5523 * Source/NSFileHandle.m: Add +sslClass and automated loading of bundle
5524 * Source/UnixFileHandle.m: Remove SSL support.
5525 * Headers/gnustep/base/NSFileHandle.h: Add +sslClass
5526 * Headers/gnustep/base/UnixFileHandle.h: Tidy a little.
5527 * config.mak.in: Add variables needed by SSL bundle
5528 * configure.in: Update to build SSL bundle by default.
5529 * configure: regenerated
5530 The above changes made to move SSL support into a bundle and add a
5531 +sslClass to NSFileHandle to return the class from the bundle if it
5532 is available. Changed the http url handle support to use this.
5533
5534 2001-12-04 Richard Frith-Macdonald <rfm@gnu.org>
5535
5536 * Source/NSValue.m: polish last set of changes -
5537 Optimisation ... cut memory allocation/deallocation to a minimum.
5538 Versioning ... set NSValue version number and attempt to decode
5539 old format objects.
5540 Simplification ... remove redundant code in placeholder class.
5541 Fixes ... allocate new objects in correct memory zone, I think a few
5542 others I forgot.
5543 * Source/NSNumberFormatter.m (-initWithCoder:): Avoid unnecessary
5544 autorelease/retain sequences. (-init): Fix illegal re-initialisation
5545 of initialised values and avoid unnecessary use of autorelease.
5546
5547 2001-12-03 Laurent Julliard <laurent@moldus.org>
5548
5549 * Source/NSNumberFormatter.m (-initWithCoder:): decoded objects
5550 must be retained
5551
5552 2001-12-03 Richard Frith-Macdonald <rfm@gnu.org>
5553
5554 * Source/NSValue.m: Fix coding/decoding to use serialization code to
5555 maintain byte order and word size compatibility.
5556 * Source/GSValue.m: ditto
5557 * Testing/values.m: added encoding/decoding tests.
5558 * Source/GSMime.m: Tidied handling of continuations a little.
5559 * Source/GSHTTPURLHandle.m: Added some debug logging.
5560
5561 Sat Dec 1 10:11:18 2001 Nicola Pero <n.pero@mi.flashnet.it>
5562
5563 * Makefile.postamble (base.make): Depend on configure.
5564 (config.mak): Idem.
5565
5566 Sat Dec 1 09:29:43 2001 Nicola Pero <n.pero@mi.flashnet.it>
5567
5568 * Makefile.postamble (base.make): New target.
5569 (config.mak): New target.
5570
5571 2001-11-29 Richard Frith-Macdonald <rfm@gnu.org>
5572
5573 * Source/NSScanner.m: Fix memory leak when initialised with something
5574 other than a constant string.
5575
5576 2001-11-28 Adam Fedor <fedor@gnu.org>
5577
5578 * Documentation/gsdoc/Base.gsdoc: Add NSLanguages summary.
5579
5580 2001-11-27 Richard Frith-Macdonald <rfm@gnu.org>
5581
5582 * Source/NSConnection.m: Put a limit of around a second on how long
5583 the delay between polling for incoming packets can grow to ...
5584 improve response on heavily loaded systems.
5585 * Source/GSHTTPURLHandle.m: ditto
5586 * Tools/autogsdoc.m: Tidied structure a little and added file
5587 modification date checks to see whether files should be regenerated
5588 or not.
5589
5590 2001-11-24 Fred Kiefer <FredKiefer@gmx.de>
5591
5592 * Headers/Foundation/NSURL.h
5593 Declare NSNumber, so that it compiles without complaining.
5594
5595 2001-11-23 Laurent Julliard <laurent@julliard-online.org>
5596
5597 * Source/NSNumberFormatter.m (-encodeWithCoder:, -initWithCode:):
5598 fixed buggy encoder and decoder and code cleanup.
5599
5600 2001-11-22 Laurent Julliard <Laurent.Julliard@xrce.xerox.com>
5601
5602 * Headers/gnustep/base/Foundation.h: Fixed NSNumberFormatter.h
5603 missing.
5604
5605 Thu Nov 22 00:52:57 2001 Nicola Pero <n.pero@mi.flashnet.it>
5606
5607 * GNUmakefile (CVS_MODULE_NAME): Define.
5608
5609 2001-11-21 Richard Frith-Macdonald <rfm@gnu.org>
5610
5611 * Tools/AGSOutput.m:
5612 * Tools/AGSOutput.h:
5613 * Tools/AGSIndex.h:
5614 * Tools/AGSIndex.m:
5615 * Tools/AGSParser.h:
5616 * Tools/AGSParser.m:
5617 * Tools/AGSHtml.h:
5618 * Tools/AGSHtml.m:
5619 * Tools/autogsdoc.m: Many bugfixes and enhancements ... generate
5620 html as well as gsdoc.
5621
5622 2001-11-19 Richard Frith-Macdonald <rfm@gnu.org>
5623
5624 * Source/GSXML.m: Implement NSCopying protocol for most classes.
5625
5626 2001-11-19 Adam Fedor <fedor@gnu.org>
5627
5628 * Source/simple-load.h (__objc_dynamic_get_symbol_path): Fix
5629 typo.
5630
5631 * Tools/gdomap.c (nameServer): Print strerror before exiting for
5632 more helpful message.
5633
5634 2001-11-13 Richard Frith-Macdonald <rfm@gnu.org>
5635
5636 * Source/NSUser.m:
5637 * Headers/Foundation/NSUserDefaults.h:
5638 * Documentation/gsdoc/NSUserDefaults.gsdoc:
5639 * Source/NSUserDefaults.m: Changed the method name +resetUserDefaults
5640 to be +resetStandardUserDefaults for compatibility with MacOS-X, which
5641 has now implemented an equivalent for the GNUstep method.
5642 * Source/NSPortNameServer.m: When removing a port, remove from
5643 internal name tables even if gdomap reports no name to unregister.
5644 In ([-removePort:]) retain set of names for duration of operation -
5645 fix suggested by Gerrit Van Dyk
5646
5647 2001-11-12 Richard Frith-Macdonald <rfm@gnu.org>
5648
5649 * Source/NSNumber.m: describe char and unsigned char as numbers
5650 rather than ascii characters. Use g format for floats.
5651 Use 'true' and 'false' for boolean output ... for MacOS-X compatibility.
5652 * Source/NSConcreteNumber.m: ditto
5653 * Source/GSFormat.m: Fix bug in formatting short integers - was trying
5654 to treat them as full sized.
5655 * headers/Foundation/NSString.h: Fix error in initWithFormat:locale:,...
5656 * Source/NSString.m: ditto ... was missing varargs
5657 * Documentation/gsdoc/NSNumber.gsdoc: document changes.
5658 * Documentation/gsdoc/NSString.gsdoc: document changes.
5659 * Testing/values.m: Added some number output tests.
5660 * Source/NSUserDefaults.m: Locking bug fixed ... was locking before
5661 lock had been created.
5662 * Source/libgnustep-base.def: Removed defunct class
5663 * Source/NSHost.m: Support initialisation with an address for which
5664 there is no corrsponding host name.
5665
5666 2001-11-09 Richard Frith-Macdonald <rfm@gnu.org>
5667
5668 * Documentation/gsdoc/Base.gsdoc:
5669 * Source/GSCompatibility.m:
5670 * Source/GSMime.m:
5671 * Source/GSUserDefaults.h:
5672 * Source/NSArray.m:
5673 * Source/NSCalendarDate.m:
5674 * Source/NSDate.m:
5675 * Source/NSDecimalNumber.m:
5676 * Source/NSDictionary.m:
5677 * Source/NSFileHandle.m:
5678 * Source/NSGeometry.m:
5679 * Source/NSLog.m:
5680 * Source/NSScanner.m:
5681 * Source/NSString.m:
5682 * Source/NSUserDefaults.m: Modify user defaults usage to cache some
5683 defaults used internally and provide private accessors for speed.
5684 Add default to force logging to be done via syslog since logging
5685 to stderr within code called via JIGS from a servlet engine may
5686 cause severe problems if the servlet engine is using descriptor 2
5687 for other purposes.
5688
5689 2001-11-09 Richard Frith-Macdonald <rfm@gnu.org>
5690
5691 * Source/GSMime.m: modifications made to support HTTP continuation
5692 responses for buggy webservers which send them when they shouldn't.
5693
5694 2001-11-08 Richard Frith-Macdonald <rfm@gnu.org>
5695
5696 * Source/GSHTTPHURLHandle.m: handle writing of nil properties and
5697 use of empty strings as proxy settings. Minimise delays when
5698 tunneling SSL
5699 * Source/UnixFileHandle.m: Improve error logging with ssl.
5700
5701 2001-11-07 Richard Frith-Macdonald <rfm@gnu.org>
5702
5703 * Headers/foundation/NSUserDefaults.h: Add _lock ivar
5704 * Source/NSUserDefaults.m: initial attempt at thread-safety.
5705
5706 2001-11-07 Richard Frith-Macdonald <rfm@gnu.org>
5707
5708 * Headers/Foundation/NSString.h: removed stringByTrimming...Whitespace
5709 methods as they just duplicate the stringByTrimming...Spaces
5710 * Source/NSString.m: ditto
5711 Optimised the space trimming methods - avoid using character sets and
5712 creating unnecessary intermediary objects.
5713
5714 2001-11-07 Richard Frith-Macdonald <rfm@gnu.org>
5715
5716 * Source/NSUserDefaults.m: force defaults data to be read/write
5717 only to the user. Supplied by Ludovic Marcotte
5718
5719 Wed Nov 7 09:04:51 2001 Nicola Pero <n.pero@mi.flashnet.it>
5720
5721 After this change you need the latest gnustep-make to compile.
5722 * Source/Makefile.postamble: Removed rules to manually compile
5723 NSInvocation.m, NSConnection.m and mframe.m.
5724 (mframe.m_FILE_FILTER_OUT_FLAGS): Set to filter out optimization
5725 flags when compiling mframe.m.
5726 (NSConnection.m_FILE_FILTER_OUT_FLAGS): Idem.
5727 (NSInvocation.m_FILE_FILTER_OUT_FLAGS): Idem.
5728
5729 2001-11-01 Adam Fedor <fedor@gnu.org>
5730
5731 * Source/NSData.m: Add an include to avoid some warnings.
5732
5733 Tue Oct 30 14:33:48 2001 Nicola Pero <nicola@brainstorm.co.uk>
5734
5735 * Testing/benchmark.m (bench_object): Added test showing that a
5736 call to super in a category method - no matter if a class or an
5737 instance method - has the same big performance hit that a class
5738 method invocation has - at least with the current GNU runtime.
5739
5740 2001-10-28 Adam Fedor <fedor@gnu.org>
5741
5742 * Source/NSFileManager.m (_attributesAtPath:traverseLink:forCopy:):
5743 Make NSLog message into fprintf to avoid recursion.
5744
5745 * Source/NSUserDefaults.m (pathForUser): Create ~/GNUstep/Library
5746 if it doesn't exist.
5747
5748 2001-10-26 Adam Fedor <fedor@gnu.org>
5749
5750 * configure (z): Check for gzseek in zlib since older zlibs don't
5751 have it. Fix check for LLONG_MAX (check if includes exist), same
5752 with uintmax_t
5753 * Source/GSFormat.h: Include stdint.h or inttypes.h if we have it.
5754 Proper check for LONG_LONG_MAX or LLONG_MAX.
5755
5756 2001-10-25 Adam Fedor <fedor@gnu.org>
5757
5758 * aclocal.m4 (AC_SYS_PROCFS): Typo fix, use AC_ARG_ENABLE. Make
5759 sure cache var is set to no if disabled.
5760 (AC_SYS_PROCFS_EXE_LINK): Likewise.
5761
5762 * configure.in: Check for LLONG_MAX. Check for -lcipher.
5763 (Patch from chrisv@web4inc.com with modifications).
5764 * Source/GSFormat.m: If we have LLONG_MAX, define LONG_LONG_MAX
5765 to match.
5766 * Source/NSScanner.m: Likewise.
5767
5768 2001-10-24 Richard Frith-Macdonald <rfm@gnu.org>
5769
5770 * configure.in: Check for zlib
5771 * Headers/gnustep/base/GSConfig.h.in: Define HAVE_ZLIB
5772 * Headers/gnustep/base/NSFileHandle.h: Add useCompression extension
5773 * Headers/gnustep/base/UnixFileHandle.h: ditto
5774 * Source/UnixFileHandle.m: Add support for read/write with compression
5775 using zlib. Activate with -useCompression
5776
5777 2001-10-19 Richard Frith-Macdonald <rfm@gnu.org>
5778
5779 * Headers/Foundation/NSNumberFormatter.h: ivars aded and updated.
5780 * Source/NSNumberFormatter.m: implemented dealloc, copy, coding and
5781 all the ivar setting/getting methods.
5782
5783 2001-10-18 Richard Frith-Macdonald <rfm@gnu.org>
5784
5785 * Source/NSString.m: ([+stringWithCString:]) check for nul pointer.
5786
5787 2001-10-17 Adam Fedor <fedor@gnu.org>
5788
5789 * configure.in (GNUSTEP_LDIR): Look for libobjc in
5790 .../$LIBRARY_COMBO first.
5791
5792 2001-10-16 Adam Fedor <fedor@gnu.org>
5793
5794 * Source/GNUmakefile: Strip drive names from paths.
5795
5796 * Source/GSXML.m: Add dummy GSXMLParser when not using libxml.
5797 * Source/NSBundle.m (_absolutePathOfExecutable:): Check for
5798 'Path' variable also (for Windows).
5799 * Source/NSUser.m (GSStringFromWin32EnvironmentVariable): New
5800 function.
5801 (NSHomeDirectoryForUser): Use it.
5802 (setupPathNames): Prepend systemDrive to compiled in root
5803 paths.
5804 (patches from stephen@brandonitconsulting.co.uk).
5805
5806 * Source/NSFileManager.m (_attributesAtPath:traverseLink:forCopy:):
5807 On (sparc && DEBUG) disable the setgrent functions which cause gdb
5808 to crash.
5809
5810 2001-10-15 Richard Frith-Macdonald <rfm@gnu.org>
5811
5812 * Source/GNUmakefile:
5813 * Source/GSXML.m:
5814 * Headers/Foundation/GSXML.h: Build and install dummy version if
5815 libxml is not available.
5816 * Tools/GNUmakefile:
5817 * Tools/AGSIndex.h:
5818 * Tools/AGSIndex.m:
5819 * Tools/AGSOutput.h:
5820 * Tools/AGSOutput.m:
5821 * Tools/AGSParser.h:
5822 * Tools/AGSParser.m:
5823 * Tools/autogsdoc.m: Many bugfixes and additions, bew code to
5824 generate indexes.
5825
5826 2001-10-15 Richard Frith-Macdonald <rfm@gnu.org>
5827
5828 * Tools/AGSOutput.m: Added new 'unit' pseudo-markup to permit
5829 control over chapter layout for a chapter containing class,
5830 category, or protocol documentation.
5831
5832 2001-10-14 Fred Kiefer <FredKiefer@gmx.de>
5833
5834 * Source/Unicode.m:
5835 In iconv_cstrtoustr() and iconv_ustrtocstr() report if a iconv
5836 conversion cannot be found. Also added a type convert to the iconv
5837 call, so that the compiler wont report a type mismatch.
5838
5839 2001-10-13 Adam Fedor <fedor@gnu.org>
5840
5841 * Headers/gnustep/base/NSPathUtilities.h (GSSystemRootDirectory):
5842 New function.
5843 * Source/GNUmakefile: Define GNUSTEP_LOCAL_ROOT and
5844 GNUSTEP_NETWORK_ROOT paths on compile line.
5845 * Source/NSUser.m (setupPathNames): Use compiled in paths as backup
5846 if environment variables not found.
5847 (GSStandardPathPrefixes): Make sure a non-nil result is returned.
5848 (GSSystemRootDirectory). Implement.
5849 * Source/NSDistributedNotificationCenter.m (_connect): Use it to
5850 find gdnc.
5851 * Source/NSPortNameServer.m (initialize): Use it to find gdomap.
5852
5853 2001-10-13 Richard Frith-Macdonald <rfm@gnu.org>
5854
5855 * Source/GSFFCallInvocation.m: Change #import to #include
5856 * Source/NSProtocolChecker.m: Change #import to #include
5857 * Testing/containers.m: Change #import to #include
5858 * Tools/AGSOutput.h: Return string rather than writing to file
5859 * Tools/AGSOutput.m: Return string rather than writing to file
5860 * Tools/autogsdoc.m: Hnalde file writing.
5861 * Tools/plmerge.m: Change #import to #include
5862
5863 2001-10-11 Richard Frith-Macdonald <rfm@gnu.org>
5864
5865 * Tools/GNUmakefile: Addend new files.
5866 * Tools/AGSOutput.h: Support class for autogsdoc
5867 * Tools/AGSOutput.m: ditto
5868 * Tools/AGSParser.h: ditto
5869 * Tools/AGSParser.m: ditto
5870 * Tools/autogsdoc.m: New tool to generate gsdoc files from ObjC
5871 header and source files. Uses comments with a '/**' prefix
5872 (like javadoc) to provide nice information about classes and/or
5873 methods.
5874 This is very much an initial/alpha version but it is already
5875 quite useful.
5876
5877 2001-10-06 Richard Frith-Macdonald <rfm@gnu.org>
5878
5879 * Source/NSConnection.m: Increase default timeouts to max value.
5880 Improve algorithm for polling for messages when waiting for a reply
5881 in multithreaded mode ... use fibonacci sequence for delays rather
5882 than doubling each time.
5883 * Headers/Foundation/NSConnection.h: Remove default timeout constant.
5884 * configure.in: Check for float.h, not for values.h
5885 * Documentation/gsdoc/NSConnection.gsdoc: updated.
5886
5887 2001-10-05 Richard Frith-Macdonald <rfm@gnu.org>
5888
5889 * NSTimeZones/NSTimeZones.tar: Updated to latest info.
5890
5891 2001-10-02 Richard Frith-Macdonald <rfm@gnu.org>
5892
5893 * Source/NSLog.m: _NSLog_standard_printf_handler() modified to output
5894 message as UTF8 data if it can't be done as ASCII
5895
5896 2001-09-27 Richard Frith-Macdonald <rfm@gnu.org>
5897
5898 * Source/NSString: setupQuotables() ... add several characters to the
5899 set of those valid in an unquoted string ... so read back of NSNumber
5900 values encoded as strings works ... problem reported by Rene Cornilis.
5901
5902 2001-09-26 Richard Frith-Macdonald <rfm@gnu.org>
5903
5904 * Source/GNUmakefile: install DistributedObjects.h in gnustep/base
5905 rather than Foundation .... but it's an internal header - should
5906 it be installed at all?
5907
5908 2001-09-25 Adam Fedor <fedor@gnu.org>
5909
5910 * configure.in: Typo in saving CPPFLAGS during iconv test.
5911
5912 2001-09-21 Adam Fedor <fedor@gnu.org>
5913
5914 * configure.in: Typo in iconv cached value.
5915 * Headers/gnustep/base/NSGeometry.h: Make const values static also.
5916 * Source/NSConnection.m: Remove obsolete BROKEN_NESTED code.
5917 * Source/Unicode.m: Dynamically determine best Unicode encoding.
5918
5919 2001-09-21 Richard Frith-Macdonald <rfm@gnu.org>
5920
5921 * Headers/gnustep/base/DistributedObjects.h:
5922 * Source/GSFFCallInvocation.m:
5923 * Source/NSConnection.m:
5924 * Source/NSInvocation.m:
5925 * Source/callframe.h:
5926 * Source/callframe.m:
5927 Modifications to callframe handling to store pointers to data to
5928 be freed in order to be able to tidy up after an exception ...
5929 Appears to cure memory leak in ffcall code.
5930 No fix yest for mframe or ffi code.
5931
5932 2001-09-20 Richard Frith-Macdonald <rfm@gnu.org>
5933
5934 * Testing/nsconnection_client.m: Added simple exception tests
5935 * Testing/nsconnection_server.m: Added simple exception tests
5936 * Testing/server.h: Added simple exception tests
5937
5938 2001-09-19 Richard Frith-Macdonald <rfm@gnu.org>
5939
5940 * Source/NSConnection.m: rewrite ethod call code.
5941 * Source/callframe.h: ditto
5942 * Source/callframe.m: ditto
5943 * Source/cifframe.h: ditto
5944 * Source/cifframe.m: ditto
5945 * Source/mframe.m: ditto
5946 * Source/mframe/mframe.head: ditto
5947 * Headers/gnustep/base/DistributedObjects.h: Adde new DOContext struct.
5948 Rewrite code for moving data to/from method call stackframes and
5949 encoding/decoding it. The functions to encode/decode each data item
5950 are no longer nested, and pass a context structure around which
5951 provides for more information to be passed between the various layers
5952 of the process so that the whole thing is thread-safe and we don't
5953 get cases where code in one place tries to work with an object that
5954 was released in another place.
5955 Tested pretty extensively for libffcall stuff, with the simple test
5956 programs for maframe, and not at all for libffi.
5957
5958 2001-09-19 Adam Fedor <fedor@gnu.org>
5959
5960 * configure.in: Put CPPFLAGS in quotes
5961
5962 2001-09-14 Adam Fedor <fedor@gnu.org>
5963
5964 * configure.in: Remove redundancies in iconv checking. Remove
5965 redundant AC_SUBST(LIBS) lines.
5966
5967 2001-09-12 Adam Fedor <fedor@gnu.org>
5968
5969 * Source/thr-pthread.m (objc_yield): Replace pthread_yield with
5970 sched_yield.
5971
5972 2001-09-11 Adam Fedor <fedor@gnu.org>
5973
5974 * configure.in: Make sure to subst HAVE_PTHREAD_H into config.mak
5975
5976 2001-09-08 Richard Frith-Macdonald <rfm@gnu.org>
5977
5978 * Source/GSCompatibility.m: GSXMLPlMake() unused argument removed.
5979 * Source/NSData.m: Unused and commented out XML plist code removed.
5980 * Source/NSString.m: ditto
5981 * Source/NSArray.m: Generate XML plists only when writing to file
5982 or to URL, not for the -description... methods.
5983 This is what MacOS-X does.
5984 * Source/NSDictionary.m: ditto
5985
5986 2001-09-05 Adam Fedor <fedor@gnu.org>
5987
5988 * configure.in: Define BROKEN_NESTED_FUNCTIONS if compiler sucks.
5989 * Source/NSArray.m (-sortedArrayUsingSelector:): Remove nested
5990 function.
5991 ([NSMutableArray -sortUsingSelector:]): Likewise.
5992 * Source/NSConnection.m (-forwardForProxy:selector:argFrame:):
5993 Use external encode/decode functions if BROKEN_NESTED_FUNCTIONS.
5994 (-forwardInvocation:forProxy:): Likewise.
5995 (-_service_forwardForProxy:): Likewise.
5996 * Source/mframe.m (mframe_build_return_opts): Remove and
5997 consolidate nested functions.
5998 (mframe_handle_return): Likewise.
5999
6000 2001-08-31 Adam Fedor <fedor@gnu.org>
6001
6002 * Resources/French/Localizable.strings: Update (from
6003 Michael Scheibler <michael.scheibler@onevision.de>).
6004
6005 Fri Aug 31 11:58:42 2001 Nicola Pero <nicola@brainstorm.co.uk>
6006
6007 * Documentation/gsdoc/NSFunctions.gsdoc: Documented the
6008 localization functions/macros: NSLocalizedString,
6009 NSLocalizedStringFromTable, NSLocalizedStringFromTableInBundle,
6010 NSLocalizedStaticString, _ and __.
6011
6012 2001-08-30 Adam Fedor <fedor@gnu.org>
6013
6014 * Tools/sfparse.m: Add code to convert files to Unicode.
6015 * Resources/German/Localizable.strings: Convert to Unicode.
6016 * Resources/French/Localizable.strings: Likewise.
6017
6018 Thu Aug 30 20:03:19 2001 Nicola Pero <n.pero@mi.flashnet.it>
6019
6020 * Source/objc-load.m (objc_load_module): Reset the load callbacks
6021 to 0 when we abort loading the module because of an error
6022 (Reported by Michael Scheibler <michael.scheibler@onevision.de>).
6023
6024 Thu Aug 30 13:08:17 2001 Nicola Pero <nicola@brainstorm.co.uk>
6025
6026 * Documentation/gsdoc/NSObject.gsdoc: Added description of the
6027 class; documented alloc, allocWithZone:, class, new, dealloc
6028 methods.
6029
6030 2001-08-29 Adam Fedor <fedor@gnu.org>
6031
6032 * Source/objc-gnu2next.m (next_objc_msg_send): Fix incorrect def.
6033
6034 Mon Aug 28 23:45:15 2001 Nicola Pero <n.pero@mi.flashnet.it>
6035
6036 * Source/NSCalendarDate.m ([+dateWithString:calendarFormat:]):
6037 Call alloc on self, rather than on the hardcoded NSCalendarDate
6038 class, so it works in subclasses.
6039 ([+dateWithString:calendarFormat:locale:]): Idem.
6040 ([+dateWithYear:month:day:hour:minute:second:timeZone:]): Idem.
6041
6042 2001-08-28 Georg Fleischmann <georg@vhf.de>
6043
6044 * base/Source/NSCalendarDate.m [NSCalendarDate
6045 descriptionWithCalendarFormat:locale:]: make milliseconds
6046 work (%F)
6047
6048 2001-08-28 Adam Fedor <fedor@gnu.org>
6049
6050 * Headers/gnustep/base/objc-gnu2next.h: More defs.
6051 * Source/NSObject.m (-methodSignatureForSelector:): Use sel_get_type.
6052
6053 * Source/mframe.m (method_types_get_first_argument): New function.
6054 (method_types_get_sizeof_arguments): Likewise.
6055 * Source/objc-gnu2next.m (next_objc_msg_sendv): Use them.
6056
6057 2001-08-21 Willem Rein Oudshoorn <woudshoo@xs4all.nl>
6058
6059 * Source/GSFFCallInvocation.m: Clearified comments
6060 (gs_method_for_receiver_and_selector) added
6061 (GSInvocationCallback): Check if forwardInvocation: is
6062 implemented to avoid infinite recursion bug.
6063
6064 Fri Aug 24 12:34:56 2001 Nicola Pero <nicola@brainstorm.co.uk>
6065
6066 * Source/NSUserDefaults.m ([-__createArgumentDictionary]): Make
6067 sure we don't crash trying to parse an argument as a property
6068 list.
6069
6070 Fri Aug 24 10:23:02 2001 Nicola Pero <nicola@brainstorm.co.uk>
6071
6072 * Resources/Italian.lproj/Localizable.strings: New file.
6073 * Resources/GNUmakefile (LANGUAGES): Added Italian.
6074
6075 2001-08-21 Adam Fedor <fedor@gnu.org>
6076
6077 * Resources/English.lproj/Localizable.strings: New file
6078 * Resources/German.lproj/Localizable.strings: Likewise.
6079 * Resources/French.lproj/Localizable.strings: Likewise.
6080 * Resources/GNUmakefile: Install them. (files from
6081 michael.scheibler@onevision.de)
6082
6083 * config/config.loadtest.m: Make Test inheret from Object
6084 (Darwin objc checks that classes implement forward::).
6085 * config/config.objc.m: Likewise.
6086
6087 2001-08-20 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
6088
6089 * Documentation/gsdoc/ NSPipe.{gsdoc, html}: this class has been
6090 forgotten
6091 * Documentation/gsdoc/{Base, NSObject, NSPort}.{gsdoc, html}:
6092 updates to the links to show NSPipe
6093
6094 2001-08-16 Richard Frith-Macdonald <rfm@gnu.org>
6095
6096 * Tools/gsdoc.m: ([-initWithFileName:]) call xmlKeepBlanksDefault(0)
6097 to handle change in recent libxml whitespace handling.
6098
6099 2001-08-10 Richard Frith-Macdonald <rfm@gnu.org>
6100
6101 * Source/NSDistantObject.m: Tidy method lookup code.
6102 * Source/NSString.m: Handle nil content when parsing xml elements.
6103
6104 2001-08-06 Willem Rein Oudshoorn <wim@xs4all.nl>
6105
6106 * Source/GSFFCallInvocation.m: Forwarding:
6107 thread safe, handle missing typeinformation better,
6108 performance improvement.
6109 Minor tidyups by RFM
6110
6111 2001-08-06 Richard Frith-Macdonald <rfm@gnu.org>
6112
6113 * Source/GSMime.m: ([-decodeData:fromRange:intoData:withContext:])
6114 One line fix suggested by Stephen Brandon
6115 * Source/GSMime.m: ([-_decodeBody:]) fix parsing multipart documents
6116 as there was an error in the logic for testing to see if the sub docs
6117 had been parsed correctly.
6118
6119 2001-08-03 Adam Fedor <fedor@gnu.org>
6120
6121 * Source/NSObject.m: Don't decl __objc_responds_to on Darwin
6122 * Source/NSProxy.m: Likewise.
6123
6124 2001-08-03 Richard Frith-Macdonald <rfm@gnu.org>
6125
6126 * Headers/Foundation/Unicode.h: API Change
6127 * Source/Unicode.m: API Change ... remove old string conversion
6128 functions and replace with two functions, both of which differentiate
6129 between lengths of the source strings and sizes of destination buffers.
6130 * Source/NSString.m: Update for changes to Unicode.[hm]
6131 * Source/GSString.m: Update for changes to Unicode.[hm]
6132
6133 2001-08-02 Richard Frith-Macdonald <rfm@gnu.org>
6134
6135 * Source/NSPortNameServer.m: Log the host we are connecting to
6136 when we produce a warning for a failure of a link to gdomap.
6137 * Source/GSHTTPURLHandle.m: ([-propertyForKeyIfAvailable:]) return
6138 nil if the property is not available.
6139
6140 2001-08-01 Richard Frith-Macdonald <rfm@gnu.org>
6141
6142 * Documentation/gsdoc/Base.gsdoc: Documented all the uses of
6143 environment variables I could find.
6144 * Source/NSUserDefaults.m: __createArgumentDictionary ... handle
6145 property lists as arguments correctly.
6146 * Source/NSUser.m: Added GSTooldDirectory to listable paths.
6147
6148 2001-07-31 Richard Frith-Macdonald <rfm@gnu.org>
6149
6150 * Source/GSFFCallInvocation.m: attempt to guess type signature
6151 when compiler gives us an untyped selector.
6152 * Headers/Foundation/NSObject.h: ASSIGN(), ASSIGNCOPY(), minor
6153 reordering to make these macros thread-safe.
6154
6155 2001-07-30 Adam Fedor <fedor@gnu.org>
6156
6157 * Headers/gnustep/base/NSObjCRuntime.h: Export additional functions
6158 and variables for Windows DLLs.
6159 * Headers/gnustep/base/NSObject.h: Likewise.
6160 * Headers/gnustep/base/Unicode.h: Likewise.
6161
6162 * Headers/gnustep/base/preface.h.in: Define __WIN32__ ifndef on
6163 MINGW32.
6164
6165 * Testing/nsarray.m: Use NSCParameterAssert.
6166 * Testing/nsconnection.m: Cleanup for MinGW/Cygwin.
6167
6168 Sat Jul 21 23:25:14 2001 Wim Oudshoorn
6169 * Source/NSHost.m ([NSHost +hostWithName:]):
6170 Added forgotten argument to NSLog().
6171
6172 2001-07-19 Richard Frith-Macdonald <rfm@gnu.org>
6173
6174 * Source/UnixFileHandle.m: Don't abort aread/write attempts that
6175 fail on EAGAIN or EINTR ... retry them instead. Avoid unexpected
6176 exceptions when trying to write a large volume of data quicker
6177 then the output device can handle.
6178 * Source/WindowsFileHandle.m: ditto
6179
6180 2001-07-19 Adam Fedor <fedor@gnu.org>
6181
6182 * Documentation/readme.texi: Explain the license for GNUstep more
6183 clearly.
6184 * README: Regen.
6185
6186 Thu Jul 19 12:41:22 2001 Nicola Pero <nicola@brainstorm.co.uk>
6187
6188 * config/config.objc.m: New file.
6189 * configure.in: Added new test to check whether Objective-C really
6190 works. If it doesn't, abort immediately telling the user to fix
6191 their compiler installation first.
6192 (AC_CHECK_HEADERS): Don't check for libguile.h
6193 * configure: Regenerated.
6194
6195 2001-07-17 Richard Frith-Macdonald <rfm@gnu.org>
6196
6197 * Source/Unicode.m: Removed bogus tests for character zero in
6198 string conversion functions ... OpenStep strings are not nul
6199 terminated, so the code terminated conversions prematurely.
6200
6201 Tue Jul 17 15:00:52 2001 Nicola Pero <nicola@brainstorm.co.uk>
6202
6203 * Makefile.postamble (after-distclean): Depend on
6204 remove-header-links; do not remove links here.
6205 (remove-header-links): New target removing header links; different
6206 implementation on mingw32 and on non-migw32. Do not remove
6207 Source/Foundation.
6208 (.PHONY): Added, with header-links and remove-header-links.
6209
6210 2001-07-16 Adam Fedor <fedor@gnu.org>
6211
6212 * Headers/gnustep/base/objc-gnu2next.h: New definitions for sel
6213 functions, rearrange some things.
6214 * Headers/gnustep/base/objc-load.h: Change category type for
6215 compatibility with NeXT.
6216 * Source/objc-load.m: Likewise.
6217
6218 * Source/GSCompatibility.m (+defaultsChanged:): Typo in method name.
6219
6220 2001-07-16 Richard Frith-Macdonald <rfm@gnu.org>
6221
6222 * Source/NSString.m: Finish off and enable XML property list code
6223 * Source/GSCompatibility.m: ditto
6224
6225 2001-07-16 Adam Fedor <fedor@gnu.org>
6226
6227 * Source/NSUserDefaults.m ([NSUserDefaults +userLanguages]): Put
6228 MINGW languages in array (Fix from "Michael Scheibler"
6229 <michael.scheibler@onevision.de>).
6230
6231 2001-07-16 Richard Frith-Macdonald <rfm@gnu.org>
6232
6233 * Source/NSArray.m: Added ([writeToURL:atomically:]) for
6234 MacOS-X compatibility
6235 * Source/NSDictionary.m: ditto
6236
6237 2001-07-15 Richard Frith-Macdonald <rfm@gnu.org>
6238
6239 * Source/NSProcessInfo.m: Added -processIdentifier for compatibility
6240 with MacOS-X
6241 * Source/NSTask.m: Added -processIdentifier, -suspend, and -resume
6242 for compatibility with MacOS-X
6243 * Source/NSPortNameServer.m: Modified removal methods to return a
6244 boolean success/failure status for MacOS-X compatibility.
6245
6246 2001-07-14 Adam Fedor <fedor@gnu.org>
6247
6248 * Headers/gnustep/base/objc-gnu2next.h: More function defs.
6249 * Headers/gnustep/base/objc-load.h (objc_get_symbol_path): Correct
6250 def to match function decl.
6251 * Source/NSDistantObject.m (-selectorTypeForProxy:): Declare
6252 variable in NeXT implementation.
6253 * Source/NSInvocation.m (-invokeWithTarget:): Special def for NeXT.
6254 * Source/thr-pthread.m: Add forward decl of __objc_thread_detach.
6255
6256 2001-07-12 Richard Frith-Macdonald <rfm@gnu.org>
6257
6258 * Source/NSAttributedString.m: ([addAttributes:range:]) corrected
6259 bogus range check (report by Michael Scheibler)
6260 * Source/NSString.m: ([descriptionWithLocale:...]) as special case
6261 quote strings beginning with a slash ... property lists can
6262 otherwise confuse strings with leading slashes as comments.
6263
6264 2001-07-11 Adam Fedor <fedor@gnu.org>
6265
6266 * Source/objc-load.m: Include objc-load.h on NeXT systems.
6267
6268 2001-07-11 Richard Frith-Macdonald <rfm@gnu.org>
6269
6270 * Source/NSFileManager.m: ([fileSystemRepresentationWithPath:])
6271 MINGW fix contributed by Michael Scheibler
6272
6273 2001-07-10 Richard Frith-Macdonald <rfm@gnu.org>
6274
6275 * Source/NSUserDefaults.m: Update date/time designations to arrays
6276 * Source/NSDate.m: Update to use date/time designation arrays.
6277
6278 2001-07-09 Richard Frith-Macdonald <rfm@gnu.org>
6279
6280 * Source/objc-load.m: Remove bogus include of objc-load.h
6281 on non-NeXT systems.
6282
6283 2001-07-09 Adam Fedor <fedor@gnu.org>
6284
6285 * configure.in: Check for pthread.h - for compiling on Darwin.
6286 * Source/GNUmakefile: Compile thr-pthread.m conditionally.
6287 * Source/thr-pthread.m: New file.
6288
6289 * Source/null-load.h (__objc_dynamic_get_symbol_path): New def.
6290 * Source/objc-load.m: Use NeXT load methods on Darwin.
6291
6292 2001-07-07 Richard Frith-Macdonald <rfm@gnu.org>
6293
6294 * Source/NSUser.m: NSSearchPathForDirectoriesInDomains() Set up
6295 default values if environment variables are missing.
6296 Use common code for getting path prefixes and search directories.
6297
6298 2001-07-07 Richard Frith-Macdonald <rfm@gnu.org>
6299
6300 * Source/NSData.m: readContentsOfFile() hack added to permit reading
6301 of files like those in the /proc filesystem which don't support
6302 lengths.
6303 * Source/NSString.m: ([-initWithFormat:locale:]) use dummy local
6304 variable to try to get compilation to work on alpha ... untested
6305 as I don't have an alpha system.
6306
6307 2001-07-02 Richard Frith-Macdonald <rfm@gnu.org>
6308
6309 * Source/NSString.m: Never init nocopy with null pointer - increase
6310 chance of double initialisation being detected.
6311
6312 2001-06-27 Richard Frith-Macdonald <rfm@gnu.org>
6313
6314 * Source/callframe.m: callframe_do_call_opts(),
6315 callframe_build_return_opts() fixed memory leaks.
6316 Performance improvements -
6317 callframe_from_info() use a single malloc to allocate memory for
6318 the entire callframe. callframe_free() use a single free()
6319 * Source/NSConnection.m: Wait only 0.1 millisecond for first try
6320 checking for events ... CPUs are getting faster.
6321 * Source/NSTimer.m: Set minimum timer to 0.1 milliseconds ...
6322
6323 2001-06-26 Adam Fedor <fedor@gnu.org>
6324
6325 * Source/NSUserDefaults.m (+userLanguages): On MingW systems, check
6326 locale for language name.
6327
6328 2001-06-26 Richard Frith-Macdonald <rfm@gnu.org>
6329
6330 * Source/NSSerializer.m: While deserializing, check strings to see
6331 if they are really unicode, and create cStrings if they are not.
6332 Minor memory usage optimisation.
6333
6334 2001-06-21 Richard Frith-Macdonald <rfm@gnu.org>
6335
6336 * Source/NSConnection.m: Change some deprecated runloop methods for
6337 standard ones.
6338 * Source/NSRunLoop.m: ([runMode:beforeDate:]) Check for task
6339 completion and send out notifications if required.
6340 * Source/NSTask.m: ([waitUntilExit]) schedule a timer so that the
6341 run loop waits rather than polling as fast as the CPU allows.
6342
6343 2001-06-20 Richard Frith-Macdonald <rfm@gnu.org>
6344
6345 * Source/NSTask.m: handleSignal() ... reset signal handler for
6346 systems that don't have BSD signal semantics.
6347 Report by jan trembulak
6348 * Source/GSString.m: getCString_c(), getCString_u() reverse logic
6349 of returning remaining range ... report by Michael Scheibler
6350
6351 2001-06-15 Adam Fedor <fedor@gnu.org>
6352
6353 * Version: 1.0.2
6354
6355 2001-06-15 Richard Frith-Macdonald <rfm@gnu.org>
6356
6357 * Source/NSFileManager.m: ([-removeFileAtpath:handler:])
6358 Check for illegal paths as specified in the MacOS-X documentation.
6359 * Source/Makefile.postamble: Update to rebuild files for XML and SSL
6360 support when config.h changes.
6361
6362 2001-06-14 Richard Frith-Macdonald <rfm@gnu.org>
6363
6364 * Source/NSuserDefaults.m: Fix +resetUserDefaults to retain the
6365 NSRegistrationDomain information ... was losing it when this method
6366 was called in response to the user name being initially set.
6367 ([-registerDefaults:]) fix for when no dictionary found.
6368 Use NSLanguages rather than Languages as key for the languages list.
6369 * Source/NSUser.m: GSSetUserName() ... only reset the user defaults
6370 if the name is actually changed - and not if it is being initialised.
6371 When standardUserDefaults are first obtained, the user name should be
6372 initialised as part of that process anyway.
6373 * Source/NSFileManager.m: ([-removeFileAtpath:handler:])
6374 Fix this method so it *doesn't* follow symbolic links.
6375 This makes it conform to the documentation and prevents
6376 accidental removal of entire directory hierarchies!
6377
6378 Wed Jun 13 19:43:16 2001 Nicola Pero <n.pero@mi.flashnet.it>
6379
6380 * Source/NSFileManager.m
6381 ([-createSymbolicLinkAtPath:pathContent:]): Fixed - the call to
6382 symlink was using old path instead of new path and viceversa.
6383
6384 2001-06-12 Adam Fedor <fedor@gnu.org>
6385
6386 * Documentation/news.texi: Update
6387
6388 * Documentation/gsdoc/NSArray.gsdoc: Updates (from
6389 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>).
6390
6391 2001-06-11 Adam Fedor <fedor@gnu.org>
6392
6393 * configure.in (enable-openssl): New option, disabled by default.
6394 * Documentation/install.texi: document it.
6395
6396 2001-06-09 Adam Fedor <fedor@gnu.org>
6397
6398 * Source/externs.m: Change definition of exception strings and some
6399 functions to match headers.
6400
6401 2001-06-09 Richard Frith-Macdonald <rfm@gnu.org>
6402
6403 * Source/NSString.m: parseQuotedString() ... fix for parsing octal
6404 and hex escape sequences.
6405
6406 2001-06-09 Nicola Pero <n.pero@mi.flashnet.it>
6407
6408 * configure.in (VERSION): Output a message saying that we are
6409 checking for the version, and which version we find.
6410
6411 2001-06-07 Richard Frith-Macdonald <rfm@gnu.org>
6412
6413 * Source/NSConnection.m: Control caching of port coders by a simple
6414 boolean, and disable it by default.
6415
6416 2001-06-07 Adam Fedor <fedor@gnu.org>
6417
6418 * aclocal.m4: Add special case for cygwin in CON_AUTOLOAD.
6419
6420 2001-06-07 Richard Frith-Macdonald <rfm@gnu.org>
6421
6422 * Source/GSAttributedString.m: When caching attribute dictionaries
6423 we make an immutable copy of the dictionary with shallow copy.
6424
6425 2001-06-06 Nicola Pero <n.pero@mi.flashnet.it>
6426
6427 Configuration part of constant string support with gcc-3.0
6428 * config/config.constant-string-class.m: New config test.
6429 * configure.in: Added test for -fconstant-string-class option in
6430 compiler, by compiling and running config.constant-string-class.m.
6431 Output different NX_CONST_STRING_CLASS and
6432 NX_CONST_STRING_CPPFLAGS depending on results of this test.
6433 * base.make.in (CONFIG_SYSTEM_INCL): Added
6434 NX_CONST_STRING_CPPFLAGS.
6435 * Headers/gnustep/base/GSConfig.h.in: Renamed NXCONST to
6436 NX_CONST_STRING_CLASS.
6437 * configure: Updated.
6438
6439 2001-06-06 Richard Frith-Macdonald <rfm@gnu.org>
6440
6441 * Source/NSScanner.m: ([scanHexInt:]) fix for scanning number
6442 consisting just of a zero. Reported by Tom Koelman
6443
6444 2001-06-06 Richard Frith-Macdonald <rfm@gnu.org>
6445
6446 Changes for constant string support with gcc-3.0
6447 * configure.in: Just substitute NXCONST
6448 * Headers/gnustep/base/GSConfig.h.in: Use NXCONST to redefine
6449 NXConstantString
6450 * Headers/gnustep/base/NSString.h: new constantStringClass method.
6451 * Source/GSString.m: new constantStringClass method.
6452 * Source/NSObject.m: Use NSConstantStringClass.
6453 * Source/NSScanner.m: Use NSConstantStringClass.
6454 * Source/NSString.m: implement constantStringClass method.
6455
6456 2001-06-06 Nicola Pero <n.pero@mi.flashnet.it>
6457
6458 * Source/mframe.m: Reactivated inling nested functions after
6459 gcc 3.0 was fixed to compile them again.
6460
6461 2001-06-05 Nicola Pero <n.pero@mi.flashnet.it>
6462
6463 * GNUmakefile: If GNUSTEP_MAKEFILES is not set, tell the user it
6464 needs to source GNUstep.sh and then exit with an error.
6465
6466 2001-06-05 Nicola Pero <n.pero@mi.flashnet.it>
6467
6468 * Source/mframe.m: Disabled inlining of nested functions. This
6469 should allow gnustep-base to be compiled using gcc 3.0.
6470
6471 2001-06-05 Richard Frith-Macdonald <rfm@gnu.uk>
6472
6473 * Source/GSString.m: ([replaceCharactersInRange:withString:])
6474 Fix error appending unicode string to C string.
6475
6476 2001-06-01 Richard Frith-Macdonald <rfm@gnu.uk>
6477
6478 * Source/NSString.m: Patch by David Relson applied
6479
6480 2001-06-01 Richard Frith-Macdonald <rfm@gnu.uk>
6481
6482 Optimisations suggested by Guenther Fuerthaller
6483 * Source/NSZone.m: NSZonefromPointer() check for empty zones
6484 list before locking.
6485 * Source/NSData.m: more efficient dealloc implementation for
6486 NSMutableDataMalloc.
6487
6488 2001-06-01 Nicola Pero <nicola@brainstorm.co.uk>
6489
6490 * Source/NSCalendarDate.m
6491 ([-descriptionWithCalendarFormat:locale:]): Fixed %w (day of the
6492 week) to output a single digit number rather than a two digit one.
6493
6494 2001-05-31 Adam Fedor <fedor@gnu.org>
6495
6496 * Headers/gnustep/base/NSObjCRuntime.h (GSLastErrorStr): Define new
6497 OS-independant strerror like function.
6498 * Source/GSFormat.m: Use it.
6499 * Source/GSTcpPort.m, Source/NSData.m, Source/NSDistributedLock.m,
6500 Source/NSFileManager.m, Source/NSPipe.m, Source/NSRunLoop.m,
6501 Source/NSTask.m, Source/UnixFileHandle.m, Source/WindowsFileHandle.m:
6502 Likewise.
6503 * Source/NSObjCRuntime.m (GSLastErrorStr): New function
6504 (suggestion from "Michael Scheibler" <michael.scheibler@onevision.de>).
6505
6506 * Headers/gnustep/base/behavior.h: Include objc-class.h on
6507 NeXT_RUNTIME.
6508 * Headers/gnustep/base/objc-gnu2next.h: New inline functions.
6509 * Source/NSDistantObject.m (-selectorTypeForProxy): Simplify
6510 NeXT_RUNTIME implementation.
6511
6512 2001-05-29 Adam Fedor <fedor@gnu.org>
6513
6514 * Version: 1.0.1
6515
6516 * Resources/Languages/Dutch: New file (from Dennis Leeuw
6517 <dleeuw@made-it.com>).
6518
6519 2001-05-28 Adam Fedor <fedor@gnu.org>
6520
6521 * Headers/gnustep/base/objc-gnu2next.h (class_is_class): New.
6522 * Source/NSAssertionHandler.m (-handleFailureInMethod...): Use
6523 OpenStep functions to get class/sel names.
6524 * Source/NSBundle.m (+initialize): NeXT_RUNTIME method to find
6525 classes.
6526
6527 2001-05-26 Mirko Viviani <mirko.viviani@rccr.cremona.it>
6528
6529 * Source/NSDebug.m (_NSPrintForDebugger): new function to support print
6530 object (po) cmd of gdb.
6531
6532 2001-05-25 Adam Fedor <fedor@gnu.org>
6533
6534 * configure.in: Use -lobjc with NeXT_RUNTIME.
6535 * Headers/gnustep/base/behavior.h: Include objc.h on NeXT_RUNTIME.
6536
6537 * Source/GSFormat.m: Replace assert with NSCParameterAssert
6538
6539 2001-05-23 Adam Fedor <fedor@gnu.org>
6540
6541 * configure.in: Check for libgiconv
6542 * Unicode.m: Include giconv.h if available.
6543
6544 2001-05-22 Adam Fedor <fedor@gnu.org>
6545
6546 * configure.in: Check CPP handling of LONG_LONG_MAX
6547 * Source/GSFormat.m: Undef LONG_LONG_MAX if not handled
6548
6549 * Source/GSeq.h: Set static selectors to NULL.
6550 * Source/NSString.m (+initialize): Set selectors here instead.
6551 * Source/GSString.m (setup): ...And here.
6552
6553 2001-05-22 Richard Frith-Macdonald <rfm@gnu.org>
6554 * Headers/Foundation/NSSet.h: Added ([-setSet:])
6555 * Source/GSSet.m: Optimise ([-unionSet:])
6556 * Source/GSArray.m: Tidy NSWarnMLog macros.
6557 * Source/GSAttributedString.m: ditto
6558 * Source/GSCountedSet.m: ditto
6559 * Source/GSDictionary.m: ditto
6560 * Source/NSArray.m: ditto
6561 * Source/NSDictionary.m: ditto
6562 * Source/NSSet.m: Implement ([-setSet:])
6563
6564 2001-05-18 Richard Frith-Macdonald <rfm@gnu.org>
6565
6566 * Source/NSDate.m: check for nil dates in some init methods so
6567 we return nil on initialisation failure rather than raising an
6568 exception. I believe that init failures should deallocate their
6569 objects and return nil.
6570 * Source/NSArray.m: ([-initWithContentsOfFile:]) include filename in
6571 NSWarnMLog() message.
6572 * Source/NSDictionary.m: ([-initWithContentsOfFile:]) use NSWarnMLog
6573
6574 2001-05-14 Adam Fedor <fedor@gnu.org>
6575
6576 * Headers/gnustep/base/objc-gnu2next.h: Add apply_t prototype.
6577 * Source/objc-gnu2next.m: Include stdio.h.
6578 * Source/GSFormat.m: Don't compare LONG_LONG_MAX if not defined
6579
6580 2001-05-15 Richard Frith-Macdonald <rfm@gnu.org>
6581
6582 * Source/NSString.m: ([stringByDeletingPathExtension]) rewrite to
6583 conform to MacOS-X documentation.
6584 ([pathComponents]) ditto.
6585 * Headers/Foundation/NSInvocation.h: Added extra methods for
6586 setting an invocation to invoke super implementation of method.
6587 * Source/NSInvocation.m: Added extra methods for
6588 setting an invocation to invoke super implementation of method.
6589 * Source/GSFFCallInvocation.m: support invoke of super implementation.
6590
6591 2001-05-14 Adam Fedor <fedor@gnu.org>
6592
6593 * Headers/gnustep/base/objc-gnu2next.h: Add error prototypes.
6594 * Source/objc-gnu2next.m: Include preface.h, define error funcs.
6595
6596 2001-05-12 Richard Frith-Macdonald <rfm@gnu.org>
6597
6598 * Source/NSObject.m: Removed some unused obsolete code.
6599 * Source/NSProxy.m: Modified ([methodSignatureForSelector:]) and
6600 ([respondsToSelector:]) to work for existing methods and raise
6601 exception for non-existant methods. The MacOS-X docs says they raise
6602 exceptions, but I think it makes sense for them to work for methods
6603 that are actually implemented in the proxy.
6604
6605 2001-05-11 Adam Fedor <fedor@gnu.org>
6606
6607 * Source/NSArchiver.m ([NSArchiver -encodeValueOfObjCType:at:]): Use
6608 signed char to encode _C_CHR.
6609 * Source/NSPortCoder.m ([NSPortCoder -decodeValueOfObjCType:at:]):
6610 Be lenient about decoding [un]signed chars.
6611 * Source/NSUnarchiver.m: Likewise.
6612 * Source/GSTemplateValue.m (-encodeWithCoder:): Use signed char to
6613 encode/decode type info.
6614 * Source/GSValue.m: Likewise.
6615 * Source/NSConcreteNumber.m: Likewise.
6616 * Source/NSNumber.m: Likewise.
6617 * Source/NSValue.m: Likewise.
6618
6619 2001-05-10 Richard Frith-Macdonald <rfm@gnu.org>
6620
6621 * Source/NSConnection.m: Use respondsToSelector rather than respondsTo
6622 * Source/NSRunLoop.m: ditto ... and tidy up categories to avoid
6623 compiler warnings.
6624 * Source/NSAutoreleasePool.m: Add ([+freeCache]) method to clear out
6625 the cache of pools in the current thread.
6626 * Documentation/gsdoc/NSAutoreleasePool.gsdoc: basic class
6627 documentation inlcuding normal GNUstep extensions.
6628
6629 2001-05-08 Richard Frith-Macdonald <rfm@gnu.org>
6630
6631 * Tools/gdomap.c: Fixes to last modifications - provided by
6632 Chris B Vetter.
6633 * Source/NSString.m: Fix memory allocation of a unichar buffer to
6634 correct size.
6635 * Source/NSPipe.m: Log an error if we can't open a new pipe.
6636 * Source/NSTask.m: Slight tidyup
6637
6638 2001-05-04 Nicola Pero <n.pero@mi.flashnet.it>
6639
6640 * Source/NSObject.m (GSGetValue): Call handleQueryWithUnboundKey:
6641 rather than handleTakeValue:forUnboundKey: when no property
6642 binding is found.
6643
6644 2001-05-04 Nicola Pero <n.pero@mi.flashnet.it>
6645
6646 * configure.in: Abort if GNUSTEP_SYSTEM_ROOT is empty, printing a
6647 message saying that you must run the GNUstep configuration script
6648 before configuring the base library.
6649 * configure: Regenerated.
6650
6651 2001-05-04 Adam Fedor <fedor@gnu.org>
6652
6653 * Headers/gnustep/base/objc-gnu2next.h: Add arglist_h def. Add
6654 encoding functions defs.
6655 * Source/mframe.m: Include stdio and ctype.
6656 * Source/mframe/mframe.foot (mframe_arg_addr): Use marg_getRef if
6657 NeXT_RUNTIME.
6658
6659 2001-05-04 Richard Frith-Macdonald <rfm@gnu.org>
6660
6661 * Source/NSDate.m: GSTimeNow() remove volatile typespec and move
6662 initialisation of interval in the hope of fixing a problem with
6663 float operations. In any case, the code is tidier.
6664 * Tools/gdomap.c: If started as root, try to become user nobody
6665 before resorting to uid -2 (like NFS).
6666
6667 2001-05-03 Adam Fedor <fedor@gnu.org>
6668
6669 * configure.in: Don't use -lobjc with NeXT_RUNTIME. Check for -lm.
6670
6671 * Headers/gnustep/base/objc-gnu2next.h: Add sel_register_name
6672 * Source/behavior.m: Add define hacks for Darwin.
6673
6674 2001-05-03 Richard Frith-Macdonald <rfm@gnu.org>
6675
6676 * Source/NSObject: ([+initialize]) Move GSSetLocale() after platform
6677 specific code with conditionally compiled variable declarations.
6678 Should make this work on BSD and MINGW again.
6679
6680 2001-05-02 Mirko Viviani <mirko.viviani@rccr.cremona.it>
6681
6682 * Source/NSObject.m ([NSObject +initialize]): fixed a FreeBSD specific
6683 code bug introduced by the call of GSSetLocaleC().
6684
6685 Wed May 2 13:19:13 2001 Nicola Pero <nicola@brainstorm.co.uk>
6686
6687 * Source/UnixFileHandle.m (id): Redefine `id' when including
6688 openssl header files to avoid syntax errors from 3.x serie gcc
6689 compilers.
6690
6691 2001-05-02 Richard Frith-Macdonald <rfm@gnu.org>
6692
6693 * Source/NSTimeZone: ([-initWithName:]) fix for trivial locking bug.
6694
6695 2001-04-30 Adam Fedor <fedor@gnu.org>
6696
6697 * Source/behavior.m: Rewrite to work with NeXT runtime.
6698 * Headers/gnustep/base/objc-gnu2next.h: Add some extra translations.
6699
6700 2001-04-30 Richard Frith-Macdonald <rfm@gnu.org>
6701
6702 * Source/NSString.m: parseQuotedString() handle \U escape sequences
6703 of eight digit hex encoded unicode values.
6704 ([descriptionWithLocale:indent:to@]) handle unicode strings by using
6705 \U escape sequences in output C string.
6706
6707 2001-04-28 Fred Kiefer <FredKiefer@gmx.de>
6708
6709 * Source/NSString.m:
6710 Corrected bug in last optimization for the parsing of property
6711 list. Now the bitmap representation is retained not the
6712 characterset itself. This did cause undeterministic problems when
6713 reading in the Info.plist.
6714
6715 2001-04-28 Richard Frith-Macdonald <rfm@gnu.org>
6716
6717 * Source/NSLog.m: Use RETAIN/RELEASE
6718 * Source/GSLocale.m: Set up NSDecimalSeparator and NSThousandsSeparator
6719 from locale if possible. Fix bug dereferencing nil pointer.
6720 * Source/GSFormat.m: Hack to rewrite output from sprintf of floats and
6721 doubles to use the value in NSDecimalSeparator.
6722
6723 2001-04-27 Nicola Pero <n.pero@mi.flashnet.it>
6724
6725 * Source/NSString.m: Minor optimization for parsing property
6726 lists: cache the bitmap representation of hexdigit, quotable and
6727 whitespace character sets, and use it directly to determine
6728 whether a character is member or not of these sets.
6729
6730 2001-04-26 Richard Frith-Macdonald <rfm@gnu.org>
6731
6732 * Source/NSString.m: ([+initialize]) protect with flag so it is safe
6733 to call this method more than once.
6734 * Source/externs.m: GSBuildStrings() call +initialize method for
6735 NSString to ensure that the class is properly initialised even if
6736 this function has been called from NSObjects +initialize, which was
6737 in turn called in preparation for NSString initialisation!
6738
6739 2001-04-25 Adam Fedor <fedor@gnu.org>
6740
6741 * configure.in: Much simplified NeXT checks. Just use LIBRARY_COMBO
6742 to check runtime.
6743 * Source/o_vscanf.c: Remove objc-gnu2next.h
6744
6745 2001-04-25 Richard Frith-Macdonald <rfm@gnu.org>
6746
6747 * Headers/Foundation/GSXML.h: Many changes to restore encapsulation
6748 of libxml previously broken by someone... Partly as a matter of
6749 good OO programming practice, partly so that the library can be
6750 used effectively from Java (via JIGS).
6751 Moved libxml header includes out of this file.
6752 Removed typedefs for libxml constants and changed 'type' methods
6753 to return 'int'.
6754 Added class methods for mapping between integer type values
6755 and constant string type values.
6756 Added a typeDescription method to GSXMLAttribute for consistency.
6757 * Source/GSXML.m: include required headers and update to implement
6758 changes in API. Also fixed bug in implementation of typeDescription
6759 method for GSXMLNamespace.
6760 * Documentation/gsdoc/GSXMLNode.gsdoc: Updated to reflect current API
6761 * Documentation/gsdoc/GSXMLNamespace.gsdoc: ditto
6762 * Documentation/gsdoc/GSXMLAttribute.gsdoc: ditto
6763
6764 2001-04-25 Nicola Pero <nicola@brainstorm.co.uk>
6765
6766 * base.make.in: (GNUSTEP_BASE_VERSION),
6767 (GNUSTEP_BASE_MAJOR_VERSION), (GNUSTEP_BASE_MINOR_VERSION),
6768 (GNUSTEP_BASE_SUBMINOR_VERSION): New variables providing the
6769 gnustep-base version.
6770
6771 2001-04-24 Adam Fedor <fedor@gnu.org>
6772
6773 * Headers/gnustep/base/objc-gnu2next.h: Remove TypedStream defs
6774
6775 2001-04-24 Richard Frith-Macdonald <rfm@gnu.org>
6776
6777 * Source/NSObject.m: Fixes for string capitalisation in
6778 key-value methods.
6779
6780 2001-04-23 Adam Fedor <fedor@gnu.org>
6781
6782 * configure.in: Simplify NeXT checks.
6783 * Headers/gnustep/base/NSLock.h: Fix NeXT_RUNTIME typo.
6784 * Headers/gnustep/base/objc-gnu2next.h: Change *_EXPORT to extern
6785 * Source/o_vscanf.c: include objc-gnu2next.h
6786 * Source/NSConnection.m: Fix test for NeXT_RUNTIME define.
6787 * Source/NSDistantObject.m: Likewise.
6788 * Source/callframe.m: Likewise.
6789 * Source/cifframe.m: Likewise.
6790 * Source/mframe.m: Likewise.
6791
6792 2001-04-24 Nicola Pero <n.pero@mi.flashnet.it>
6793
6794 * Testing/benchmark.m (bench_object): Use a choice of the 10 more
6795 used classes when benchmarking class method invocation, rather
6796 than always using `NSObject'. Added bench for NSClassFromString.
6797
6798 2001-04-23 Nicola Pero <nicola@brainstorm.co.uk>
6799
6800 * Source/GSValue.m ([-getValue:]): Fixed typo - was raising
6801 exception on non-NULL buffer rather than NULL.
6802
6803 2001-04-23 Nicola Pero <nicola@brainstorm.co.uk>
6804
6805 * Source/NSBundle.m ([+initialize]): Fixed segmentation fault when
6806 NSSearchPathForDirectoriesInDomains returns an empty array. This
6807 used to appear when GNUSTEP_SYSTEM_ROOT was unset.
6808 * Source/NSUser.m (NSSearchPathForDirectoriesInDomains): Read
6809 GNUSTEP_SYSTEM_ROOT, GNUSTEP_LOCAL_ROOT, GNUSTEP_NETWORK_ROOT and
6810 GNUSTEP_USER_ROOT only once, then cache them. Do not crash if
6811 some of them are nil. If GNUSTEP_SYSTEM_ROOT is nil, fprintf a
6812 log message, and try using /usr/GNUstep/System. Use new ADD_PATH
6813 macro to simplify code. Autorelease returned array which was
6814 previously leaked.
6815
6816 2001-04-22 Georg Fleischmann
6817
6818 * Source/GSAttributedString.m:
6819 ([replaceCharactersInRange:withString:])
6820 recalculate effective range after removing attributes.
6821
6822 2001-04-23 Richard Frith-Macdonald <rfm@gnu.org>
6823
6824 * Source/GSLocale.m: Only call setlocale() in GSSetLocaleC()
6825 * Source/NSObject.m: ([+initialize]) call GSSetLocaleC() after other
6826 initialisation, to try to ensure that locale stuff is set up early
6827 before any attempt is made to use locale dependent code.
6828 * Source/NSString.m: ([-stringByExpandingTildeInPath:]) fix suggested
6829 by David Wetzel.
6830 * Source/GSValue.m: Fix abort when initialising value with illegal
6831 type. Also fix all other uses of objc_sizeof_type(), add some checks
6832 to conform to documentation, and some optimisations.
6833
6834 2001-04-22 Nicola Pero <n.pero@mi.flashnet.it>
6835
6836 * Testing/benchmark.m: Modified messages to give a better idea of
6837 the order of magnitudes involved; added benchmarks for
6838 retain/release, autorelease/retain and locking/unlocking.
6839
6840 2001-04-21 Nicola Pero <n.pero@mi.flashnet.it>
6841
6842 * Source/NSString.m ([-fileSystemRepresentation]): Cache the
6843 default file manager.
6844
6845 2001-04-21 Richard Frith-Macdonald <rfm@gnu.org>
6846
6847 * config/config.proccmd.c: New test for behavior of /proc cmdline
6848 * acconfig.h: New CMDLINE_TERMINATED constant
6849 * configure.in: Use test to set CMDLINE_TERMINATED
6850 * configure: regenerated
6851 * Headers/Foundation/config.h.in: regenerated
6852 * Source/NSProcessInfo.m : ([+load]) modified to use CMDLINE_TERMINATED
6853 to decide how to use /proc/$$/cmdline when determining process args.
6854 Should now work 100% on all linux versions I hope.
6855
6856 2001-04-20 Richard Frith-Macdonald <rfm@gnu.org>
6857
6858 * Source/NSData.m ([NSMutableDataMalloc
6859 -replaceBytesInRange:withBytes:]): Check length, not capacity!
6860 Conform to documentation, and avoid possibility of 'hole' in data.
6861 * Source/NSInvocation.m: _get_arg() indirection fix suggested by
6862 Michael Scheibler.
6863
6864 2001-04-20 Nicola Pero <n.pero@mi.flashnet.it>
6865
6866 * Source/NSFileManager.m (NSDirectoryEnumerator): Rewritten to be
6867 faster. ([NSFileManager -directoryContentsAtPath:]),
6868 ([NSFileManager -subpathsAtPath:]): Use the new init method for
6869 NSDirectoryEnumerator. ([NSFileManager
6870 -contentsEqualAtPath:andPath:]): Spare some method calls.
6871 ([NSFileManager -fileSystemRepresentationWithPath:]): Cleaned
6872 preprocessor directives.
6873 * Headers/gnustep/base/NSFileManager.h (NSDirectoryEnumerator):
6874 Changed ivars in sync.
6875
6876 2001-04-19 Nicola Pero <nicola@brainstorm.co.uk>
6877
6878 * Documentation/gsdoc/NSFunctions.gsdoc: Documented
6879 GSDebugAllocation* functions.
6880 * Documentation/gsdoc/NSRecursiveLock.gsdoc: Fixed syntax error.
6881 * Documentation/gsdoc/*.html: Regenerated.
6882
6883 2001-04-19 Nicola Pero <nicola@brainstorm.co.uk>
6884
6885 To help with debugging memory leaks, you can now ask to the
6886 library to track all allocated instances of a certain class.
6887 * Source/NSDebug.m (table_entry): Added fields to allow recording
6888 the list of allocated instances if required.
6889 (GSDebugAllocationActiveRecordingObjects): New function.
6890 (GSDebugAllocationAdd): Modified to take an additional argument -
6891 the object being allocated -, and to record it in the list of
6892 instances for the class if recording instances of that class has
6893 been activated.
6894 (GSDebugAllocationRemote): Add a similar additional argument;
6895 remove the object from the list of instances if recording
6896 instances is activated.
6897 (GSDebugAllocationListRecordedObjects): New function.
6898 * Source/NSObject.m: Updated all occurrences of
6899 GSDebugAllocationAdd and GSDebugAllocationRemove to pass the
6900 allocated/removed object as well.
6901 * Headers/gnustep/base/NSDebug.h: Updated.
6902
6903 2001-04-19 Nicola Pero <nicola@brainstorm.co.uk>
6904
6905 * Source/GSTcpPort.m ([GSTcpPort -dealloc]): Fixed memory leak:
6906 release address string.
6907
6908 2001-04-19 Richard Frith-Macdonald <rfm@gnu.org>
6909
6910 * Source/NSTask.m: Tidied code a little, added safety checks for
6911 usePseudoTerminal method.
6912 * Source/NSData.m: ([writeToFile:atomically:]) create new files
6913 with permission 0644 modified by umask.
6914 Init tmppath for MINGW.
6915 * Tools/gsdoc.m: Use memory management macros and attempt to get
6916 back to something like conformance with coding standards.
6917 * Documentation/gsdoc/NSTask.gsdoc: documentation fleshed out.
6918
6919 2001-04-16 Adam Fedor <fedor@gnu.org>
6920
6921 * aclocal.m4: Detect the xm2-config script.
6922
6923 2001-04-14 Mirko Viviani <mirko.viviani@rccr.cremona.it>
6924
6925 * configure.in: fixed fake main for 'new' FreeBSD targets.
6926
6927 2001-04-13 Adam Fedor <fedor@gnu.org>
6928
6929 * Source/GSFFCallInvocation.m (GSInvocationCallback): Generate
6930 an exception for an invalid selector.
6931
6932 2001-04-12 Adam Fedor <fedor@gnu.org>
6933
6934 * Headers/gnustep/base/NSObjCRuntime: Revert to using class_pointer.
6935 * Headers/gnustep/base/objc-gnu2next.h: Redefine class_pointer.
6936
6937 2001-04-12 Richard Frith-Macdonald <rfm@gnu.org>
6938
6939 * Source/NSProcessInfo.m ([load]): Fixed single line change somehow
6940 missed from last patch.
6941
6942 2001-04-12 Adam Fedor <fedor@gnu.org>
6943
6944 * Headers/gnustep/base/NSLock.h: Include thrmach.h if NeXT_RUNTIME.
6945 * Headers/gnustep/base/NSThread.h: Likewise.
6946 * Headers/gnustep/base/NSObjCRuntime: Include objc-gnu2next.h if
6947 NeXT_RUNTIME, use common objc functions for compatibility.
6948 * Headers/gnustep/base/objc-gnu2next.h: Update, simplify.
6949 * Headers/gnustep/base/thr-mach.h: New file
6950 * Source/thr-mach.m: New file
6951 * Source/GNUmakefile: Update to conditionally compile NeXT files
6952
6953 * Documentation/gsdoc/NSRecursiveLock.gsdoc: Update.
6954
6955 2001-04-12 Richard Frith-Macdonald <rfm@gnu.org>
6956
6957 * Source/NSString.m: For efficiency, use _DefaultStringEncoding
6958 throughout, rather than calling +defaultCStringEncoding. This is
6959 safe since the documentation explicitly states that the encoding
6960 cannot be changed programmatically ... so we don't have to worry
6961 about someone adding a category to change that.
6962 When converting data to/from strings, optimise to simple cString
6963 stuff if the specified encoding is the defautl encoding.
6964 Tidied some stuff to conform better to coding standards.
6965 * Source/Unicode.m GetDefEncoding(): prohibit UTF8 from being the
6966 default cString encoding ... the default cString encoding must
6967 consist of 7 or 8 bit characters, and must contain ASCII as a
6968 subset. We really should think of a generalised test for that.
6969 Use GetDefEncoding() throughout rather than defaultCStringEncoding.
6970 * Source/GSString.m: Use GetDefEncoding() to get c string encoding.
6971
6972 2001-04-11 Nicola Pero <nicola@brainstorm.co.uk>
6973
6974 * Source/NSString.m ([-initWithData:encoding:]): When working with
6975 a generic but non-unicode encoding, do not treat a single
6976 character string with no null terminator as an empty string. This
6977 should fix passing single character strings over DO.
6978 * Source/NSThread.m ([+registerCurrentThread]),
6979 ([+unregisterCurrentThread]): Removed.
6980
6981 2001-04-11 Richard Frith-Macdonald <rfm@gnu.org>
6982
6983 * Source/GSFFCallInvocation.m: bugfix encoding ... pass correct
6984 method type information so that the other end knows whether this
6985 is a oneway message or not. Corrects major memory leak.
6986 * Source/NSConnection.m: bugfix to handle situations where the
6987 other end sends a response and we are not expecting it. Also
6988 added various bits of debugging and ensured that all NSPortCoder
6989 objects are cached.
6990
6991 2001-04-10 Adam Fedor <fedor@gnu.org>
6992
6993 * Headers/gnustep/base/preface.h.in: Correct NeXT_RUNTIME name
6994
6995 * Documentation/gsdoc/NSLock.h: Documented.
6996
6997 2001-04-10 Richard Frith-Macdonald <rfm@gnu.org>
6998
6999 * Source/NSTask.m: Bugfix to send out task termination notification
7000 and clean up correctly when a task is killed by a signal rather than
7001 exiting cleanly.
7002
7003 2001-04-09 Adam Fedor <fedor@gnu.org>
7004
7005 * 1.0 branch merged into main.
7006
7007 2001-04-06 Nicola Pero <n.pero@mi.flashnet.it>
7008
7009 * Source/NSString.m (pathSepMember): Made trivial and inlined.
7010 ([-stringsByAppendingPaths:]): Count the array only once, not for
7011 any loop in the cycle.
7012
7013 2001-04-05 Richard Frith-Macdonald <rfm@gnu.org>
7014
7015 * Source/NSUser.m: NSTemporaryDirectory() rewrite for improved
7016 security and reliability. Expect MINGW update soon.
7017
7018 2001-04-02 Richard Frith-Macdonald <rfm@gnu.org>
7019
7020 * Source/NSUser.m: Tidied some stuff to conform to coding standards.
7021 Added FIXME where unsure of code. Tidied code to get name of user.
7022 * configure.in: Added checks for a few functions needed to get user.
7023
7024 2001-03-37 Jonathan Gapen <jagapen@home.com>
7025
7026 * Source/NSString.m: New private function to compute the scalar value
7027 of a high-low surrogate pair. New surrogate range class variables.
7028 Optimize ([-hasPrefix]) and ([-hasSuffix]) by using NSAnchoredSearch.
7029 Add UTF-8 code to ([-dataUsingEncoding:allowLossyConversion:]).
7030
7031 2001-03-26 Jonathan Gapen <jagapen@home.com>
7032
7033 * Source/Makefile.preamble: No need to define HAVE_LIBXML here.
7034 * Source/NSBundle.m: ([+initialize]) and ([+pathForGNUstepResource:
7035 ofType:inDirectory:]) now use NSSearchPathForDirectoriesInDomains()
7036 to find directories, rather than use env vars directly.
7037 * Source/NSCharacterSet.m: Ditto for ([_-bitmapForSet:]).
7038 * Source/NSDictionary.m: Make NSLog() include the filename
7039 in ([-initWithContentsOfFile:]).
7040 * Source/NSUser.m: Re-implement NSStandardApplicationPaths() and
7041 NSStandardLibraryPaths() with NSSearchPathsForDirectoriesInDomains().
7042 In latter function, support $GNUSTEP_SYSTEM_ROOT/Developer/Demos.
7043
7044 2001-03-21 Jonathan Gapen <jagapen@home.com>
7045
7046 * config/nextcc.m4, config/objc-con-autoload.m4, config/procfs.m4,
7047 config/objc-sys-dynamic.m4, config/procfs-exe-link.m4: Autoconf
7048 macros used by configure.in.
7049
7050 2001-04-08 Adam Fedor <fedor@gnu.org>
7051
7052 * Version: 1.0.0
7053 * NEWS: Regenerated.
7054
7055 * Source/NSLock.m (-tryLock): Return NO if our thread has
7056 already has the lock (like OpenStep).
7057 (-lockBeforeDate:): block until date if our thread already has
7058 the lock (like OpenStep).
7059
7060 * Source/NSData.m ([NSMutableDataMalloc
7061 -replaceBytesInRange:withBytes:]): Check capacity, not length.
7062
7063 2001-04-04 Adam Fedor <fedor@gnu.org>
7064
7065 * config.guess: Update to latest version
7066 * config.sub: Likewise.
7067
7068 2001-04-01 2001 Nicola Pero <n.pero@mi.flashnet.it>
7069
7070 * Source/GSValue.m ([-description]): Bug fix - was crashing upon
7071 using %@ instead of %s for a char *.
7072
7073 2001-03-31 Adam Fedor <fedor@gnu.org>
7074
7075 * Documentation/announce.texi: Update.
7076 * Documentation/install.texi: Likewise.
7077
7078 * Testing/Makefile.preamble: Set BUNDLE_LIBS on mingw and cygwin.
7079 * Testing/nsbundle.m: add NSProcessInfo's initializeWithArguments:...
7080
7081 2001-03-28 Richard Frith-Macdonald <rfm@gnu.org>
7082
7083 * Source/NSProcessInfo.m: ([+load]) Fix in parsing of command line
7084 arguments from /proc filesystem. On newer kernels the command line
7085 arguments are terminated by a nul, on older systems they are separated
7086 by a nul. The old code would add an extra (empty) argument to all
7087 processes on newer kernels. The new code will lose a trailing empty
7088 argument on older kernels :-( I view it as the lesser of two evils
7089 since the extra empty arg confuses/breaks a lot of tools.
7090
7091 2001-03-27 Richard Frith-Macdonald <rfm@gnu.org>
7092
7093 * Source/NSFileManager.m: Fix file copying for MINGW by using
7094 windows native copy function - fix by Michael Scheibler.
7095 Also tidied to conform to coding standards, and fixed to use
7096 O_BINARY where the system defines it.
7097
7098 2001-03-26 Richard Frith-Macdonald <rfm@gnu.org>
7099
7100 * Headers/Foundation/NSObject.h: GS_EXPORT updates for MINGW
7101 * Headers/Foundation/NSObCRuntime.h: ditto
7102 * Headers/Foundation/NSRange.h: ditto
7103 * Source/NSRange.m: ditto
7104 Fixes suggested by Michael Scheibler
7105
7106 2001-03-24 Richard Frith-Macdonald <rfm@gnu.org>
7107
7108 * Source/NSData.m: ([-replaceBytesInRange:withBytes:]) bugfix ...
7109 revert to check using '>' rather than '>=' to conform to documentation
7110 and to be consistent with use of ranges in general.
7111 * Documentation/gsdoc/NSMutableData.gsdoc: documented primitive methods.
7112 * Documentation/gsdoc/NSFunctions.gsdoc: Some documentation for NSRange
7113 added.
7114
7115 2001-03-23 Adam Fedor <fedor@gnu.org>
7116
7117 * Source/NSData.m: ([-replaceBytesInRange:withBytes:]) Check location
7118 >= size.
7119
7120 2001-03-23 Richard Frith-Macdonald <rfm@gnu.org>
7121
7122 * Source/NSData.m: ([-replaceBytesInRange:withBytes:]) bugfix ...
7123 extend data if range has location in data, but extent beyond data.
7124
7125 2001-03-23 Adam Fedor <fedor@gnu.org>
7126
7127 * Source/NSSerializer.m (serializeToInfo): Use memcpy to serialize
7128 strings on machines that need word alignment.
7129 * Source/NSTimeZone.m (decode): For decoding, likewise.
7130
7131 * Testing/thread-except.m: Use autorelease pools.
7132
7133 2001-03-23 Richard Frith-Macdonald <rfm@gnu.org>
7134
7135 * Source/NSFileManager.m: MINGW fixes by Michael Scheibler.
7136 ([_attributesAtPath:traverseLink:forCopy:]) fix 'cos windows lacks
7137 symbolic links. ([-changeFileAttributes:atPath:]) workaround for
7138 windows directories not having modification times.
7139 ([-fileSystemAttributesAtPath:]) fix for large volumes (matching
7140 change for unix too ... use unsigned long long).
7141
7142 2001-03-23 Richard Frith-Macdonald <rfm@gnu.org>
7143
7144 * Source/NSObject.m: ([-methodSignatureForSelector:]) try to get a
7145 valid method signature any way we can ... check for a valid method
7146 first, use selector types next. Avoid crash when given nul selector
7147 as an argument.
7148 * Source/NSMethodSignature.m: ([+signatureWithObjCTypes:]) don't
7149 crash when given nul pointer as argument.
7150
7151 2001-03-19 Jonathan Gapen <jagapen@home.com>
7152
7153 * Source/NSString.m: Implement ([-localizedStringWithFormat:]).
7154 Fix ([-localizedCompare:]) and ([-localizedCaseInsensitiveCompare:]).
7155 (They will work when ([-compare:options:range:locale:]) works.)
7156 Fix ([-initWithContentsOfFile:]) and ([-initWithContentsOfURL:]) so
7157 that they deal with 1 byte of data, and clarify Unicode BOM test with
7158 new class variables byteOrderMark and byteOrderMarkSwapped.
7159 In ([-initWithData:encoding:]) and ([-initWithCoder:]), don't treat
7160 the default C string encoding the same as ASCII. GCC 3.0 supports
7161 UTF-8 as a C string encoding, so this behavior is undesirable.
7162
7163 2001-03-19 Jonathan Gapen <jagapen@home.com>
7164
7165 * Source/NSAutoreleasePool.m, Source/NSCharacterSet.m,
7166 Source/NSHashTable.m, Source/NSMapTable.m, Source/NSZone.m:
7167 Update from %s/([-cString]) to %@ for format strings.
7168 * Source/NSDecimal.m: In GSDecimalFromString(), use ([-lossyCString])
7169 instead of ([-cString]) which should (in the future) always return
7170 ASCII-range decimal digits in place of digits from other languages.
7171
7172 2001-03-19 Nicola Pero <nicola@brainstorm.co.uk>
7173
7174 * Source/NSThread.m: registerCurrentThread and
7175 unregisterCurrentThread turned into functions - called
7176 GSRegisterCurrentThread and GSUnregisterCurrentThread.
7177 * Headers/gnustep/base/NSThread.h: Updated for change.
7178
7179 * Source/NSThread.m (GSRegisterCurrentThread): Call
7180 objc_thread_add before creating the NSThread object using a method
7181 call. (GSUnregisterCurrentThread): Post the NSThreadWillExit
7182 notification.
7183
7184 2001-03-19 Jonathan Gapen <jagapen@home.com>
7185
7186 * Source/NSString.m: In ([-rangeOfComposedCharacterSequenceAtIndex:]),
7187 use the NSCharacterSet non-base character set to identify non-base
7188 characters. In ([-cStringLength]), do not allow lossy string
7189 conversion. In ([+localizedNameOfStringEncoding:]), use NSBundle's
7190 ([-gnustepBundle]) rather than looking in root path.
7191
7192 2001-03-17 Richard Frith-Macdonald <rfm@gnu.org>
7193
7194 * Headers/Foundation/NSThread.h: Remove unused ivar.
7195 * Source/NSThread.m: Revise scheme for deallocation of thread
7196 dictionary ... keep it operating to avoid problems with stuff
7197 trying to use it while deing deallocated. Log memory leaks.
7198 * Source/NSRunLoop.m: ([+currentRunLoop]) return nil if there is
7199 no thread dictionary available (shouldn't happen).
7200 * Source/NSString.m: MINGW path handling fixes by Michael Scheibler
7201 stringByAppendingPath, isAbsolurtePath, and stringByStandardizingPath.
7202
7203 2001-03-16 Nicola Pero <n.pero@mi.flashnet.it>
7204
7205 * Source/Makefile.postamble (after-install): Removed old
7206 code for creating /etc/services.add when packaging.
7207
7208 * Makefile.postamble
7209 ($(INSTALL_ROOT_DIR)$(GNUSTEP_MAKEFILES)/Additional): New target;
7210 create the directory. (before-install): Don't create the
7211 directory, but depend on the new target.
7212 * Resources/GNUmakefile.postamble: Idem for $(languagedir).
7213 * NSCharacterSets/Makefile.postamble: Idem for $(charsetdir).
7214 * NSTimeZones/Makefile.postamble: Idem for $(timezonedir).
7215
7216 2001-03-16 Manuel Guesdon <mguesdon@orange-concept.com>
7217
7218 * Tools/pl*.m: added #include <Foundation/Foundation.h> to avoid
7219 GNUSTEP Internal Error
7220
7221 2001-03-14 Adam Fedor <fedor@gnu.org>
7222
7223 * Source/libgnustep-base.def: Remove some classes that aren't
7224 used on MinGW32.
7225
7226 2001-03-13 Adam Fedor <fedor@gnu.org>
7227
7228 * configure.in: Check and set EXEEXT needed by some tests.
7229 * aclocal.m4: Fixes for constructor test.
7230
7231 2001-03-12 Jonathan Gapen <jagapen@home.com>
7232
7233 * Headers/gnustep/base/NSString.h: Change NSCyrillicStringEncoding
7234 to NSISOCyrillicStringEncoding, and likewise for Greek, Arabic, and
7235 Hebrew, to avoid ambiguity. Add enum values for all remaining
7236 ISO-8859 character sets, plus UTF-7.
7237 * Source/GSXML.m: Update pursuant to above changes.
7238 * Source/NSString.m: Ditto.
7239 * Source/Unicode.m: Ditto.
7240
7241 2001-03-11 Adam Fedor <fedor@gnu.org>
7242
7243 * Source/NSThread.m: Remove runtime.h include since this isn't
7244 normally installed by objc, add back in extern variables.
7245
7246 2001-03-10 Adam Fedor <fedor@gnu.org>
7247
7248 * Version 0.9.2
7249 * Makefile.postamble (before-install): Remove extra '/' before
7250 GNUSTEP_MAKEFILES
7251
7252 * configure.in: Check for objc_thread_add in runtime.
7253 * Source/NSThread.m (objc_thread_add): Define only if not in runtime
7254 (objc_thread_remove): Likewise.
7255
7256 2001-03-10 Manuel Guesdon <mguesdon@orange-concept.com>
7257
7258 * GSXML.m/.h: added errer, warning and fatal error methods with
7259 line and col parameters in GSSAXHandler.
7260
7261 2001-03-08 Richard Frith-Macdonald <rfm@gnu.org>
7262
7263 * Headers/gnustep/base/NSCalendarDate.h:
7264 * Headers/gnustep/base/NSTimeZone.h: New files for MacOS-X compatibility
7265 * Headers/gnustep/base/Foundation.h: Add NSCalendarDate and NSTimeZone
7266 * Headers/gnustep/base/NSDate.h: Remove info in new files.
7267 * Source/GNUmakefile: Add new NSCalendarDate and NSTimeZone files.
7268 * Source/NSCalendarDate.m: Update for header changes.
7269 * Source/NSDate.m: ditto
7270 * Source/NSDateFormatter.m: ditto
7271 * Source/NSLog.m: ditto
7272 * Source/NSString.m: ditto
7273 * Source/NSTimeZone.m: ditto
7274
7275 2001-03-07 Adam Fedor <fedor@gnu.org>
7276
7277 * Source/NSInvocation.m (-initWithTarget:selector:): Correct copying
7278 of unhandled argument types.
7279
7280 2001-03-07 Richard Frith-Macdonald <rfm@gnu.org>
7281
7282 * Source/NSObject.m: ([methodSignatureForSelector:]) reliability
7283 fix suggested by Manuel Guesdon <ml@sbuilders.com>
7284
7285 2001-03-06 Adam Fedor <fedor@gnu.org>
7286
7287 * Source/libgnustep-base.def: Regenerate.
7288
7289 2001-03-05 Richard Frith-Macdonald <rfm@gnu.org>
7290
7291 * Source/NSUserDefaults.m: Changed ([+setUserLanguages:]) to use
7292 NSLanguages.
7293 * Documentation/gsdoc/NSUserDefaults.gsdoc: documented the
7294 ([+setUserlanguages:]) method.
7295
7296 2001-03-04 Jonathan Gapen <jagapen@home.com>
7297
7298 * Documentation/gsdoc/NSCharacterSet.gsdoc: Documented some methods.
7299 * Headers/gnustep/unicode/caseconv.h: Updated case-mapping tables.
7300 * Source/NSBitmapCharSet.m: Added sanity check to initWithBitmap:
7301 * Source/Unicode.m: Changed uni_toupper() and uni_tolower() to use
7302 direct lookup in two-level tables, rather than a linear search.
7303
7304 2001-03-03 Richard Frith-Macdonald <rfm@gnu.org>
7305
7306 * Source/NSBundle.m: Corrected
7307 ([-_bundleResourcePathsWithRootPath:subPath:]) to use
7308 ([NSUserDefaults +userLanguages]) to get language array again.
7309 * Documentation/gsdoc/NSUserDefaults.gsdoc: Updated and added
7310 information about +userLanguages
7311
7312 2001-03-03 Adam Fedor <fedor@gnu.org>
7313
7314 * Source/NSInvocation.m: Add missing static inline to __get_arg
7315 (patch from David Relson <relson@osagesoftware.com>).
7316
7317 2001-03-03 Richard Frith-Macdonald <rfm@gnu.org>
7318
7319 * Source/NSSerializer.m:
7320 * Source/NSURLHandle.m:
7321 * Source/NSUnarchiver.m:
7322 * Source/GSFormat.m:
7323 * Source/GSHTTPURLHandle.m:
7324 * Source/GSMime.m:
7325 * Source/GSString.m:
7326 * Source/NSDictionary.m:
7327 * Source/NSPortNameServer.m:
7328 Various minor changes to avoid compiler warnings.
7329 * Source/NSFileManager.m: ([-fileSystemRepresentationWithPath:])
7330 Use CYGWIN_HOME as suggested by Michael Scheibler
7331 * Source/NSUser.m: NSHomeDirectoryForUser() fix for home path
7332 on NT by Michael Scheibler.
7333
7334 2001-03-01 Jonathan Gapen <jagapen@home.com>
7335
7336 * NSCharacterSets/whitespaceCharSet.dat,
7337 NSCharacterSets/whitespaceAndNlCharSet.dat: Add tab character.
7338
7339 2001-03-01 Nicola Pero <n.pero@mi.flashnet.it>
7340
7341 * aclocal.m4 (AC_SYS_PROCFS): Reverted last change in code to detect
7342 the /proc filesystem as it didn't work on my gnu-linux: /proc/0 does
7343 not exist, but the /proc filesystem works perfectly.
7344 * configure.in (GS_FAKE_MAIN): Fixed typo in last change which
7345 caused fake main definition to take place even when both +load and
7346 /proc worked.
7347 * configure: Regenerated.
7348
7349 2001-02-28 Jonathan Gapen <jagapen@home.com>
7350
7351 * configure.in: Begin autoconf clean-up; replace tests for NeXT
7352 compiler, /proc, and exe link with external macros; add support
7353 for FreeBSD /proc/curproc/file link.
7354 * acconfig.h: Remove definition now handled by macro.
7355 * aclocal.m4, configure, Headers/gnustep/base/config.h.in: Regen.
7356 * Source/NSBundle.m: Take exe link from PROCFS_EXE_LINK define.
7357 * Source/NSProcessInfo.m: HAVE_PROC_FS -> HAVE_PROCFS
7358
7359 2001-02-28 Adam Fedor <fedor@gnu.org>
7360
7361 * Source/win32-load.h (__objc_dynamic_get_symbol_path): New function.
7362
7363 * Source/GSHTTPURLHandle.m ([GSHTTPURLHandle -loadInBackground]): Use
7364 GSUnixSSLHandle only if not __MINGW__
7365
7366 2001-02-27 Jonathan Gapen <jagapen@home.com>
7367
7368 * NSCharacterSets/README.CharSet: Update notes.
7369 * NSCharacterSets/*.dat: Regenerate with v3.0.1 of UnicodeData.txt
7370 (ftp://ftp.unicode.org/Public/UNIDATA/UnicodeData.txt)
7371
7372 2001-02-27 Adam Fedor <fedor@gnu.org>
7373
7374 * configure.in: Fix openssl config so it defines HAVE_OPENSSL only
7375 if all headers and libs available.
7376 * configure, acconfig.h, Headers/gnustep/base/config.h.in: Regen.
7377 * Source/UnixFileHandle.m: Use HAVE_OPENSSL.
7378
7379 2001-02-27 Nicola Pero <nicola@brainstorm.co.uk>
7380
7381 * Source/NSLock.m: Commented out extra token after #endif
7382 directive.
7383 * Headers/gnustep/base/GSXML.h: Idem.
7384
7385 2001-02-27 Nicola Pero <n.pero@mi.flashnet.it>
7386
7387 * configure.in (Version): source it as ./Version rather than
7388 Version (suggested by Juliusz Chroboczek <jch@pps.jussieu.fr>).
7389 * configure: Regenerated.
7390
7391 2001-02-26 Mirko Viviani <mirko.viviani@rccr.cremona.it>
7392
7393 * Source/NSConcreteNumber.m (NumberTemplate): added precision to float
7394 and double TYPE_FORMAT.
7395
7396 2001-02-25 Adam Fedor <fedor@gnu.org>
7397
7398 * configure.in (cppflags_temp): Corrected to save CPPFLAGS not
7399 CFLAGS>
7400
7401 2001-02-25 Richard Frith-Macdonald <rfm@gnu.org>
7402
7403 * Source/GSLocale.m: Removed YESSTR and NOSTR support for simplicity.
7404
7405 2001-02-24 Nicola Pero <n.pero@mi.flashnet.it>
7406
7407 * Resources/Languages/French: New file (contributed by Frederic De
7408 Jaeger).
7409 * Resources/GNUmakefile (LANGUAGES): Added French.
7410
7411 2001-02-23 Richard Frith-Macdonald <rfm@gnu.org>
7412
7413 * Tools/gdomap.c: Fixed bug in handling '-a' option and enhanced
7414 to support multicast probing of networks specified in '-a' file.
7415
7416 2001-02-22 Nicola Pero <n.pero@mi.flashnet.it>
7417
7418 * Headers/gnustep/base/NSBundle.h: Added three new localization
7419 macros: _(), __() and NSLocalizedStaticString ().
7420
7421 2001-02-22 Nicola Pero <n.pero@mi.flashnet.it>
7422
7423 * Resources/Languages/Italian: New file.
7424 * Resources/GNUmakefile (LANGUAGES): Added Italian.
7425
7426 2001-02-22 Richard Frith-Macdonald <rfm@gnu.org>
7427
7428 * Source/NSUserDefaults.m: Fixes to prevent problems obtaining
7429 languages array due to attempts to use partially constructed
7430 standard user defaults object.
7431
7432 2001-02-21 Adam Fedor <fedor@gnu.org>
7433
7434 * Documenation/install.texi: Update.
7435 * Documenation/news.texi: Likewise.
7436 * INSTALL, NEWS: Regen.
7437
7438 2001-02-21 Richard Frith-Macdonald <rfm@gnu.org>
7439
7440 * Source/NSString.m: Fix memory leak reported by thoran@free.fr
7441 parsePlItem()
7442
7443 2001-02-17 Nicola Pero <nicola@brainstorm.co.uk>
7444
7445 * Source/GNUmakefile (PACKAGE_NAME): Fixed typo - was gnutep-base
7446 rather than gnustep-base.
7447
7448 2001-02-20 Mirko Viviani <mirko.viviani@rccr.cremona.it>
7449
7450 * Source/GSXML.m|.h ([GSXMLAttribute -ns]): get attribute namespace.
7451
7452 2001-02-19 Richard Frith-Macdonald <rfm@gnu.org>
7453
7454 * Source/GSLocale.m: Tidy, defined __USE_GNU to get YESSTR and NOSTR
7455 on later versions of glibc.
7456 * Source/NSString.m: Log more info when parsing a property list fails.
7457
7458 2001-02-13 Adam Fedor <fedor@gnu.org>
7459
7460 * Version: 0.9.1
7461
7462 * configure.in: Fix test for stdint.h
7463
7464 2001-02-11 Manuel Guesdon <mguesdon@orange-concept.com>
7465
7466 * GSXML.m: testing lib!=NULL and string!=NULL before doing something in
7467 -GSXMLNode content
7468 -GSXMLNode name
7469 -GSXMLNode ns
7470 -GSXMLNode nsDef
7471 * NSString.m: handle NULL bytes in -initWithUTF8String:
7472 (Treat it as zero length string and NSDebugMLog a warning).
7473
7474 2001-02-09 Jonathan Gapen <jagapen@home.com>
7475
7476 More FreeBSD build fixes:
7477 * acconfig.h: Add recent definitions.
7478 * configure.in: Add test for wchar.h header.
7479 * configure: Regenerate.
7480 * Headers/gnustep/base/config.h.in: Regenerate.
7481 * Source/GSFormat.m: Typedef wint_t if wchar.h not available.
7482 * Source/NSTask.m: Change #if TIOCNOTTY to #ifdef TIOCNOTTY.
7483
7484 2001-02-08 Nicola Pero <n.pero@mi.flashnet.it>
7485
7486 * INSTALL: Updated installation instructions.
7487
7488 2001-02-08 Richard Frith-Macdonald <rfm@gnu.org>
7489
7490 Fixes reported by David Wetzel ...
7491 * Source/GSFormat.h: Add header for wchar
7492 * Source/NSCoder.m: Remove spurious semicolon
7493 * Source/dynamic-load.h: correct argument to dlsym()
7494
7495 2001-02-08 Richard Frith-Macdonald <rfm@gnu.org>
7496
7497 * Source/GSString.m: permit nil string when replacing characters
7498 in range. Treat as an empty string rather than raising exception.
7499
7500 2001-02-07 Jonathan Gapen <jagapen@home.com>
7501
7502 * Source/NSFileManager.m: Make disk space report work on FreeBSD.
7503 On all Unix platforms, report disk space available to non-root users.
7504
7505 2001-02-07 Richard Frith-Macdonald <rfm@gnu.org>
7506
7507 * Source/GSFormat.m: merged in some more fixes by Kai.
7508
7509 2001-02-07 Richard Frith-Macdonald <rfm@gnu.org>
7510
7511 * Source/GSFormat.m: Fixed error in PAD() macro - it was failing to
7512 decrement a counter - and looping forever.
7513 Fixed error in formatted output of string arguments ... was
7514 crashing with range exception.
7515
7516 2001-02-04 Richard Frith-Macdonald <rfm@gnu.org>
7517
7518 * Source/NSTask.m: Added gnustep specific feature to run task in
7519 pseudo terminal.
7520
7521 2001-02-02 Richard Frith-Macdonald <rfm@gnu.org>
7522
7523 Integrated patch for unicode support for ([-initWithFormat:]) by
7524 Kai Henningsen. Modified to support efficient append with format
7525 to a unicode string.
7526 * configure.in: Test for data type used by GSFormat
7527 * Headers/gnustep/base/GSFormat.h: file declaring GSFormat info.
7528 * Source/GSFormat.m: Source for format support.
7529 * Source/NSString.m: Use GSFormat() to implement ([-initWithFormat:])
7530 * Source/GSString.m: use GSFormat() to implement ([-appendFormat:])
7531
7532 2001-01-31 Richard Frith-Macdonald <rfm@gnu.org>
7533
7534 * Source/NSDate.m: pass dates over DO bycopy unless explicitly byref.
7535 * Source/NSTimeZone.m: pass time zones over DO bycopy unless
7536 explicitly byref.
7537 Use placeholder class for newly created objects - to improve
7538 eficiency of selection of classes in cluster.
7539 Updated to use MacOS-X initialisation methods.
7540
7541 2001-01-30 Michael Hanni <mhanni@sprintmail.com>
7542
7543 * Source/.cvsignore: tweaked to cover a few more items.
7544 * Makefile.postamble: distclean removes created file: base.make.
7545 * configure.in: patched to fix bug in libxml detection macro
7546 (reviewed by: Nicola Pero <nicola@brainstorm.co.uk>)
7547 * configure: Regenerated.
7548
7549 2001-01-30 Nicola Pero <nicola@brainstorm.co.uk>
7550
7551 * gnustep-base.script.spec.in: Fixed, tidied.
7552 * configure.in (CPPFLAGS): Added -I$GNUSTEP_HDIR so that custom
7553 libobjc headers are used - this should fix ffcall detection.
7554 * configure: Regenerated.
7555
7556 2001-01-30 Richard Frith-Macdonald <rfm@gnu.org>
7557
7558 * Headers/Foundation/NSDate.h: Partial support added for MacOS-X
7559 * Source/NSTimeZone.m: Updates to encode all time zones as the
7560 abstract class, and added MacOS-X methods.
7561 * Source/NSCalendarDate.m: Use NSTimeZone rather than NSTimeZoneDetail
7562 throughout ... provide MacOS-X compatibility.
7563 * Source/NSDate.m: Fix milliseconds error creating date on MINGW
7564
7565 2001-01-29 Adam Fedor <fedor@gnu.org>
7566
7567 * configure.in: Remove check for alternate libobjc and Headers
7568 include. Fix typo in setting cppflags_temp in GMP test.
7569 * Source/Makefile.preamble (ADDITIONAL_INSTALL_DIRS): Don't
7570 make .../gnustep/Foundation
7571 * Source/Makefile.postamble (after-install): Don't install headers
7572 in .../gnustep/Foundation
7573
7574 2001-01-29 Nicola Pero <nicola@brainstorm.co.uk>
7575
7576 * GNUmakefile: Include local base.make.
7577 * Admin/GNUmakefile: Idem.
7578 * Documentation/GNUmakefile: Idem.
7579 * Documentation/gsdoc/GNUmakefile: Idem.
7580 * Examples/GNUmakefile: Idem.
7581 * NSCharacterSets/GNUmakefile: Idem.
7582 * NSTimeZones/GNUmakefile: Idem.
7583 * Testing/GNUmakefile: Idem.
7584 * Tools/GNUmakefile: Idem.
7585 * Resources/GNUmakefile: Idem.
7586 * Source/GNUmakefile: Idem.
7587 * configure.in (tests for ffi): set CONFIG_SYSTEM_LIBS too
7588 (test for iconv): test taken from the make package. (AC_OUTPUT):
7589 Generate base.make.
7590 * configure: Regenerated.
7591 * base.make.in: New file.
7592 * Makefile.postamble (before-install): Install base.make.
7593
7594 2001-01-29 Nicola Pero <nicola@brainstorm.co.uk>
7595
7596 * NSTimeZones/NSTimeZones.tar: Updated.
7597
7598 2001-01-28 Jonathan Gapen <jagapen@home.com>
7599
7600 * Source/NSUser.m: In NSSearchPathForDirectoriesInDomains(), added
7601 support for NSDeveloperDirectory, NSAdminDirectory, and the new
7602 GSLibrariesDirectory.
7603 * Headers/gnustep/base/NSPathUtilities.h: Added new enum value
7604 GSLibrariesDirectory, to support GNUstep's Libraries dir.
7605
7606 2001-01-26 Adam Fedor <fedor@gnu.org>
7607
7608 * gnustep-base.script.spec.in: New file, rpm script for installing
7609 gdomap, updating ld.conf, etc.
7610
7611 2001-01-26 Richard Frith-Macdonald <rfm@gnu.org>
7612
7613 * Source/NSArray.m: Fix failure to assign result of init to self
7614 (similar fixes in various other files).
7615 * Tools/gsdoc.m: Fix error in parsing items containing mixed elements.
7616 * Documentation/gsdoc/NSTimeZone.gsdoc: Fix erro in markup.
7617
7618 2001-01-25 Richard Frith-Macdonald <rfm@gnu.org>
7619
7620 * configure.in: Add check for rexcent versions of gmp
7621
7622 2001-01-25 Richard Frith-Macdonald <rfm@gnu.org>
7623
7624 * Source/NSException.m: Modify default handler to permit simple
7625 exit as well as abort.
7626 * Documentation/gsdoc/Base.gsdoc: documented environmnet variable
7627 CRASH_ON_ABORT
7628
7629 2001-01-21 Richard Frith-Macdonald <rfm@gnu.org>
7630
7631 * Source/NSString.m: Fixes for OPENSTEP compatibility in string path
7632 operations - patch provided by Pierre-Yves Rivaille, plus another fix
7633 by me.
7634
7635 2001-01-19 Nicola Pero <nicola@brainstorm.co.uk>
7636
7637 * gnustep-base.spec.in: Updated copyright and attempt at improving
7638 description.
7639
7640 2001-01-19 Nicola Pero <nicola@brainstorm.co.uk>
7641
7642 * config/config.loadtest.m: Added dummy NXConstStr implementation
7643 for libobjc which do not include it.
7644 * configure.in: Simplified check for thread flags. gnustep-make
7645 already gets them - simply get them from config.make here.
7646 * configure: Regenerated.
7647 * config/config_thread.m: Removed.
7648
7649 2001-01-17 Adam Fedor <fedor@gnu.org>
7650
7651 * Version: Prerelease version 0.9.0
7652 * configure.in: Change check for installed libobjc to match gstep-make
7653
7654 2001-01-18 Nicola Pero <nicola@brainstorm.co.uk>
7655
7656 * Source/GNUmakefile: Simplified name to gnustep-base.
7657 * gnustep-base.spec.in: Changed Group to Development/Libraries.
7658 * gnustep-base-debug.spec.in: Idem.
7659 * NSTimeZones/NSTimeZones.tar: Removed hard links to avoid rpm
7660 problems with hard links.
7661
7662 2001-01-18 Richard Frith-Macdonald <rfm@gnu.org>
7663
7664 * Source/NSHost.m: New method ([-_addName:]) to add a name to a host.
7665 Use it to add the local hostname to the 127.0.0.1 host if there is
7666 no IP address set up for the local machine.
7667 * Source/NSRunLoop.m: ([-acceptInputForMode:beforeDate:]) improve
7668 handling of available descriptors - each descriptor may be available
7669 for more than one type of event.
7670
7671 2001-01-17 Mirko Viviani <mirko.viviani@rccr.cremona.it>
7672
7673 * Source/GSXML.m|.h ([GSXMLDocument -stringValue]): dump document in a
7674 string.
7675
7676 Wed Jan 17 16:46:09 2001 Nicola Pero <nicola@brainstorm.co.uk>
7677
7678 * GNUmakefile: Added PACKAGE_NEEDS_CONFIGURE and
7679 RPM_DISABLE_RELOCATABLE.
7680 * GNUmakefile: Simplified name to gnustep-base.
7681 * gnustep-base.spec.in: New file.
7682 * gnustep-base-debug.spec.in: Idem.
7683 * gnustep-base.spec: Move to gnustep-base.spec.old.
7684
7685 2001-01-13 Richard Frith-Macdonald <rfm@gnu.org>
7686
7687 * Source/GSMime.m: ([-decodeData:fromrange:intoData:withContext:])
7688 Added destination data cpacity information to context so that
7689 correct positioning can be maintained over a sequence of calls
7690 using a chunked http context.
7691 * Source/GSAttributedString.m: Fixed bug initialising from an
7692 empty attributed string, and fixed bug replacing characters in
7693 range, when an attribute range location is the same s the location
7694 of the replaced characters.
7695
7696 2001-01-12 Richard Frith-Macdonald <rfm@gnu.org>
7697
7698 * Source/GSXML.m: ([-GSXMLDocument setRoot:]) set root node to be
7699 owned by libxml, so we don't free it's memory ourselves.
7700 * Headers/gnustep/base/NSValue.h: Added range methods.
7701 * Source/GNUmakefile: Rename value files to GS prefix and remove
7702 concrete value header.
7703 * Source/Makefile.postamble: Build GS value files. rather than NS
7704 * Source/NSValue.m: Added range methods and updated for change to
7705 naming conventions. Added abstract placeholder class. Fixed encoding
7706 to store the abstract class in the archive.
7707 * Testing/values.m: Added range check
7708 * Source/GSTemplateValue.m: Renamed for consistency.
7709 Adapted encoding/decoding for storing abstract class in archive.
7710 * Source/GSValue.m: ditto
7711 * Headers/gnustep/base/NSConcreteValue.h: private info removed
7712 * Source/NSCTemplateValue.m: Renamed for consistency
7713 * Source/NSConcreteValue.m: ditto
7714
7715 2001-01-10 Nicola Pero <n.pero@mi.flashnet.it>
7716
7717 * Source/GSAttributedString.m ([GSAttributedString -length]),
7718 ([GSMutableAttributedString -length]): Added for speed.
7719
7720 2001-01-10 Richard Frith-Macdonald <rfm@gnu.org>
7721
7722 * Source/Unicode.m: Fix bug in checking possible default string
7723 encodings . reported by Stefan Urbanek
7724
7725 2001-01-10 Richard Frith-Macdonald <rfm@gnu.org>
7726
7727 Tidyup by removing 'NonCore' categories.
7728
7729 2001-01-09 Richard Frith-Macdonald <rfm@gnu.org>
7730
7731 General tidyups to simplify code and to make class names
7732 consistent with the other libraries.
7733 * Headers/Foundation/NSGAttributedString.h: removed
7734 * Source/NSGAttributedString.m: renamed to GSAttributedString.m
7735 concrete classes renamed for consistency with other gstep libs.
7736 * Source/NSGDictionary.m: renamed to GSDictionary.m
7737 concrete classes renamed for consistency with other gstep libs.
7738 * Source/NSAttributedString.m: classes renamed
7739 * Source/NSDictionary.m: classes renamed
7740 * Source/GNUmakefile: replace NSGAttrinbutedString with and
7741 NSGDictionary with GS prefixed classes.
7742 Don't try to install old header.
7743 * Source/NSString.m: updates for class renaming.
7744 * Source/NSSerializer.m: ditto
7745
7746 2001-01-08 Adam Fedor <fedor@gnu.org>
7747
7748 * configure.in: Enable ffcall by default (unless the libraries
7749 don't exist).
7750
7751 2001-01-08 Richard Frith-Macdonald <rfm@gnu.org>
7752
7753 * Headers/Foundation/NSGArray.h: removed
7754 * Headers/Foundation/NSArray.h: merge core/non-core classes.
7755 * Source/GNUmakefile: replace NSGArray with GSArray.
7756 * Source/NSGArray.m: converted to GSArray.m
7757 * Source/NSArray.m: simplified by merging core/non-core classes.
7758 Use placeholder class when allocating constant arrays.
7759 * Source/GSArray.m: simplified version of GSArray.m
7760 Added GSPlaceholderArray.
7761 * Source/NSSerializer.m: use GSInlineArray where possible.
7762 * Source/GSSet.m: Provide decoding of NSGSet for backward compatibility.
7763 * Source/NSException.m: Avoid recursion in exception handler.
7764
7765 2001-01-04 Richard Frith-Macdonald <rfm@gnu.org>
7766
7767 * Tools/gsdoc.gsdoc: Tidied and fixed a few typos/spelling errors.
7768
7769 2001-01-04 Jonathan Gapen <jagapen@home.com>
7770
7771 * configure.in, aclocal.m4, acconfig.h: Replace libxml detection with
7772 autoconf macro from libxml 2.2.10 installation.
7773 * configure, Headers/gnustep/base/config.h.in: Regenerate.
7774 * Headers/gnustep/base/GSXML.h, base/Source/GSXML.m,
7775 base/Tools/gsdoc.m: Use proper libxml #includes.
7776
7777 2001-01-03 Adam Fedor <fedor@gnu.org>
7778
7779 * configure.in: Change test for objc forwarding hook to match gcc
7780 patch.
7781 * Source/GSFFCallInvocation.m: Use new forwarding hook.
7782
7783 2001-01-03 Richard Frith-Macdonald <rfm@gnu.org>
7784
7785 * Source/NSBundle.m: fix for checking windows executable file
7786 extensions - reported by michael.scheibler@onevision.de
7787
7788 2001-01-03 Mirko Viviani <mirko.viviani@rccr.cremona.it>
7789
7790 * Source/NSObjCRuntime.m (GSInstanceVariableInfo): fixes.
7791 * Source/NSObject.m ([NSObject -handleQueryWithUnboundKey:]): raise an
7792 exception.
7793 ([NSObject -handleTakeValue:forUnboundKey:]): changed exception.
7794 ([NSObject -unableToSetNilForKey:]): likewise.
7795 ([NSObject -storedValueForKey:]),
7796 ([NSObject -valueForKey:]): check for null selector before calling
7797 respondsToSelector:
7798 ([NSObject -takeStoredValue:forKey:]),
7799 ([NSObject -takeValue:forKey:]): likewise. Call GSSetValue with correct
7800 values.
7801 (GSSetValue): fixed ivar implementation.
7802 (GSGetValue): likewise.
7803 ([NSObject -methodSignatureForSelector:]): FreeBSD fix.
7804 * Source/NSEnumerator.m|.h ([NSEnumerator -allObjects]): implemented.
7805 * Source/Unicode.m (GetDefEncoding): do not emit the warning for
7806 NSISOLatin1StringEncoding.
7807
7808 2000-12-26 Adam Fedor <fedor@gnu.org>
7809
7810 * configure.in: Look for libxml2 (patch from Kim Shrier
7811 <kim@tinker.com>).
7812 * acconfig.h: Define LIBXML2
7813 * Headers/gnustep/base/config.h.in: Regenerate
7814 * Headers/gnustep/base/GSXML.h: Include libxml2.h if found.
7815 * Source/GSXML.m: Likewise.
7816 * Tools/gsdoc.m: Likewise. (patches from Kim Shrier <kim@tinker.com>).
7817
7818 2000-12-22 Adam Fedor <fedor@gnu.org>
7819
7820 * Source/GSFFCallInvocation.m: Remove powerpc specific defs
7821
7822 2000-12-21 Richard Frith-Macdonald <rfm@gnu.org>
7823
7824 * Source/NSDistantObject.m: Modified DO_FORWARD_INVOCATION() macro
7825 and its uses so that they actually do what was intended :-)
7826 Also, modified implementation of methodSignatureForSelector: for
7827 ffcall library to prevent recursion.
7828
7829 2000-12-21 Richard Frith-Macdonald <rfm@gnu.org>
7830
7831 * Headers/Foundation/GSIMap.h: On initialisation set number of nodes
7832 to exactly equal capacity, for improved memory efficiency.
7833 * Source/Makefile.postamble: correct dependencies for GSIMap.
7834 * Source/GSCountedSet.m: Use map enumerator rather than messing with
7835 the internals of a GSIMap directly.
7836 * Source/GSSet.m: ditto
7837 * Source/NSConnection.m: ditto
7838 * Source/NSGDictionary.m: ditto
7839 * Source/NSNotificationCenter.m: ditto
7840 * Source/NSString.m: property list memory leak fixed.
7841
7842 2000-12-18 Richard Frith-Macdonald <rfm@gnu.org>
7843
7844 * Source/NSGAttributedString.m: Fix logic errors setting attributes.
7845
7846 2000-12-18 Adam Fedor <fedor@gnu.org>
7847
7848 * Source/Makefile.postamble (libgnustep.def): Rebuild manually
7849 rather than automatically.
7850
7851 2000-12-14 Richard Frith-Macdonald <rfm@gnu.org>
7852
7853 * Source/Unicode.m: Tidied to conform to coding standards and changed
7854 to use ISOLatin1 as the default cString encoding.
7855 * Source/GSString.m: Fixed bug getting cString from unicode string -
7856 raise exception when it should.
7857 * Source/NSString.m: ditto. Also use lossyCString in various
7858 places rather than cString.
7859
7860 2000-12-13 Nicola Pero <n.pero@mi.flashnet.it>
7861
7862 * Headers/gnustep/base/NSRange.h, Source/NSRange.m: Inlined
7863 NSMakeRange.
7864
7865 2000-12-12 Nicola Pero <n.pero@mi.flashnet.it>
7866
7867 * Source/NSDebug.m (table_entry): Added peak field.
7868 (GSDebugAllocationAdd): Set peak counter if needed.
7869 (GSDebugAllocationClassList), (GSDebugAllocationTotal),
7870 (GSDebugAllocationPeak): New functions.
7871 * Headers/gnustep/base/NSDebug.h: Added corresponding
7872 declarations.
7873
7874 2000-12-08 Adam Fedor <fedor@gnu.org>
7875
7876 * Set up DO and NSInvocation to use foreign-function interface
7877 library.
7878 * configure.in: Add check for --enable-ffcall
7879 * Documentation/gnustep-base.texi: Update
7880 * Documentation/install.texi: Likewise.
7881 * Documentation/readme.texi: Likewise.
7882 * Documentation/gsdoc/NSTimeZone.gsdoc: Update.
7883
7884 * Headers/gnustep/base/NSConnection.h: New forward method.
7885 * Headers/gnustep/base/NSInvocation.h: New frame ivar.
7886 * Source/GNUmakefile: Conditionally compile in FFI classes if
7887 enabled.
7888 * Source/NSConnection.m (-forwardInvocation:forProxy:): New method.
7889 (_service_forwardForProxy:): For FFCALL don't autorelease memory,
7890 call proper forwarding function.
7891 * Source/NSDistantObject.m (forwardInvocation:): Implement.
7892 (methodSignatureForSelector:): For FFCALL, forward through
7893 invocation.
7894 (conformsToProtocol:): Likewise.
7895 (respondsToSelector:): Likewise.
7896 * Source/NSInvocation.m: Convert to abstract class with subclasses
7897 based on FFI interface.
7898 (_get_arg, _set_arg, _arg_addr): New functions based on FFI interface.
7899 (+allocWithZone:): Alloc proper concrete class.
7900 (+initialize): Set proper concrete class.
7901 (-initWithCoder:): Replace self with proper concrete class.
7902 (initWithArgframe:selector:): Make subclassResponsibility.
7903 (initWithMethodSignature:): Likewise.
7904 (returnFrame:): Likewise.
7905 Implement GSFrameInvocation
7906 * Source/GSFFCallInvocation: New file.
7907 * Source/GSFFIInvocation: Likewise.
7908 * Source/cifframe.[hm]: Likewise.
7909 * Source/callframe.[hm]: Likewise.
7910
7911 2000-12-07 Richard Frith-Macdonald <rfm@gnu.org>
7912
7913 * Source/NSGSet.m: renamed to GSSet.m for consistency, tidied.
7914 * Source/NSGCountedSet.m: renamed to GSCountedSet.m for consistency.
7915 * Headers/Foundation/NSGSet.h: removed - obsolete.
7916 * Headers/Foundation/NSSet.h: si9mplified back to single class
7917 * Source/NSSet.m: Updated and tidied. Fixed coding class for
7918 mutable sets. Removed non-core classes.
7919
7920 2000-12-05 Richard Frith-Macdonald <rfm@gnu.org>
7921
7922 * Source/NSURLHandle.m: minor mods to background loading.
7923 * Source/GNUmakefile:
7924 * Source/Makefile.postamble:
7925 * Source/Makefile.preamble:
7926 * Tools/Makefile.preamble:
7927 Updated for flattened directory structure.
7928
7929 2000-12-02 Richard Frith-Macdonald <rfm@gnu.org>
7930
7931 * Source/NSDate.m: GSTime() added millisecond info.
7932 * Source/NSCalendarDate.m: GSTime() added millisecond info.
7933 * Headers/Foundation/NSDate.h: GSTime() added millisecond info.
7934 * Source/NSObject.m: key-value-coding restructured and
7935 implemented for non-object values.
7936
7937 2000-11-30 Richard Frith-Macdonald <rfm@gnu.org>
7938
7939 * Source/NSCalendarDate.m: ([-initWithString:calendarFormat:locale:])
7940 Bugfixes to fill in missing information using current date/time and
7941 to implement missing format codes.
7942
7943 2000-11-27 Richard Frith-Macdonald <rfm@gnu.org>
7944
7945 * Source/NSClassDescription.m: New MacOS-X class added.
7946 * Headers/Foundation/NSClassDescription.m: New MacOS-X class added.
7947 * Headers/Foundation/NSKeyvalueCoding.m: New MacOS-X protocol added.
7948 * Source/NSObject.m: New MacOS-X key value coding methods added.
7949 Only objects currently supported - needs work to support scalar
7950 types too!
7951
7952 2000-11-23 Mirko Viviani <mirko.viviani@rccr.cremona.it>
7953
7954 * Source/NSBundle.m ([NSBundle +_addFrameworkFromClass:]): fixed an
7955 autorelease problem. (reported by Gerald Siebke <gerald@turbocat.de>)
7956
7957 2000-11-22 Richard Frith-Macdonald <rfm@gnu.org>
7958
7959 * Source/GSTcpPort.m: ([-connectToPort:beforeDate:]) added locking to
7960 prevent possible problems with two threads trying to get root object
7961 of a new connection at the same time.
7962 * Documentation/gsdoc/NSURLHandle.gsdoc: Added subclass information.
7963
7964 2000-11-22 Richard Frith-Macdonald <rfm@gnu.org>
7965
7966 * Headers/gnustep/base/NSAutoreleasePool.h: Changed proivate method
7967 for cleanup at end of thread.
7968 * Headers/gnustep/base/NSThead.h: New ivar to mark when we are
7969 deallocating.
7970 * Source/NSAutoreleasePool.m: Added parameter to _endThread so we
7971 can safely end a thread without it being the current one.
7972 * Source/NSThread.m: Now clean up autorelease pools *after*
7973 everything elese, while deallocating the thread. This is to cope
7974 with objects that try to access the thread dictionary while
7975 autoreleasing. -threadDictionary modified to return nil during
7976 deallocation rather than creating a new ductionary.
7977
7978 2000-11-21 Richard Frith-Macdonald <rfm@gnu.org>
7979
7980 * Source/externs.m: Removed obsolete http body key.
7981 * Source/GSHTTPURLHandle.m: Removed obsolete http body key.
7982 * Headers/Foundation/NSURLHandle.h: Removed obsolete http body key.
7983
7984 2000-11-20 Nicola Pero <n.pero@mi.flashnet.it>
7985
7986 * Source/NSConnection.m: ([NSConnection -invalidate]) Fixed typo in
7987 multi-thread support.
7988
7989 2000-11-18 Richard Frith-Macdonald <rfm@gnu.org>
7990
7991 * Source/NSURLHandle.m: Implemented setting and gettign of properties
7992 for file handles using NSFileManager.
7993 * Source/GSHTTPURLHandle.m: Implemented ([-writeData:]). Rewrote
7994 posting mechanism using new implementation. Modified so that old
7995 method of writing bodyn properties still works for the moment.
7996 * configure.in: Added tests for GMP library - needed in future.
7997 * Headers/Foundation/NSDecimal.h: include GSConfig.h for HAVE_GMP
7998 * Source/NSDecimal.m: test for truth value of HAVE_GMP
7999 * Headers/Foundation/GSConfig.h.in: add HAVE_GMP support, but
8000 override to '0' until GMP support is fully implemented.
8001
8002 2000-11-17 Richard Frith-Macdonald <rfm@gnu.org>
8003
8004 * Headers/Foundation/GSMime.h: Added GSMimeEncodingContext etc
8005 * Headers/Foundation/NSURLHandle.h: Added some more property keys.
8006 * Source/GSMime.m: Update to add method for general decoding of
8007 different transfer encoding types including chunked (for http1.1).
8008 Recognise end of data in chunked encoding or by content length.
8009 * Source/GSHTTPURLHandle.m: Added new class for http and https support.
8010 * Source/NSURLHandle.m: Register class for http and https support.
8011 * Source/externs.m: Added property keys for URL handles.
8012 * Documentation/gsdoc/GSMime.gsdoc: updated
8013 * Documentation/gsdoc/GSMimeDocument.gsdoc: updated
8014 * Documentation/gsdoc/GSMimeParser.gsdoc: updated
8015
8016 2000-11-16 Richard Frith-Macdonald <rfm@gnu.org>
8017
8018 * Source/NSUserDefaults.m: ([-userLanguages]) updated to ensure we
8019 don't get empty strings in the language list.
8020 * Headers/Foundation/GSMime.h: Revised API
8021 * Source/GSMime.m: Revised API to make more sense
8022 * Documentation/gsdoc/GSMime.gsdoc: ditto
8023 * Documentation/gsdoc/GSMimeDocument.gsdoc: ditto
8024 * Documentation/gsdoc/GSMimeParser.gsdoc: ditto
8025
8026 2000-11-16 Richard Frith-Macdonald <rfm@gnu.org>
8027
8028 * Source/NSURL.m: ([-explode]) bugfix for parsing username/password
8029 provided by mark@brainstorm.co.uk
8030
8031 2000-11-16 Richard Frith-Macdonald <rfm@gnu.org>
8032
8033 * Source/GSTcpPort.m: Altered all GSTcpHandle debug output to include
8034 current thread. Added locking for read/write operations on handle.
8035 Hopefully all thread-safe now :-)
8036
8037 2000-11-15 Richard Frith-Macdonald <rfm@gnu.org>
8038
8039 * Source/NSConnection.m: ([-_getReplyRmc:]) added semi-busy wait
8040 for when the connection is being used from multiple threads.
8041
8042 2000-11-15 Richard Frith-Macdonald <rfm@gnu.org>
8043
8044 * configure.in: Added checks for OpenSSL
8045 * Headers/gnustep/base/NSFileHandle.h: Added info for SSL handles.
8046 * Source/UnixFileHandle.m: Added GSUnixSSLHandle class based on
8047 code by <mark@brainstorm.co.uk>
8048
8049 2000-11-15 Richard Frith-Macdonald <rfm@gnu.org>
8050
8051 * Source/NSBundle.m: Minor tidying to avoid compiler warnings.
8052 * Source/NSFileManager.m: ditto
8053
8054 Tue Nov 14 23:44:14 2000 Adam Fedor <fedor@yogi.doc.com>
8055
8056 * Source/GSString.m: Add limits.h (for Solaris)
8057
8058 2000-11-14 Adam Fedor <fedor@gnu.org>
8059
8060 * Source/GSLocale.m: Put LANGINFO_H ifdefs around include of
8061 langinfo.h.
8062
8063 2000-11-14 Richard Frith-Macdonald <rfm@gnu.org>
8064
8065 * Source/GSTcpPort.m: ([GSTcpHandle -receivedEvent:type:extra:forMode:])
8066 added locks around write operations for multi-threaded operation.
8067 newDataWithEncodedPort() modified to encode local host as an empty
8068 string, and other hosts by name rather than address.
8069 decodePort() added new parameter so that an empty string can be
8070 decoded as the host to which the GSTcpHandle is talking.
8071 Modified in various places to keep a record of the IP address of the
8072 remote end of the connection, so we can pass this to decodePort()
8073 ([-getFds:count:]) fixed error in determining set of file descriptors
8074 to listen to - resulted in two threads listening to the same descriptor
8075 at the same time!
8076
8077 2000-11-13 Richard Frith-Macdonald <rfm@gnu.org>
8078
8079 * Source/NSGAttributedString.m: partial rewrite to cache/unique
8080 dictionaries and to coalesce adjacent regions of string with the
8081 same attributes when setting attributes.
8082
8083 2000-11-12 Fred Kiefer <FredKiefer@gmx.de>
8084
8085 * Source/NSArray.m: Corrected [NSMutableArray arrayWithObject:] to
8086 return obj instead of self.
8087
8088 Fri Nov 10 12:30:27 2000 Nicola Pero <n.pero@mi.flashnet.it>
8089
8090 Added some GNUstep extensions to NSThread to allow JIGS to
8091 transparently map java threads to gnustep threads (and vice
8092 versa):
8093 * Headers/gnustep/base/NSThread.h, Source/externs.m:
8094 (NSThreadDidStartNotification): New notification.
8095 * Source/NSThread.m ([NSThread -_sendThreadMethod]): Post
8096 the NSThreadDidStartNotification.
8097 * Source/NSThread.m, Headers/gnustep/base/NSThread.h
8098 ([+registerCurrentThread]), ([+unregisterCurrentThread]): New
8099 methods.
8100
8101 2000-11-10 Mirko Viviani <mirko.viviani@rccr.cremona.it>
8102
8103 * Source/NSBundle.m ([NSBundle +_addFrameworkFromClass:]): avoid crash
8104 when called with Nil class.
8105
8106 2000-11-10 Richard Frith-Macdonald <rfm@gnu.org>
8107
8108 * Source/GSTcpPort.m: Added some locking tweaks for writing data.
8109 * Source/GSString.m: Fix for decoding obsolete string classes.
8110
8111 2000-11-09 Richard Frith-Macdonald <rfm@gnu.org>
8112
8113 * Source/NSPort.m: ([-setDelegate:]) corrected assertion to allow
8114 delegate to be set to nil. Bug reported by cornils@mail.desy.de
8115
8116 2000-11-08 Richard Frith-Macdonald <rfm@gnu.org>
8117
8118 * Source/GSString.m: ([GSMutableString substringWithRange:]) fix to
8119 initialize inline string classes correctly.
8120
8121 2000-11-06 Adam Fedor <fedor@gnu.org>
8122
8123 * Documentation: Move tmpl.texi files to texi and update GNUmakefile
8124
8125 Mon Nov 6 16:55:26 2000 Nicola Pero <n.pero@mi.flashnet.it>
8126
8127 * Documentation/GNUmakefile: Install ANNOUNCE, NEWS, INSTALL,
8128 BUGS, README, STATUS into
8129 Documentation/Developer/Base/ReleaseNotes/$(VERSION); install
8130 CODING-STANDARDS and coding-standards into
8131 Documentation/Developer/CodingStandards; install gnustep-base into
8132 Documentation/Developer/Base/Manual.
8133 * Documentation/gsdoc/GNUmakefile
8134 (Base_DOCUMENTATION_INSTALL_DIR): Install gsdoc reference in
8135 Documentation/Developer/Base/Reference.
8136
8137 2000-11-06 Richard Frith-Macdonald <rfm@gnu.org>
8138
8139 * Source/NSString.m: handle_printf_atsign() - use lossyCString to
8140 get string to print. This is a temporary *HACK* - we need a proper
8141 unicode supporting initWithFormat:
8142 * Source/GSString.m: ([GSMutableString substringWithRange:]) fix to
8143 allocate inline string classes for substrings.
8144
8145 2000-11-04 Richard Frith-Macdonald <rfm@gnu.org>
8146
8147 * Source/NSCalendarDate.m ([NSCalendarDate -initWithString:
8148 calendarFormat:locale:]): try getting timezone by name before
8149 attempting by abbreviation - thus preserving exact name isf possible.
8150
8151 2000-11-03 Mirko Viviani <mirko.viviani@rccr.cremona.it>
8152
8153 * Source/NSCalendarDate.m ([NSCalendarDate -initWithString:
8154 calendarFormat:locale:]): assign calendar format.
8155
8156 2000-11-03 Richard Frith-Macdonald <rfm@gnu.org>
8157
8158 * Source/NSString.m: Update for placeholder class.
8159 * Source/GSString.m: Updates for optimisations using placeholder class.
8160
8161 2000-11-01 Richard Frith-Macdonald <rfm@gnu.org>
8162
8163 * Source/GSXML.m: External entity loader revisions completed.
8164 * Documentation/gsdoc/GSXML.gsdoc: changes to api
8165 * Documentation/gsdoc/GSXMLParser.gsdoc: ditto
8166 * Documentation/gsdoc/GSSAXHandler.gsdoc: ditto
8167
8168 2000-11-01 Manuel Guesdon <mguesdon@orange-concept.com>
8169 * Headers/Foundation/GSXML.h: added GSXMLNode
8170 propertiesAsDictionaryWithKeyTransformationSel:
8171 * Source/GSXML.m: added GSXMLNode
8172 propertiesAsDictionaryWithKeyTransformationSel:
8173
8174 2000-11-01 Richard Frith-Macdonald <rfm@gnu.org>
8175
8176 * Source/NSUserDefaults.m: Fixed uninitialised variable bug.
8177 * Source/NSString.m: Fixed error in xml property list parsing
8178 * Source/GSXML.m: Various SAX things to use default implementation.
8179
8180 2000-10-31 Richard Frith-Macdonald <rfm@gnu.org>
8181
8182 * Source/NSString.m: Implemented
8183 ([-initWithCharactersNoCopy:length:freeWhenDone:]) and
8184 ([-initWithCStringNoCopy:length:freeWhenDone:]) for NSMutableString.
8185 ([-initWithCStringNoCopy:length:freeWhenDone:]) for NSString.
8186
8187 2000-10-31 Richard Frith-Macdonald <rfm@gnu.org>
8188
8189 Loads of files modified, fast.x removed.
8190 Found it unexpectedly easy to tidy up so that all functions for
8191 accessing the runtime are now in NSObjCRuntime.h.
8192 Now all :-) we need are Apple runtime implementations, configuration
8193 auto-detect for the apple runtime, and loads of updating of any
8194 bits of code that call the runtime directly.
8195
8196 2000-10-31 Richard Frith-Macdonald <rfm@gnu.org>
8197
8198 * Headers/gnustep/base/NSGString.h:
8199 * Headers/gnustep/base/NSGCString.h:
8200 * Source/NSGString.m:
8201 * Source/NSGCString.m: Removed classes - no longer used.
8202 * Headers/gnustep/base/NSObjCRuntime.h:
8203 * Headers/gnustep/base/fast.x:
8204 * Source/GSString.m:
8205 * Source/Makefile.postamble:
8206 * Source/NSArchiver.m:
8207 * Source/NSCTemplateValue.m:
8208 * Source/NSConcreteValue.m:
8209 * Source/NSCountedSet.m:
8210 * Source/NSDate.m:
8211 * Source/NSDictionary.m:
8212 * Source/NSDistantObject.m:
8213 * Source/NSGSet.m:
8214 * Source/NSNumber.m:
8215 * Source/NSObject.m:
8216 * Source/NSScanner.m:
8217 * Source/NSSerializer.m:
8218 * Source/NSSet.m:
8219 * Source/NSUnarchiver.m:
8220 Changed calls to 'fastClass()' to use 'GSObjCClassOfObject()' and
8221 added that to NSObjCRuntime.h. Removed central class and
8222 implementation caching from NSObject.m and fast.x since it was not
8223 being effectively used. New intention to do removal of fast.x and
8224 add similar functionality to NSObjCRuntime.h - intention being to
8225 combine functionality of fast access to the runtime, and hiding both
8226 GNU and Apple runtime behind a single interface.
8227
8228 2000-10-30 Richard Frith-Macdonald <rfm@gnu.org>
8229
8230 * Source/NSURLHandle.m: Wrap all locking with exception handlers to
8231 ensure that locks are released.
8232 * Headers/gnustep/base/NSInvocation.h: Removed non-standard macros
8233 * Headers/gnustep/base/behavior.h: Removed unused macro
8234 CALL_METHOD_IN_CLASS()
8235 * Source/GSString.m:
8236 * Source/GSXML.m:
8237 * Source/NSArchiver.m:
8238 * Source/NSArray.m:
8239 * Source/NSAttributedString.m:
8240 * Source/NSData.m:
8241 * Source/NSDictionary.m:
8242 * Source/NSGArray.m:
8243 * Source/NSGAttributedString.m:
8244 * Source/NSGCString.m:
8245 * Source/NSGDictionary.m:
8246 * Source/NSGeometry.m:
8247 * Source/NSObject.m:
8248 * Source/NSPortCoder.m:
8249 * Source/NSProcessInfo.m:
8250 * Source/NSRange.m:
8251 * Source/NSRunLoop.m:
8252 * Source/NSScanner.m:
8253 * Source/NSSerializer.m:
8254 * Source/NSString.m:
8255 * Source/NSUnarchiver.m:
8256 * Source/NSUserDefaults.m:
8257 Updated to move static SEL variable initialisation to +initialize
8258 methods so that it should (I think) work with the Apple runtime.
8259
8260 2000-10-29 Adam Fedor <fedor@gnu.org>
8261
8262 * configure.in: Check for langinfo.
8263 * Source/GSLocale.m (GSDomainFromDefaultLocale): Return nil
8264 dict if langinfo info not available.
8265
8266 * acconfig.h: Add HAVE_DLADDR
8267 * Headers/gnustep/base/config.h.in: Regenerate.
8268 * Source/simple-load.h (__objc_dynamic_get_symbol_path): Return
8269 nil if not HAVE_DLADDR.
8270
8271 2000-10-29 Richard Frith-Macdonald <rfm@gnu.org>
8272
8273 * Source/GSString.m: New inline string classes added to avoid calls
8274 to malloc in some cases. Changed all deallocation methods to call
8275 NSDeallocateObject() directy for efficiency.
8276 * Source/NSString.m: Use new inline string classes for creation of
8277 strings where we know the length of the data in advaance.
8278
8279 2000-10-28 Mirko Viviani <mirko.viviani@rccr.cremona.it>
8280
8281 * Headers/gnustep/base/NSBundle.h: added ivar.
8282 * Source/NSBundle.m ([NSBundle +_addFrameworkFromClass:]): new private
8283 method to parse NSFramework_* classes.
8284 (_bundle_load_callback): added framework support. Wrap classes in a
8285 NSValue to avoid implicit initialization.
8286 ([NSBundle +allBundles]): added framework support.
8287 ([NSBundle +allFrameworks]): implemented.
8288 ([NSBundle +bundleForClass:]): get classes from NSValue object.
8289 ([NSBundle -classNamed:]): likewise.
8290
8291 * Headers/gnustep/base/objc-load.h (LINKER_GETSYMBOL): new define.
8292 * Source/objc-load.m (objc_get_symbol_path): get lib path of a Class
8293 or Category.
8294 * Source/simple-load.h (__objc_dynamic_get_symbol_path): indentifies
8295 lib path of a symbol.
8296 * Source/dld-load.h (__objc_dynamic_get_symbol_path): not supported.
8297 * Source/hpux-load.h (__objc_dynamic_get_symbol_path): not implemented.
8298
8299 * Source/mframe/mframe.foot (mframe_get_arg): typ declaration fix.
8300 (mframe_set_arg): idem
8301
8302 * Headers/gnustep/base/config.h.in: added HAVE_DLADDR
8303 * aclocal.m4 (OBJC_SYS_DYNAMIC_LINKER): test for dladdr()
8304 * configure.in: added --with-libxml-include and --with-libxml-library,
8305 added -I/usr/local/include and -L/usr/local/lib for FreeBSD.
8306
8307 2000-10-27 Richard Frith-Macdonald <rfm@gnu.org>
8308
8309 * Source/NSObject.m: Reverted last change -
8310 +new has to do alloc, init or break classes that expect to use their
8311 own allocation mechanisms. Similarly, +alloc must call the
8312 ([+allocWithZone:]) method. We can't make optimisations that
8313 break with the OpenStep spec and MacOS documentation - they would
8314 break production code. Of course, private classes can do this.
8315
8316 2000-10-27 Lyndon Tremblay <humasect@home.com>
8317
8318 * Source/NSObject.m ([NSObject +new]): No longer sends 2 messages,
8319 uses NSAllocateObject().
8320 ([NSObject +alloc]): Likewise, no message sending within the method.
8321
8322 2000-10-27 Richard Frith-Macdonald <rfm@gnu.org>
8323
8324 * Source/NSURLHandle.m: Make class registration thread safe.
8325 Tidy initialisation to use designated initialiser.
8326
8327 2000-10-27 Adam Fedor <fedor@gnu.org>
8328
8329 * Added localization support
8330 * configure.in: Look for locale.h
8331 * Resources: New directory, files for languages.
8332 * Headers/gnustep/base/NSUserDefaults.h: Add missing localization
8333 keys.
8334 * Source/GSLocale.m: New functions for dealing with locales.
8335 * Source/NSUserDefaults.m (-_unlocalizedDefaults): New method.
8336 (-sharedUserDefaults): Set up Language domain.
8337 (-userLanguages): Create our own defaults, if necessary, to avoid
8338 recursion with sharedUserDefaults.
8339 (__createStandardSearchList): Put NSGlobalDomain before Language
8340 domain to match MacOSX docs (wasn't specified in OpenStep docs).
8341 * Documentation/gsdoc/NSUserDefaults.m: Updated.
8342
8343 * Tools/locale_alias.m: New test-tool mostly for maintainance use.
8344
8345 2000-10-26 Richard Frith-Macdonald <rfm@gnu.org>
8346
8347 * Source/NSData.m: When deserialising selectors, register new
8348 selectors if they don't already exist - so we can unarchive a
8349 selector into a program where no objects implements it (we might
8350 still want to use it over DO or to store in another archive).
8351 Change suggested by N.Pero.
8352 * Source/GSMime.m: Mime parser classes partially written.
8353 * Headers/Foundation/GSMime.h: mime class headers
8354 * Documentation/gsdoc/GSMime.gsdoc: documentation
8355 * Documentation/gsdoc/GSMimeDocument.gsdoc: documentation
8356 * Documentation/gsdoc/GSMimeParser.gsdoc: documentation
8357 Various files partially implemented to add MIME parsing support.
8358 Intended to aid implementation of HTTP version of NSURLHandle.
8359
8360 2000-10-24 Adam Fedor <fedor@gnu.org>
8361
8362 * Source/NSCalendarDate.m (-initWithString:calendarFormat:locale:):
8363 Set format if nil.
8364 (-addYear:month:day:hour:minute:second:): Use signed ints.
8365
8366 2000-10-24 Richard Frith-Macdonald <rfm@gnu.org>
8367
8368 * Source/GSString.m: Implement ([-substringWithRange:]) and
8369 ([-substringFromRange:]) equally. The 'from' method is the
8370 'official OpenStep' one, the 'with' method is a MacOS-X compatibility
8371 addition.
8372 * Source/NSAttributedString.m: Added ([-attributedSubstringWithRange:])
8373 in the expectation that Apple will rename the method and remove
8374 ([-attributedSubstringFromRange:])
8375 * Source/NSScanner.m: Use substringWithRange.
8376 * Source/NSProxy.m: Implement ([-forward::]) to use
8377 ([-forwardInvocation:]). Implement ([-conformsToProtocol:]) to raise
8378 exception, Implement ([-respondsToSelector:]) to raise exception.
8379 * Source/NSDistantObject.m: Implement ([-conformsToProtocol:]) to
8380 forward to remote. Implement ([-respondsToSelector:]) to forward.
8381
8382 2000-10-24 Fred Kiefer <FredKiefer@gmx.de>
8383
8384 * Source/NSAttributedString.m: Added begin/endEditing to all
8385 complex methods on NSMutableAttributedString as necessary for
8386 NSTextStorage.
8387 * Source/GSString.m: Changed all substringFromRange: to
8388 substringWithRange: as this is the basic method.
8389
8390 2000-10-23 Richard Frith-Macdonald <rfm@gnu.org>
8391
8392 * Source/NSString.m: ([-fastestEncoding]), ([-smallestEncoding])
8393 implemented to return NSUnicodeStringEncoding. Use new string
8394 classes more effectively - let GSString turn itsself into either
8395 GSCString or GSUstring when initialised.
8396 Merged in code from propList.h
8397 * Source/GSString.m: ([-dataUsingEncoding:allowLossyConversion:])
8398 bugfixes for cString reported by Freed Kiefer
8399 Removed 'ascii' flag - more trouble than a minor optimisation is
8400 worth.
8401 Fixed transmute() to be careful about freeing old string.
8402 * Source/Unicode.m: encode_ustrtostr_strict() return 0 on failure.
8403
8404 2000-10-21 Richard Frith-Macdonald <rfm@gnu.org>
8405
8406 * Headers/Foundation/NSNull.h: New placeholder class.
8407 * Source/NSNull.m: New placeholder class.
8408 * Source/GNUmakefile: Build NSNull and install header.
8409 * Documentation/gsdoc/GNUmakefile: Build NSNull documentation
8410 * Documentation/gsdoc/NSNull.gsdoc: NSNull documentation
8411
8412 2000-10-20 Richard Frith-Macdonald <rfm@gnu.org>
8413
8414 * Source/NSString.m: ([-initWithCharacters:length:]) use
8415 ([-initWithCStringNoCopy:length:freeWhenDone:]) if possible.
8416 * Source/GSString.m: Much tidying up. Added two new concrete
8417 classes for substrings.
8418 * Source/NSCalendarDate.m: ([-initWithString:calendarFormat:locale:])
8419 avoid any attempt to read beyond the supplied string.
8420
8421 2000-10-16 Richard Frith-Macdonald <rfm@gnu.org>
8422
8423 Attempts to make sure that when members of a class cluster are encoded
8424 (either for archiving or for sending over DO), they are encoded as
8425 the abstract class hiding the other classes in the cluster - this
8426 should mean that (in future) changes in the private concrete classes
8427 used should not effect existing archives and running DO applications.
8428 * Source/NSDate.m: Implement -classForCoder to encode as the
8429 abstract class. Implement ([-encodeWithCoder:]) and ([-initWithCoder:])
8430 in abstract class.
8431 * Source/NSDictionary.m: Implement -classForCoder to encode as the
8432 abstract class. Implement ([-encodeWithCoder:]) and ([-initWithCoder:])
8433 in abstract class.
8434 * Source/NSArray.m: Implement -classForCoder to encode as the abstract
8435 class.
8436 * Source/NSAttributedString.m: Implement -classForCoder to encode as
8437 the abstract class. Implement ([-encodeWithCoder:]) and
8438 ([-initWithCoder:]) in abstract class.
8439 * Source/NSGAttributedString.m: Remove coding/encoding stuff - now done
8440 in abstract class.
8441 * Source/NSNumber.m: Implement -classForCoder to encode numbers as the
8442 abstract class.
8443 Modified ([-encodeWithCoder:]) and ([-initWithCoder:]) to encode objc
8444 type when encoding as abstract class.
8445 * Source/NSConcreteNumber.m: Modified encoding method to mirror
8446 abstract class method. Old ([-initWithCoder:]) method retained to
8447 decode old format records from archives.
8448
8449 2000-10-11 Adam Fedor <fedor@gnu.org>
8450
8451 * Source/NSObject.m (+initialize): Initialize Window sockets
8452 on MINGW.
8453 * Source/libgnustep-base-entry.m (gnustep_base_socket_init):
8454 New function.
8455
8456 2000-10-10 Richard Frith-Macdonald <rfm@gnu.org>
8457
8458 * Source/GSString.m: fillHole() fixed error in copying bytes.
8459
8460 2000-10-09 Richard Frith-Macdonald <rfm@gnu.org>
8461
8462 * Source/NSGAttributedString.m: ([-setAttributes:range:])
8463 Fixed obscure bug - use ASSIGNCOPY rather than ASSIGN to prevent
8464 mutable dictionaries being placed in attributed string.
8465
8466 2000-10-09 Richard Frith-Macdonald <rfm@gnu.org>
8467
8468 Major rewrite of NSString.
8469 There was a fundamental architectural problem in the old
8470 implementation ... if you had an NSGMutableCString object,
8471 and used any method that appends (or replaces) characters in
8472 that string, there was a problem in that the characters being
8473 added may not be representable in the default character set.
8474
8475 This means that we needed the concrete mutable strring class to
8476 be able to mutate itsself from an 8-bit string to a 16-bit string
8477 when necessary (we can't just allocate a new object, because we
8478 have no way of returning it to the caller).
8479
8480 We could not handle this simply by changing the class pointer in
8481 the instance (and reallocating and modifying the memory actually
8482 storing the characters of course). The problem with this is that
8483 the method implementations of the object may have been cached in
8484 the user code (quite likely if you want high performance from a
8485 mutable string) - and subsequent use of those cached implementations
8486 would still try to treat the contents of the string as 8-bit characters.
8487
8488 The solution adopted was to make the standard mutable string class
8489 contain a flag to adjust its behavior so that each method treats
8490 the char data as either 8 or 16 bit.
8491 This makes for ugly code, partially tidied by use of inline functions.
8492
8493 For most of the methods implemented for the constant strings
8494 (rather than being inherited from the abstract class) we now
8495 have two inline functions for 8-bit and 16-bit implementations.
8496 The GSUString and GSCString objects have method implementations
8497 that simply called the appropriate function. The GSMString
8498 implementation of each method tests the flag and calls the
8499 appropriate inline function.
8500
8501 * Headers/gnustep/base/NSString.h: Remove NSGCString, NSGString,
8502 NSGMutableCStrng and NSGMutableString. Add GSString interface and
8503 new version of NXConstantString interface.
8504 * Headers/gnustep/base/fast.x: Remove string caching information.
8505 * Source/GNUmakefile: Don't build old concrete strings or install
8506 their headers. Do build new concrete string (GSString.m)
8507 * Source/GSCompatibility.m: Don't use private concrete strings.
8508 * Source/GSeq.h: Various modifications for new string classes.
8509 * Source/NSArray.m: Don't use private concrete strings.
8510 * Source/NSData.m: Don't use private concrete strings.
8511 * Source/NSDictionary.m: Don't use private concrete strings.
8512 * Source/NSGAttributedString.m: Don't use private concrete strings.
8513 * Source/NSGCString.m: No longer used.
8514 * Source/NSGDictionary.m: Don't use private concrete strings.
8515 * Source/NSGString.m: No longer used.
8516 * Source/NSNotificationCenter.m: Don't use private concrete strings.
8517 * Source/NSObjCRuntime.m: Don't use private concrete strings.
8518 * Source/NSObject.m: Don't cache string information.
8519 * Source/NSScanner.m: Modified to use new concrete strings.
8520 * Source/NSSerializer.m: Modified to use new concrete strings.
8521 * Source/NSString.m: Modified to use new concrete strings. Rewrote
8522 various methods to work in terms of the primitive string methods.
8523 Implemented encoding and decoding at this level so we don't encode
8524 concrete string classes in archives.
8525 * Source/externs.m: Modified to use new concrete strings.
8526 * Source/propList.h: Modified to use new concrete strings.
8527 * Source/GSString.m: New string classes, plus decoding for old ones.
8528
8529 2000-10-05 Richard Frith-Macdonald <rfm@gnu.org>
8530
8531 * Source/Makefile.preamble (ADDITIONAL_CPPFLAGS): Replace
8532 DEFS (lost in last change) to set default paths for NSBundle etc.
8533 * Source/NSString.m: Minor range fixes.
8534 * Source/NSGString.m: initialisation fixes.
8535
8536 2000-10-04 Adam Fedor <fedor@gnu.org>
8537
8538 * Source/Makefile.preamble (ADDITIONAL_CPPFLAGS): Add
8539 CONFIG_SYSTEM_DEFS.
8540
8541 2000-10-05 Fred Kiefer <FredKiefer@gmx.de>
8542
8543 * Source/Unicode.m:
8544 Changed available encodings if HAVE_ICONV is defined. This is
8545 still a static definition.
8546
8547 2000-10-02 Adam Fedor <fedor@gnu.org>
8548
8549 * configure.in: Update required libxml version to 2.2.3
8550
8551 2000-09-30 Mirko Viviani <mirko.viviani@rccr.cremona.it>
8552
8553 * Source/NSDistantObject.m ([GSDistantObjectPlaceHolder
8554 +respondsToSelector:]): implemented.
8555 * Source/NSProcessInfo.m ([NSProcessInfo +load]): bug fix for FreeBSD.
8556 * configure.in: enable_fake_main not enabled by default for FreeBSD-elf
8557
8558 2000-09-30 Fred Kiefer <FredKiefer@gmx.de>
8559
8560 * Headers/gnustep/base/Unicode.h:
8561 Merged in GetDefEncoding.h
8562 New function GetAvailableEncodings.
8563 * Source/Unicode.m:
8564 Merged in GetDefEncoding.m
8565 New function GetAvailableEncodings.
8566 Updated the encoding arrays.
8567 * Headers/gnustep/base/GetDefEncoding.h:
8568 * Source/GetDefEncoding.m:
8569 This are now obsolete and therfore removed.
8570 * Source/NSString.m:
8571 Use GetAvailableEncodings in [availableStringEncodings]
8572
8573 2000-09-30 Richard Frith-Macdonald <rfm@gnu.org>
8574
8575 * Source/NSString.m: ([-initWithUTFString:length:]),
8576 ([-initWithData:encoding]) create UTF strings as 8-bit strings if
8577 they actually only contain ascii characters.
8578 * Source/GSXML.m: Create strings from UTF8 data throughout.
8579 * Headers/gnustep/base/NSObject.h: (CREATE_AUTORELEASE_POOL) use +new
8580 to avoid a message despatch overhead (combine allocWithZone and init).
8581
8582 2000-09-29 Richard Frith-Macdonald <rfm@gnu.org>
8583
8584 * Source/GSCompatibility.m: Fix stupid error in last modification -
8585 missed part of method name.
8586 * Source/GNUmakefile: Fix to get headers installed in
8587 $(GNUSTEP_SYSTEM_ROOT)/Headers/Foundation again.
8588 * Source/Makefile.postamble: Add code to install headers in
8589 $(GNUSTEP_SYSTEM_ROOT)/Headers/gnustep/Foundation as well - is this
8590 really necessary?
8591 * Headers/Foundation/GSXML.h: Removed new methods used for HTML parser
8592 * Source/GSXML.m: Renamed internal methods for xml/html parser
8593 differentiation and declared in private interface. Tidied to conform
8594 to coding standards. Added casts to prevent compiler warnings.
8595 * Documentation/gsdoc/GSXML.gsdoc: added html parser info
8596
8597 2000-09-29 Manuel Guesdon <mguesdon@orange-concept.com>
8598 -- You'll need libxml2 v >= 2.2.3 to compile GSXML --
8599 * Headers/Foundation/GSXML.h: added GSHTMLParser and GSHTMLSAXHandler
8600 * Source/GSXML.m: added GSHTMLParser and GSHTMLSAXHandler
8601 use of _private member of parser context instead of user_data
8602 which is not a freely useable user_data in libxml
8603
8604 2000-09-27 Richard Frith-Macdonald <rfm@gnu.org>
8605
8606 * Source/GSCompatibility.m: Use OpenStep standard string initialisation.
8607 * Source/NSSerializer.m: Use OpenStep stanrd initializers.
8608 * Source/NSUnarchiver.m: ditto
8609 * Source/NSData.m: Simplify by removing memory management extensions.
8610 * Source/NSGCString.m: ditto
8611 * Source/NSGString.m: ditto
8612 * Source/NSObject.m: ditto
8613 * Source/NSString.m: ditto
8614 * Source/externs.m: Removed unused NXConstantString assignments.
8615 * Source/GSXML.m: ([-propertiesAsDictionary]) bugfix adding nil object
8616 to dictionary. ([-externalSubset:externalID:systemID:]) method added.
8617 Fixes suggested by mguesdon@oxymium.net
8618
8619 2000-09-26 Lyndon Tremblay <humasect@home.com>
8620
8621 * Headers/Foundation/NSObject.h (CREATE_AUTORELEASE_POOL): Saves 1
8622 message call.
8623 (RECREATE_AUTORELEASE_POOL): Added to reuse existing variables.
8624
8625 2000-09-25 Richard Frith-Macdonald <rfm@gnu.org>
8626
8627 * Source/NSURLHandle.m: ([-addClient:]) ensure that clients are only
8628 recorded once.
8629 * Documentation/gsdoc/NSURLHandle.gsdoc: flesh out descriptions and
8630 add type and protocol information.
8631
8632 2000-09-24 Adam Fedor <fedor@gnu.org>
8633
8634 * configure.in: Check for rint in math library...
8635
8636 2000-09-22 Richard Frith-Macdonald <rfm@gnu.org>
8637
8638 * Headers/gnustep/base/NSData.h: Added URL methods.
8639 * Headers/gnustep/base/GSXML.h: Reorganized init methods in line with
8640 Manuels ideas but with naming consistent with other classes.
8641 * Source/NSData.m: Added URL methods.
8642 * Source/NSURL.m: First attempt (untested) at code to load data.
8643 tolerate URLs where the network part is missing and the '//' left out.
8644 * Source/GSXML.m: Reorganized init methods in line with
8645 Manuels ideas but with naming consistent with other classes.
8646 Correct methods for setting parser behavior for the object concerned
8647 rather than default behavior for all parsers.
8648 Support NSURL parsing.
8649 * Source/propList.h: Update for change in GSXMLParser API.
8650 * Documentation/gsdoc/GSXMLParser.gsdoc: update for new initialisation
8651 methods.
8652 * Source/NSArray.m: Put code in place to generate XML proplists
8653 * Source/NSDictionary.m: Put code in place to generate XML proplists
8654 * Source/GSCompatibility.m: Put code in place to generate XML proplists
8655 but disable it until working entity replacement is done.
8656
8657 2000-09-21 Adam Fedor <fedor@gnu.org>
8658
8659 * configure.in: Check for rint.
8660 * Source/GSCompatibility.m: Define rint if not available.
8661
8662 * Source/NSData.m (readContentsOfFile): Remove incorrectly used
8663 variable (MINGW).
8664 * Source/NSFileManager.m (-removeFileAtPath:handler:): Use more
8665 direct check if path is a dir.
8666 (directoryContentsAtPath): Likewise.
8667 (isExecutableFileAtPath): On MINGW, Return YES if a directory.
8668 (fileSystemRepresentationWithPath:): On MINGW, fix up paths that might
8669 come from Unix-like shells, like Cygwin bash, so they can be used with
8670 Windows functions.
8671 * Source/NSRunLoop.m (-acceptInputForMode:beforeDate:): On MINGW,
8672 check for errno==0 and continue as if there was no error.
8673 * Source/NSString.m (fileSystemRepresentation): Use NSFileManager's
8674 implementation.
8675 (getFileSystemRepresentation:): Likewise.
8676 (isAbsolutePath): Check fileSystemRepresentation.
8677 * Source/NSTask.m: Use fileSystemRepresentation instead of cString.
8678 * Source/NSUser.m (NSHomeDirectoryForUser): On MINGW, return nil
8679 if no home found.
8680 * Source/NSUser.m (pathForUser): Use GNUSTEP_ROOT if no user home
8681 found.
8682
8683 * Testing/nsconnection_client.m: Use impl of getopt for MINGW.
8684 * Testing/nsconnection_server.m: Likewise.
8685 * Testing/nsscanner.m: Likewise.
8686 * Testing/nstask.m: Launch an appropriate Windows task.
8687 * Testing/nsstring.m: Catch exception during inappropriate
8688 string replacement.
8689
8690 2000-09-21 Richard Frith-Macdonald <rfm@gnu.org>
8691
8692 * Headers/gnustep/base/NSURLHandle.h: tidy up.
8693 * Source/NSURLHandle.m: Implement class and add simple implementation
8694 of a concrete subclass for handling file URLs.
8695
8696 2000-09-20 Richard Frith-Macdonald <rfm@gnu.org>
8697
8698 * Headers/gnustep/base/GSXML.h: Added ([-parser:]) and removed
8699 redundant 'length' info from callbacks.
8700 * Source/GSXML.m: Added ([-parser:]), tidied ([-parser]), fixed
8701 scope of functions, and removed redundant 'length' info from callbacks.
8702 * Documenttion/gsdoc/GSXMLParser.gsdoc: document ([-parser:])
8703 * Documentation/gsdoc/GSSAXHandler.gsdoc: update for removal of
8704 redundant 'length' info on some callbacks.
8705 * Source/externs.m: Initialise strings using NSGCString because the
8706 NSString class +initialize method may not have completed when this
8707 is done - so NSString won't have cached its cocrete and abstract
8708 classes.
8709 * Source/GSCompatibility.m: Partial write of code to generate MacOS-X
8710 compatible (XML) property-list text.
8711 * Tools/gsdoc.m: Major (3 hours) effort to get code back to something
8712 vaguely like conformance with coding standards! Hope nothing got
8713 broken.
8714
8715 2000-09-19 Richard Frith-Macdonald <rfm@gnu.org>
8716
8717 * Headers/gnustep/base/GSXML.h:
8718 * Source/GSXML.m: Revert to earlier version to remove
8719 formatting/coding-standards errors, broken GSSAXHandler class,
8720 and complexity adding api additions.
8721 Continued integration of Michael Pakhantsovs code.
8722 Added Manuels +xmlEncodingStringForStringEncoding with tidying.
8723 Added Manuels -typeDescription with rewrite for performance.
8724 * Documenttion/gsdoc/GSXMLParser.gsdoc:
8725 added xmlEncodingStringForStringEncoding
8726 * Documenttion/gsdoc/GSXMLNode.gsdoc:
8727 added -typeDescription
8728 * Documentation/gsdoc/GSSAXHandler.gsdoc: added -parser method.
8729
8730 2000-09-19 Manuel Guesdon <mguesdon@orange-concept.com>
8731 You'll need libxml2 v >= 2.2.3 to compile GSXML
8732 * Source/GSXML.m & Headers/Foundation/GSXML.h:
8733 corrected bugs,
8734 added added non guessing construction methods in GSXMLParser
8735 added -typeDescription in GSXMLNode
8736 added +xmlEncodingStringForStringEncoding: in GSXMLParser
8737 added inParserContext:(void*)parserContext parameter for GSSAXHandler
8738
8739 2000-09-19 Richard Frith-Macdonald <rfm@gnu.org>
8740
8741 * Source/NSURLHandle.m: Implemented subclass registry.
8742
8743 2000-09-19 Fred Kiefer <FredKiefer@gmx.de>
8744
8745 * Headers/gnustep/base/Unicode.h:
8746 New functions encode_ustrtostr_strict() and encode_unitochar_strict()
8747 * Source/NSString.m:
8748 Impelemented [initWithUTF8String:]
8749 * Source/NSGCString.m:
8750 * Source/NSGString.m:
8751 Implemented method [dataUsingEncoding:allowLossyConversion:]
8752 * Source/Unicode.m:
8753 New strict methods for string conversion.
8754
8755 2000-09-15 Adam Fedor <fedor@gnu.org>
8756
8757 * configure.in: Turn off enable_fake_main if on MinGW.
8758
8759 * Source/WindowsFileHandle.m: New class.
8760 * Source/NSFileHandle.m: Use it on MinGW
8761 * Source/NSTask.m: Break into concrete subclasses for
8762 Unix and Windows.
8763
8764 * Source/NSProcessInfo.m: on MinGW, don't try to redefine
8765 __argv, __argc, etc.
8766 * Source/libgnustep_base_entry.m: Renamed from win32-entry.m
8767
8768 * Tools/gdnc.m: Don't fork on MinGW
8769 * Tools/gdomap.c: Define MINGW ifdef MINGW32.
8770
8771
8772 2000-09-15 Richard Frith-Macdonald <rfm@gnu.org>
8773
8774 * Source/GSXML.m: made method names more consistent.
8775 * Headers/gnustep/base/GSXML.h: made method names more consistent.
8776 * Documentation/gsdoc/GNUmakefile: Added GSXML files
8777 * Documentation/gsdoc/base.gsdoc: Added link to GSXML
8778 * Documentation/gsdoc/GSXML.gsdoc: Overview of XML parsing.
8779 * Documentation/gsdoc/GSSAXHandler.gsdoc: event parsing handler class.
8780 * Documentation/gsdoc/GSXMLAttribute.gsdoc: xml attribute wrapper.
8781 * Documentation/gsdoc/GSXMLDocument.gsdoc: xml document wrapper.
8782 * Documentation/gsdoc/GSXMLNamespace.gsdoc: xml namespace wrapper.
8783 * Documentation/gsdoc/GSXMLNode.gsdoc: xml node wrapper.
8784 * Documentation/gsdoc/GSXMLParser.gsdoc: xml parser wrapper.
8785
8786 2000-09-15 Richard Frith-Macdonald <rfm@gnu.org>
8787
8788 * Source/UnixFileHandle.m: conform to GCFinalization protocol.
8789
8790 2000-09-14 Adam Fedor <fedor@gnu.org>
8791
8792 * configure.in: Check for windows.h
8793
8794 2000-09-14 Richard Frith-Macdonald <rfm@gnu.org>
8795
8796 * Headers/gnustep/base/NSLock.h: conform to GCFinalization protocol.
8797 * Source/NSLock.m: deallocate mutex in gcFinalize. Don't raise an
8798 exception if mutex deallocation fails.
8799
8800 2000-09-13 Adam Fedor <fedor@gnu.org>
8801
8802 * Remove dependance on Source/Foundation link, additional MINGW ports.
8803 * Makefile.postamble (header-links): Remove Source/Foundation link.
8804 * Source/Makefile.preamble (HEADER_DIR): New variable.
8805 (ADDITIONAL_INCLUDE_DIRS): Include ../Headers.
8806 * Source/GNUmakefile (GENERATED_HEADERS): Change Foundation
8807 to $(HEADER_DIR).
8808 * Source/Makefile.postamble: Likewise.
8809
8810 * Source/GSTcpPost.m: Update to handle MINGW (mostly copied from
8811 gdomap.c).
8812 * Source/NSFileManager.m (-findNextFile): Check if lstat,
8813 geteuid implemented.
8814 * Source/NSHost.m: Change includes for MINGW.
8815 * Source/NSPortNameServer.m: Likewise.
8816 * Source/NSPipe.m (init): Port to MINGW.
8817
8818 * configure.in: Do preface.h substitutions here.
8819 * Source/Makefile.postamble (preface.h): Remove target.
8820
8821 2000-09-12 Richard Frith-Macdonald <rfm@gnu.org>
8822
8823 * Source/GSCompatibility.m: new file for MacOSX compatibility flags
8824 * Source/GNUmakefile: add GSCompatibility.m
8825 * Source/NSGeometry.m: Use GSMacOSXCompatibleGeometry() function to
8826 decide whether to produce MacOS-X format strings.
8827 * Source/propList.h: Parse MacOS-X format property lists as well as
8828 OpenStep format ones.
8829
8830 2000-09-12 Adam Fedor <fedor@gnu.org>
8831
8832 * configure.in: Check for symlin, readlink.
8833
8834 * Source/GNUmakefile: Don't compile UnixFileHandle.m on mingw.
8835 (Will create WindowsFileHandle later...).
8836
8837 * Source/NSFileManager.m (-createDirectoryAtPath:attributes:]):
8838 Create subpaths on mingw.
8839 (isDeletableFileAtPath:): Implement for mingw.
8840 (createSymbolicLinkAtPath): Implement only if HAVE_SYMLINK
8841 (pathContentOfSymbolicLinkAtPath): Implement only if HAVE_READLINK
8842
8843 2000-09-13 Fred Kiefer <FredKiefer@gmx.de>
8844
8845 * Headers/gnustep/base/Unicode.h:
8846 Make function encode_ustrtostr public
8847 * Headers/gnustep/base/NSString.h:
8848 Added extra encodings. Added missing methods
8849 * Source/NSString.m:
8850 Added basic implementation for missing methods
8851 [stringWithUTF8String:], [initWithUTF8String:], [UTF8String],
8852 [stringWithContentsOfURL:], [initWithContentsOfURL:],
8853 [writeToURL:atomically:], [localizedCaseInsensitiveCompare:],
8854 [localizedCompare:], [compare:options:range:locale:]
8855 * Source/NSGCString.m:
8856 [getCharacters:] and [getCharacters:range:] use higher level
8857 methods for conversion.
8858 * Source/Unicode.m:
8859 Added conversion with iconv, this needs HAVE_ICONV.
8860 Made normal conversions faster by unrolling the case switch.
8861
8862 2000-09-12 Richard Frith-Macdonald <rfm@gnu.org>
8863
8864 * Makefile.postamble (header-links): Restore functionality on unix
8865 lost in last change, also (for MINGW) copy header files to the
8866 Source/Foundation directory in addition to Headers/Foundation.
8867 * Source/NSConnection.m: Address problems reported by georg@ist.org ...
8868 ([-connectionWithRegisteredName:host:usingNameServer:]) avoid returning
8869 local server connection - create new connection to it if necessary.
8870 ([-rootProxy]) return root object if sent to server connection.
8871 Also added some more debug statements.
8872 * Source/NSDistantObject.m: ([-methodForSelector:]) implemented to
8873 (hopefully) fix problem in pasteboard stuff.
8874
8875 2000-09-11 Adam Fedor <fedor@gnu.org>
8876
8877 * Mingw fixes.
8878 * Makefile.postamble (header-links): if MINGW, copy header files
8879 to Foundation (Mingw's gcc can't handle links).
8880
8881 * Source/mframe/configure.in: Check target, not host.
8882
8883 * Source/NSDate.m (GSTimeNow): Fix typo.
8884
8885 * Source/NSData.m (readContentsOfFile): Fix up vars for MINGW.
8886 (-writeToFile:atomically:): Likewise.
8887
8888 2000-09-11 Richard Frith-Macdonald <rfm@gnu.org>
8889
8890 * Headers/gnustep/base/GSXML.h: new classes for parsing XML
8891 * Source/GSXML.m: new classes for parsing XML
8892 * Source/Makefile.preamble: Define HAVE_LIBXML if appropriate.
8893 * Source/GNUMakefile: Build new classes if appropriate.
8894 * Tools/Makefile.preamble: Removed libxml stuff - now done globally.
8895
8896 2000-09-10 Richard Frith-Macdonald <rfm@gnu.org>
8897
8898 * Source/NSCalendarDate: ([-initWithString:calendarFormat:locale:])
8899 modify parsing to be more tolerant of numeric fields that are smaller
8900 than the expected size, but warn about unexpected format.
8901
8902 2000-09-08 Richard Frith-Macdonald <rfm@gnu.org>
8903
8904 * Source/NSAttributedString.m: Make -description produce output in
8905 same format as MacOS-X
8906 * Source/NSDistributedNotificationCenter.m: update method return
8907 types for macOS-X complience.
8908 * Headers/gnustep/base/NSDistributedNotificationCenter.h: ditto.
8909
8910 2000-09-08 Richard Frith-Macdonald <rfm@gnu.org>
8911
8912 * Source/NSGString.m: Removed obsolete methods and added range checks.
8913 * Source/NSGCString.m: ditto.
8914 * Source/NSAttributedString.m: Fix fencepost error in -description.
8915
8916 2000-09-08 Richard Frith-Macdonald <rfm@gnu.org>
8917
8918 * Source/NSRunLoop.m: ([-_checkPerformers:]) When a loop executes the
8919 method to deal with a ([-performSelector:target:argument:order:modes]),
8920 we cancel the request rather than leaving it to be actioned again next
8921 time round the loop.
8922
8923 2000-09-07 Richard Frith-Macdonald <rfm@gnu.org>
8924
8925 * Source/NSGeometry.m: Add code to parse MacOS-X format strings.
8926 Also produce MacOS-X format strings if the GSMacOSXCompatibleGeometry
8927 or GSMacOSXCompatible default is YES (the former overrides the latter).
8928 * Source/NSException.m: ([-name]) and ([-reason]) modifide to ensure
8929 that a nil is never returned.
8930
8931 2000-09-01 Fred Kiefer <FredKiefer@gmx.de>
8932
8933 * Headers/gnustep/base/NSString.h:
8934 Added new encodings from specification
8935 * Headers/gnustep/base/NSNumberFormatter.h:
8936 * Source/NSNumberFormatter.m:
8937 Added skeleton for this class
8938 *Source/GNUmakefile:
8939 Added NSNumberFormatter.[hm]
8940
8941 2000-08-27 Manuel Guesdon <mguesdon@orange-concept.com>
8942
8943 * Tools/gsdoc-0_6_6.dtd: added elements for gnustep-db doc generator
8944 * Tools/gsdoc.m: handle gnustep-db doc generator
8945
8946 2000-08-24 Manuel Guesdon <mguesdon@orange-concept.com>
8947
8948 * Tools/gsdoc-0_6_6.dtd: added prjref element which enable explicit
8949 links between projects
8950 * Tools/gsdoc.m: handle prjref
8951 remove extensions from files in gsdocrefs
8952 (one day we'll generate other formats :-)
8953
8954 2000-08-23 Fred Kiefer <FredKiefer@gmx.de>
8955
8956 * Headers/gnustep/base/NSDecimal.h:
8957 Use signed char for exponent, as char may be unsigned on some machines
8958 * Source/NSDecimal.m:
8959 Corrected some bugs and added a basic implementation based on GMP
8960 (Still not complete)
8961
8962 2000-08-23 Adam Fedor <fedor@gnu.org>
8963
8964 * Source/NSDebug.m (NSFrameAddress): New function
8965 (NSReturnAddress): Likewise.
8966 (NSCountFrames): Likewise. (impementation from alex@orderfusion.com).
8967
8968 2000-08-16 Manuel Guesdon <mguesdon@orange-concept.com>
8969
8970 * Tools/gsdoc-0_6_6.dtd: added conform for category
8971 * Tools/gsdoc.m: correct bugs and added inter/intra-projects
8972 link generations
8973 * Tools/AutoDocTemplate.gsdoc: correct problems
8974 * Tools/indextemplate.gsdoc: correct problems
8975
8976 2000-08-16 Richard Frith-Macdonald <rfm@gnu.org>
8977
8978 * Source/NSDebug.m: Fix memory leak when adding new class to array
8979 of those being recorded - report by Frederic.De.Jaeger
8980
8981 2000-08-13 Manuel Guesdon <mguesdon@orange-concept.com>
8982
8983 * Tools/gsdoc.gsdoc: added examples on how to use AutoDoc and GSDoc.
8984
8985 2000-08-13 Manuel Guesdon <mguesdon@orange-concept.com>
8986
8987 * Tools/GNUmakefile: added DocTemplates
8988 * Tools/Makefile.postamble: added DocTemplates
8989 * Tools/indextemplate.gsdoc: New file. Use it as template for
8990 gsdoc index generation
8991 * Tools/AutoDocTemplate.gsdoc: New File: Use it as template for AutoDoc
8992 source-to-documentation generation.
8993
8994 2000-08-13 Manuel Guesdon <mguesdon@orange-concept.com>
8995
8996 * Tools/gsdoc-0_6_6.dtd: added ivariable, constant and stylesheet
8997 * Tools/gsdoc.m: added ivariable, constant and stylesheet support
8998 added index generation
8999 * Tools/gsdoc.gsdoc: added parameters documentation
9000
9001 2000-08-13 Richard Frith-Macdonald <rfm@gnu.org>
9002
9003 * Documentation/gsdoc/NSString.gsdoc: add documentation for replacing
9004 strings within the reciever.
9005 * Documentation/gsdoc/NSMutableString.gsdoc: ditto
9006
9007 2000-08-08 Richard Frith-Macdonald <rfm@gnu.org>
9008
9009 * Headers/gnustep/base/all.h: Moved to Old as obsolete file.
9010 * Headers/gnustep/base/Arch: dittoiver.m
9011 * Headers/gnustep/base/Archiver.h: ditto
9012 * Headers/gnustep/base/Array.h: ditto
9013 * Headers/gnustep/base/ArrayPrivate.h: ditto
9014 * Headers/gnustep/base/Bag.h: ditto
9015 * Headers/gnustep/base/BinaryCStream.h: ditto
9016 * Headers/gnustep/base/BinaryTree.h: ditto
9017 * Headers/gnustep/base/BinaryTreeNode.h: ditto
9018 * Headers/gnustep/base/CircularArray.h: ditto
9019 * Headers/gnustep/base/CircularArrayPrivate.h: ditto
9020 * Headers/gnustep/base/Coder.h: ditto
9021 * Headers/gnustep/base/CoderPrivate.h: ditto
9022 * Headers/gnustep/base/Coding.h: ditto
9023 * Headers/gnustep/base/Collecting.h: ditto
9024 * Headers/gnustep/base/Collection.h: ditto
9025 * Headers/gnustep/base/CollectionPrivate.h: ditto
9026 * Headers/gnustep/base/CStream.h: ditto
9027 * Headers/gnustep/base/CStreaming.h: ditto
9028 * Headers/gnustep/base/DelegatePool.h: ditto
9029 * Headers/gnustep/base/Dictionary.h: ditto
9030 * Headers/gnustep/base/Enumerating.h: ditto
9031 * Headers/gnustep/base/GapArray.h: ditto
9032 * Headers/gnustep/base/GapArrayPrivate.h: ditto
9033 * Headers/gnustep/base/Heap.h: ditto
9034 * Headers/gnustep/base/IndexedCollecting.h: ditto
9035 * Headers/gnustep/base/IndexedCollection.h: ditto
9036 * Headers/gnustep/base/IndexedCollectionPrivate.h: ditto
9037 * Headers/gnustep/base/InvalidationListening.h: ditto
9038 * Headers/gnustep/base/Invocation.h: ditto
9039 * Headers/gnustep/base/Invoking.h: ditto
9040 * Headers/gnustep/base/KeyedCollecting.h: ditto
9041 * Headers/gnustep/base/KeyedCollection.h: ditto
9042 * Headers/gnustep/base/LinkedList.h: ditto
9043 * Headers/gnustep/base/LinkedListNode.h: ditto
9044 * Headers/gnustep/base/Locking.h: ditto
9045 * Headers/gnustep/base/Mach: dittoPort.m
9046 * Headers/gnustep/base/MachPort.h: ditto
9047 * Headers/gnustep/base/Magnitude.h: ditto
9048 * Headers/gnustep/base/MappedCollector.h: ditto
9049 * Headers/gnustep/base/MemoryStream.h: ditto
9050 * Headers/gnustep/base/NotificationDispatch: dittoer.m
9051 * Headers/gnustep/base/NotificationDispatcher.h: ditto
9052 * Headers/gnustep/base/OldNSConnection.h: ditto
9053 * Headers/gnustep/base/OldNSPortCoder.h: ditto
9054 * Headers/gnustep/base/OrderedCollecting.h: ditto
9055 * Headers/gnustep/base/OrderedCollection.h: ditto
9056 * Headers/gnustep/base/Ordering.h: ditto
9057 * Headers/gnustep/base/Port.h: ditto
9058 * Headers/gnustep/base/Queue.h: ditto
9059 * Headers/gnustep/base/RandomGenerating.h: ditto
9060 * Headers/gnustep/base/Random.h: ditto
9061 * Headers/gnustep/base/RawCStream.h: ditto
9062 * Headers/gnustep/base/RBTree.h: ditto
9063 * Headers/gnustep/base/RBTreeNode.h: ditto
9064 * Headers/gnustep/base/Retaining.h: ditto
9065 * Headers/gnustep/base/RNGAdditiveCongruential.h: ditto
9066 * Headers/gnustep/base/RNGBerkeley.h: ditto
9067 * Headers/gnustep/base/RunLoop.h: ditto
9068 * Headers/gnustep/base/Set.h: ditto
9069 * Headers/gnustep/base/SplayTree.h: ditto
9070 * Headers/gnustep/base/Stack.h: ditto
9071 * Headers/gnustep/base/StdioStream.h: ditto
9072 * Headers/gnustep/base/Stream.h: ditto
9073 * Headers/gnustep/base/Streaming.h: ditto
9074 * Headers/gnustep/base/TcpPort.h: ditto
9075 * Headers/gnustep/base/TextCStream.h: ditto
9076 * Headers/gnustep/base/Time.h: ditto
9077 * Headers/gnustep/base/UdpPort.h: ditto
9078 * Headers/gnustep/base/ValueHolding.h: ditto
9079 * Source/Array.m: ditto
9080 * Source/Bag.m: ditto
9081 * Source/BinaryCStream.m: ditto
9082 * Source/BinaryTree.m: ditto
9083 * Source/BinaryTreeNode.m: ditto
9084 * Source/CircularArray.m: ditto
9085 * Source/Coder.m: ditto
9086 * Source/Collection.m: ditto
9087 * Source/CStream.m: ditto
9088 * Source/Decoder.m: ditto
9089 * Source/DelegatePool.m: ditto
9090 * Source/Dictionary.m: ditto
9091 * Source/Encoder.m: ditto
9092 * Source/GapArray.m: ditto
9093 * Source/Heap.m: ditto
9094 * Source/IndexedCollection.m: ditto
9095 * Source/Invocation.m: ditto
9096 * Source/KeyedCollection.m: ditto
9097 * Source/LinkedList.m: ditto
9098 * Source/LinkedListNode.m: ditto
9099 * Source/Magnitude.m: ditto
9100 * Source/MappedCollector.m: ditto
9101 * Source/MemoryStream.m: ditto
9102 * Source/OldNSConnection.m: ditto
9103 * Source/OldNSPortCoder.m: ditto
9104 * Source/OrderedCollection.m: ditto
9105 * Source/Port.m: ditto
9106 * Source/Queue.m: ditto
9107 * Source/Random.m: ditto
9108 * Source/RawCStream.m: ditto
9109 * Source/RBTree.m: ditto
9110 * Source/RBTreeNode.m: ditto
9111 * Source/RNGAdditiveCongruential.m: ditto
9112 * Source/RNGBerkeley.m: ditto
9113 * Source/Set.m: ditto
9114 * Source/SplayTree.m: ditto
9115 * Source/Stack.m: ditto
9116 * Source/StdioStream.m: ditto
9117 * Source/Stream.m: ditto
9118 * Source/TcpPort.m: ditto
9119 * Source/TextCStream.m: ditto
9120 * Source/UdpPort.m: ditto
9121 * Testing/cstream.m: ditto
9122 * Testing/invocation_char.m: ditto
9123 * Testing/invocation_int.m: ditto
9124 * Testing/invocation_long.m: ditto
9125 * Testing/invocation.m: ditto
9126 * Testing/invocation_short.m: ditto
9127 * Testing/ostream.h: ditto
9128 * Testing/ostream.m: ditto
9129 * Testing/pipes.m: ditto
9130
9131 2000-08-07 Adam Fedor <fedor@gnu.org>
9132
9133 * Merge 0.6.6 branch into main.
9134
9135 2000-07-24 Richard Frith-Macdonald <rfm@gnu.org>
9136
9137 * Tools/gdomap.c: Permit dumping of internal table of known peer
9138 nameservers when sent SIGUSR1
9139
9140 2000-07-20 Richard Frith-Macdonald <rfm@gnu.org>
9141
9142 * Tools/gdomap.c: Bugfix for GDO_NAMES (patch provided by Bjoern)
9143
9144 2000-07-18 Richard Frith-Macdonald <rfm@gnu.org>
9145
9146 * Tools/gdomap.h: Add new GDO_NAMES command.
9147 * Tools/gdomap.c: Incorporate MINGW port by Bjoern.Giesler@gmx.de
9148 after modifications to conform to coding standards.
9149 Add GDO_NAMES support to list all registered names.
9150
9151 2000-07-16 Fred Kiefer <FredKiefer@gmx.de>
9152
9153 * Headers/gnustep/base/NSDecimal.h:
9154 * Headers/gnustep/base/NSDecimalNumber.h:
9155 Included missing functions and changed type definition.
9156 * Source/NSDecimal.m:
9157 Basic implementation of NSDecimal. An implementation using GMP
9158 will follow.
9159 * Source/NSDecimalNumber.m:
9160 Use the NSDecimal functions for this class
9161 * Source/GNUMakefile:
9162 Add NSDecimal and NSDecimalNumber
9163
9164 2000-08-06 Adam Fedor <fedor@gnu.org>
9165
9166 * Version 0.6.6 released.
9167
9168 * Source/NSTimer.m (-compare:): Add return to quiet warning.
9169
9170 2000-08-04 Richard Frith-Macdonald <rfm@gnu.org>
9171
9172 * Source/NSPortNameServer.m: include netinet/in.h as needed on
9173 FreeBSD to define values used in arpa/inet.h
9174
9175 2000-08-03 Richard Frith-Macdonald <rfm@gnu.org>
9176
9177 * Source/NSHost: ([_initWithHostEntry:key:]) workaround for buggy
9178 host entries with missing h_aliases
9179
9180 2000-08-03 Richard Frith-Macdonald <rfm@gnu.org>
9181
9182 * NSTimeZones/NSTimeZones.tar: Updated to latest (July 31st) info
9183
9184 2000-08-02 Adam Fedor <fedor@gnu.org>
9185
9186 * Version: Update version number
9187 * Documentation/announce.tmpl.texi: Update
9188 * Documentation/readme.tmpl.texi: Likewise.
9189 * Documentation/news.tmpl.texi: Likewise.
9190 * Documentation/todo.tmpl.texi: Likewise.
9191 * ANNOUNCE, BUGS, NEWS, README: Regenerate
9192
9193 2000-08-02 Adam Fedor <fedor@gnu.org>
9194
9195 * Testing/nsconnection_client.m: Rewrite, organize.
9196 * Testing/nsconnection_server.m: Likewise.
9197
9198 2000-08-02 Richard Frith-Macdonald <rfm@gnu.org>
9199
9200 * Source/GSTcpPort.m: ([-removeHandle:]) corrected logic for releasing
9201 self when port was created and retained by an incoming connection.
9202
9203 2000-08-01 Adam Fedor <fedor@gnu.org>
9204
9205 * Source/NSConcreteNumber.m (-compare:): Add return at end to quiet
9206 compiler warning.
9207
9208 * Source/NSFileHandle.m: Change +fileHandle... methods to use
9209 abstracts class's allocWithZone.
9210
9211 * Source/libgnustep-base.def: Update for new/removed classes.
9212
9213 2000-08-01 Richard Frith-Macdonald <rfm@gnu.org>
9214
9215 * Source/NSCalendarDate.m: Correct order of args to
9216 lastDayOfGregorianMonth()
9217 * Source/NSPortCoder.m: Handle classes encoded as objects specially.
9218 * Source/NSArchiver.m: ditto.
9219 * Source/NNSUnarchiver.m: ditto.
9220
9221 2000-07-31 Richard Frith-Macdonald <rfm@gnu.org>
9222
9223 * Source/Foundation/NSDebug.h: removed GS_IMPORT
9224 * Source/Foundation/NSObjCRuntime.h: ditto
9225 * Source/Foundation/GSConfig.h.in: ditto
9226
9227 2000-07-31 Richard Frith-Macdonald <rfm@gnu.org>
9228
9229 * Source/NSString.m: implement -cStringLength correctly in terms of
9230 other methods of the abstract class, rather than making the subclass
9231 do it. Cache [-characterAtIndex:] implementation for speed
9232 throughout.
9233 * Source/Unicode.m: Remove uslen() function - unused and unsafe.
9234 Tidied code and optimised a little.
9235 * Source/Foundation/Unicode.h: Remove uslen()
9236 * Source/NSNumber.m: Check for nul argument to [-compare:]
9237 * Source/NSDate.m: ditto
9238 * Source/NSObject.m: ditto
9239 * Source/NSConcreteNumber.m: ditto
9240 * Source/NSTimer.m: ditto
9241
9242 2000-07-30 Richard Frith-Macdonald <rfm@gnu.org>
9243
9244 * Tools/nconnection.m: Trivial test of basic inter-thread use of
9245 DO taken from example code in Applde documentation.
9246
9247 2000-07-29 Richard Frith-Macdonald <rfm@gnu.org>
9248
9249 Varous cluster classes - Bugfix to let allocWithZone work for
9250 new concrete subclasses in the cluster.
9251 * Source/NSPortCoder.m: Accept classes when asked to decode object.
9252 * Source/NSUnarchiver.m: ditto.
9253
9254 2000-07-28 Richard Frith-Macdonald <rfm@gnu.org>
9255
9256 * Source/NSConnection.m: Don't create/use locks until the app
9257 goes multi-threaded.
9258 * Source/GSTcpPort.m: ditto.
9259
9260 2000-07-27 Richard Frith-Macdonald <rfm@gnu.org>
9261
9262 * Source/GSTcpPort.m: Fix stupid error in last bugfix
9263 * Source/Foundation/GSConfig.h.in: define GS_SIZEOF_VOIDP
9264 * configure.in: provide GS_SIZEOF_VOIDP
9265
9266 2000-07-27 Richard Frith-Macdonald <rfm@gnu.org>
9267
9268 * Source/NSThread.m: clarify code for getting current thread.
9269
9270 2000-07-27 Richard Frith-Macdonald <rfm@gnu.org>
9271
9272 * Source/Foundation/NSDebug.h: Bugfix reported by Frederic.De.Jaeger
9273 to prevent incorrect processor handling of cases where logging format
9274 string has no arguments.
9275
9276 2000-07-26 Richard Frith-Macdonald <rfm@gnu.org>
9277
9278 * Source/GSTcpPort.m: When given bad data on a socket, log a message
9279 and invalidate the socket handle rather than raising an exception
9280 and crashing. Should make system more robust in the face of attacks.
9281
9282 2000-07-24 Adam Fedor <fedor@gnu.org>
9283
9284 * Source/GSTcpPort.m
9285 (-sendBeforeDate:msgid:components:from:reserved:]): Correct typo.
9286
9287 2000-07-24 Richard Frith-Macdonald <rfm@gnu.org>
9288
9289 Testing directory tidied to reflect removal of old classes.
9290 * Source/NSTimer.m: Tidied a little.
9291
9292 2000-07-23 Richard Frith-Macdonald <rfm@gnu.org>
9293
9294 Old DO code removed along with associated libObjects classes that it
9295 required - library slimmed down.
9296
9297 2000-07-21 Richard Frith-Macdonald <rfm@gnu.org>
9298
9299 * Source/NSGCString.m: implement methods to get numeric values.
9300 * Source/NSGString.m: implement methods to get numeric values.
9301
9302 2000-07-19 Adam Fedor <fedor@gnu.org>
9303
9304 * Documentation/news.tmpl.texi: Update.
9305 * Documentation/todo.tmpl.texi: Update.
9306
9307 2000-07-18 Richard Frith-Macdonald <rfm@gnu.org>
9308
9309 * Tools/Makefile.postamble: Improve warning messages for gdomap install
9310 * Source/NSProcessInfo.m: Change __MINGW32__ to __MINGW__
9311 * Source/GSTcpPort.m: improve encoding of local port for send over wire
9312
9313 2000-07-17 Adam Fedor <fedor@gnu.org>
9314
9315 * Source/NSZone.m: Remove duplicate function definitions (when
9316 GS_WITH_GC is 1) already defined in NSZone.h.
9317
9318 2000-07-17 Richard Frith-Macdonald <rfm@gnu.org>
9319
9320 * Source/externs.m: Some evil casts to avoid compiler warnings about
9321 assigning to constant variables when we initiallise them.
9322 * Source/NSGSet.m: implemented [-anyObject] and [-allObjects]
9323 * Source/NSSet.m: Fix to encode subclasses as abstract class.
9324 Remove unused methods for set/get concrete class
9325 * Source/NSCountedSet.m: ditto
9326 * Source/NSNumber.m: Use explicitly signed types for portability -
9327 particularly for systems (eg PPC) where char is not signed by default.
9328 * Source/NSConcrete.m: ditto.
9329 * Source/NSConcreteNumber.m: ditto.
9330 * Source/Foundation/NSValue.h: ditto
9331 * Source/Foundation/NSConcreteNumber.h: ditto
9332 * Source/NSArray.m: Remove unused methods for set/get concrete class
9333 * Source/NSDictionary.m: ditto.
9334 * Source/NSString.m: ditto.
9335 * Source/NSAttributedString.m: ditto.
9336 * Source/NSHost.m: store names and addresses in sets for improved
9337 performance (comparisons).
9338 Encode host as an address other than loopback if possible.
9339 Add code for a new '+localHost' method to try to get ALL
9340 names/addresses of current host.
9341 * Source/NSPortNameServer.m: Use new localHost method.
9342 * Source/GSTcpPort.m: Use new localHost method.
9343
9344 2000-07-16 Adam Fedor <fedor@gnu.org>
9345
9346 * Tools/GNUmakefile (gdomap): Make as a C-tool rather than an
9347 Objective-C program (no need for libobjc).
9348
9349 2000-07-07 Jonathan Gapen <jagapen@home.com>
9350
9351 * Source/NSString.m: (-initWithFormat:), (-initWithFormat:locale:),
9352 (-initWithFormat:arguments:) now implemented by calling
9353 (-initWithFormat:locale:arguments:)
9354 * Source/externs.m: Add strings defined in MacOS X documentation,
9355 and useful strings from OPENSTEP 4.2.
9356
9357 2000-07-07 Richard Frith-Macdonald <rfm@gnu.org>
9358
9359 * Source/GSTcpPort.m: set size for return buffer of getsockbyname()
9360
9361 2000-07-07 Richard Frith-Macdonald <rfm@gnu.org>
9362
9363 * Source/NSRunLoop.m: Minor optimisation in select(), also update
9364 servicing oorder of inputs to provide fairer allocation of processing.
9365
9366 2000-07-06 Richard Frith-Macdonald <rfm@gnu.org>
9367
9368 * Source/NSConnection.m: Some thread safety improvements.
9369
9370 2000-07-06 Richard Frith-Macdonald <rfm@gnu.org>
9371
9372 * Source/GSTcpPort.m: Add code to cope with machines requiring word
9373 alignment for memory references.
9374
9375 2000-07-05 Richard Frith-Macdonald <rfm@gnu.org>
9376
9377 * Tools/Makefile.postabmle: Create directory for DTDs if needed
9378
9379 2000-07-05 Richard Frith-Macdonald <rfm@gnu.org>
9380
9381 * Source/GSTcpHandle.m: fix error resetting size of data to be read -
9382 could cause occasional crashes!
9383
9384 2000-07-05 Richard Frith-Macdonald <rfm@gnu.org>
9385
9386 * Source/NSConnection.m: Update to use GSIMap rather than NSMap in
9387 order to regain performance lost by adding code to ensure that reply
9388 packets cannot be leaked. Fixed error in old connection code - due
9389 to a typing error a line had got deleted that was removing the
9390 connection from the global table on deallocation.
9391 * Source/NSPortNameServer.m: Fix to avoid errors when given bad
9392 nameserver IP address info.
9393
9394 2000-07-04 Richard Frith-Macdonald <rfm@gnu.org>
9395
9396 * Makefile.preamble: define GS_NEW_DO to specify whether the
9397 new or the old DO code is to be used. Change the define and
9398 rebuild the library if you need the old DO code.
9399 Advantages of new code -
9400 MacOS-X compatibly
9401 Should work between different processor architectures and word sizes
9402 Might work for inter-thread communication
9403 Approx 25% faster
9404 Permit packet authentication/encryption
9405 Disadvantages -
9406 not well tested - development version
9407 removed many old methods.
9408 * Headers/gnustep/base/GSConnection.h: removed - merged into
9409 NSConnection.h
9410 * Headers/gnustep/base/GSPortCoder.h: removed - merged into
9411 NSPortCoder.h
9412 * Source/GSConnection.m: removed - merged into NSConnection.m
9413 * Source/GSPortCoder.m: removed - merged into NSPortCoder.m
9414 * Source/NSPortNameServer.m: Use GS_NEW_DO define to determine
9415 default port class
9416 * Documentation/gsdoc/NSConnection.gsdoc: Added descriptions of
9417 all the methods in the new implementation. The class is
9418 perilously close to being fully documented!
9419 * Documentation/gsdoc/...: updated all files to use new dtd.
9420
9421 2000-07-04 Richard Frith-Macdonald <rfm@gnu.org>
9422
9423 * Source/GSConnection.m: Improved coder caching and added code for
9424 multiple thread support.
9425 * Source/GSPortCoder.m: Improved performance of class version
9426 lookup and tidied.
9427 * Source/GSTcpPort.m: Ensure we don't remain in the run loop any
9428 longer than necessary.
9429 * Source/NSArchiver.m: minor tidyup
9430 * Source/NSDistantObject.m: minor performance tweak
9431 * Source/NSUnarchiver.m: minor tidyup.
9432 * Source/NSPortNameServer.m: Update for MacOS-X
9433
9434 2000-07-03 Richard Frith-Macdonald <rfm@gnu.org>
9435
9436 * Source/GSConnection.m: Cache coders fro performance.
9437 * Source/GSPortCoder.m: support re-use.
9438 * Source/GSTcpPort.m: tidy locking.
9439 * Source/NSData.m: optimize +new
9440 * Source/NSGCString.m: optimize -hash
9441 * Source/NSGDictionary.m: optimize string hashing
9442 * SourceNSObject.m: Call GSBuildStrings() for global constants.
9443 * Source/NSPort.m: Create GSTcpPort by default.
9444 * Source/externs.m: GSBuildStrings() now used to make string
9445 constants that support cached hash values
9446 * Testing/client.m: Added simple benchmarking.
9447 * Testing/server.m: Added method for simple benchmarking.
9448 * Testing/server.h: Added method for simple benchmarking.
9449 * Tools/gdnc.m: String OPENSTEP use of DO
9450
9451 2000-07-02 Richard Frith-Macdonald <rfm@gnu.org>
9452
9453 * Source/GSConnection.m: Implementation almost complete
9454 * Source/GSPortCoder.m: Completed
9455 * Source/GSTcpPort.m: tidied for MacOS-X compatibility
9456 * Source/NSArchiver.m: Bugfix encoding structures containing arrays
9457 * Source/NSData.m: minor tidy
9458 * Source/NSDistantObject.m: update for new implementation
9459 * Source/NSInvocation.m: bugfix decoding
9460 * Source/NSPort.m: update for MacOS-X complience
9461 * Source/NSPortNameServer.m: tidied
9462 * Testing/client.m: Update
9463 * Testing/server.m: update
9464
9465 2000-06-30 Adam Fedor <fedor@gnu.org>
9466
9467 libgstep-base now compiles (and links) into a DLL on Cygwin.
9468 * configure.in: Typo in checking for cygwin.
9469
9470 * Headers/gnustep/base/NSHashTable.h: GS_EXPORT functions.
9471 * Headers/gnustep/base/NSMapTable.h: Likewise.
9472
9473 * Source/Makefile.postamble (libgnustep-base.def) Target to generate
9474 def file.
9475 * Source/libgnustep-base.def: Updated.
9476
9477 * Source/NSProcessInfo.m: Error message if GS_PASS_ARGUMENTS. Don't
9478 define main if GS_PASS_ARGUMENTS.
9479
9480 2000-06-30 Richard Frith-Macdonald <rfm@gnu.org>
9481
9482 * Headers/gnustep/base/NSDate.h: Added GSTime() function
9483 * Source/NSDate.m: More efficient MINGW date creation
9484 * Source/NSCalendarDate.m: optimised date creation from yymmddhhmmss
9485 * Source/NSData.m: MINGW file read and write operations added (untested)
9486 * Source/NSFileManager.m: MINGW file operations updated.
9487
9488 2000-06-30 Richard Frith-Macdonald <rfm@gnu.org>
9489
9490 Coding/decoding modifications to make system more in line with
9491 OPENSTEP/MacOS-X. Tidyup of global string constants. Advanced
9492 development of DO rewrite.
9493 * Headers/gnustep/base/DistributedObjects.h: removed obsolete info
9494 * Headers/gnustep/base/GSConnection.h: improved and tidied
9495 * Headers/gnustep/base/GSPortCoder.h: private method for connection
9496 * Headers/gnustep/base/NSArchiver.h: remove libobjects compatibility
9497 * Headers/gnustep/base/NSCoder.h: added libobjects compatibility
9498 * Headers/gnustep/base/NSException.h: tidied
9499 * Headers/gnustep/base/NSPortMessage.h: private method for connections
9500 * Headers/gnustep/base/NSRunLoop.h: tidied string constants.
9501 * Headers/gnustep/unicode/decomp.h: tidied to avoid compiler warning.
9502 * Source/GSConnection.m: largely implemented (untested)
9503 * Source/GSPortCoder.m: more efficient data coding
9504 * Source/NSArchiver.m: moved global constants to externs.m
9505 * Source/NSAttributedString.m: don't call super coding methods.
9506 * Source/NSCoder.m: add libobjects compatibility
9507 * Source/NSConnection.m: tidied a few bugs
9508 * Source/NSDistantObject.m: don't call super coding methods.
9509 * Source/NSGAttributedString.m: don't call super coding methods.
9510 * Source/NSHost.m: don't call super coding methods.
9511 * Source/NSNotification.m: don't call super coding methods.
9512 * Source/NSObject.m: tidied a little
9513 * Source/NSPort.m: moved global constants to externs.m
9514 * Source/NSPortMessage.m: new access method for connections.
9515 * Source/NSRunLoop.m: moved global constants to externs.m
9516 * Source/NSTimeZone.m: don't call super coding methods.
9517 * Source/NSURL.m: don't call super coding methods.
9518 * Source/NSUnarchiver.m: tidied.
9519 * Source/externs.m: Tdied and added new global constants.
9520
9521 2000-06-28 Adam Fedor <fedor@gnu.org>
9522
9523 Extension to force process args to be forwarded by the user.
9524 * configure.in (enable-pass-arguments): New switch that forces user
9525 to call NSProcessInfo initialization with process arguments.
9526 * Headers/gnustep/base/GSConfig.h.in (GS_PASS_ARGUMENTS): New define.
9527 * Source/NSProcessInfo.m (+initializeWithArguments:count:environment:):
9528 New method.
9529 * Tools/defaults.m (main): Update to call method if GS_PASS_ARGUMENTS.
9530 * Tools/gdnc.m: Likewise.
9531 * Tools/gsdoc.m: Likewise.
9532 * Tools/pldes.m: Likewise.
9533 * Tools/plmerge.m: Likewise.
9534 * Tools/plparse.m: Likewise.
9535 * Tools/plser.m: Likewise.
9536 * Tools/sfparse.m: Likewise.
9537
9538 * Source/behavior.m: Define __objc_uninstalled_dtable if not available
9539 from runtime.
9540
9541 2000-06-28 Richard Frith-Macdonald <rfm@gnu.org>
9542
9543 Various minor tidyups for distributed objects - and included development
9544 code for NSConnection rewrite.
9545 * Headers/gnustep/base/DistributedObjects.h: removed obsolete methods
9546 * Headers/gnustep/base/GSConnection.h: temporary (development) class
9547 * Headers/gnustep/base/GSPortCoder.h: private method for GSConnection
9548 * Headers/gnustep/base/NSConnection.h: tidied
9549 * Source/GSConnection.m: temporary (development) class
9550 * Source/GSPortCoder.m: private method for GSConnection
9551 * Source/NSConnection.m: tidied a little - retain/release fixes
9552 * Source/NSDistantObject.m: tidied a little - use OPENSTEP method
9553 for creating new connection.
9554 * Source/NSPortCoder.m: tidied to work without GNU specific code.
9555
9556 2000-06-27 Adam Fedor <fedor@gnu.org>
9557
9558 * Fixes on solaris/gcc 2.8.0
9559 * configure.in: Check for whoami location.
9560 * Source/Makefile.postamble: Use it.
9561 * Tools/Makefile.postamble: Use it.
9562
9563 * Tools/gsdoc.m: Make sure exit status is 0 when no libxml
9564
9565 * Makefile.postamble: Don't make documentation on install. Can't
9566 guarentee that library path is setup correctly yet.
9567
9568 * Source/NSData.m: Correct sense of NEEDS_WORD_ALIGN test.
9569
9570 2000-06-27 Richard Frith-Macdonald <rfm@gnu.org>
9571
9572 * Source/NSPort.m: Add default support for coding using the
9573 encodePortObject and decodePortObject methods.
9574 * Source/NSData.m: Use encodeDataObject and decodeDataObject
9575
9576 2000-06-26 Adam Fedor <fedor@gnu.org>
9577
9578 * Source/NSTimer.m (-invalidate): Remove assertion.
9579
9580 2000-06-26 Richard Frith-Macdonald <rfm@gnu.org>
9581
9582 * Source/GSPortCoder.m: Rewrite of NSPortCoder - under development.
9583 * Headers/gnustep/base/GSPortCoder.h: ditto
9584 * Source/GNUmakefile: Build GSPortCoder
9585
9586 2000-06-26 Richard Frith-Macdonald <rfm@gnu.org>
9587
9588 * Source/NSCoder.m: Use AUTORELEASE and tidy up.
9589 * Source/NSArchiver.m: Fix bug in ([-replaceObject:withObject:])
9590 * Source/NSObject.m: Optimise default replacementObjectForPortCoder
9591
9592 2000-06-23 Richard Frith-Macdonald <rfm@gnu.org>
9593
9594 * Source/NSFileHandle.m: Use AUTORELEASE and tidy up.
9595
9596 2000-06-21 Adam Fedor <fedor@gnu.org>
9597
9598 * Shared library (DLL) fixes on Windows
9599 * configure.in: Check for alternate objc (DLL) libraries.
9600 Look for objc_get_uninstalled_dtable.
9601 * Source/behavior.m (behavior_class_add_methods): Don't look for
9602 uninstalled_dtable if no objc_get_uninstalled_dtable.
9603 (check_class_methods): Remove unused.
9604 * Source/objc-load.m: Likewise.
9605
9606 * Headers/gnustep/base/NSObjCRuntime.h: Define GS_EXPORT
9607 * Headers/gnustep/base/NSZone.h: Define functions either static
9608 or extern depending on whether NSZone.m is being compiled.
9609 * Source/NSZone.m: Remove duplicate functions.
9610 * Source/Makefile.preamble (LIBRARIES_DEPEND_UPON): Add -lobjc
9611 if on windows.
9612
9613 * Source/UdpPort.m: Use NSMutableArray.
9614
9615 2000-06-19 Adam Fedor <fedor@gnu.org>
9616
9617 * Source/NSBundle.m (_bundle_name_first_match): Work even when
9618 filename has a directory component. (patch from Julian van
9619 Greunen <vangrn@lantic.co.za>).
9620
9621 2000-06-21 Richard Frith-Macdonald <rfm@gnu.org>
9622
9623 * Source/NSScanner.m: ([-scanHexInt:]) fixed to permit leading 0x or 0X
9624 * Documentation/gsdoc/NSScanner.gsdoc: fleshed out
9625 * Tools/Makefile.postamble: Added documentation target - build before
9626 install
9627 * Tools/gsdoc-0_6_6.dtd: New dtd under development - add java support,
9628 permit multiple indices at end of document, permit <br/> element.
9629 * Tools/gsdoc.m: Update to work with current dtd
9630 * Tools/gsdoc.gsdoc: Add a little more text on document body structure.
9631
9632 2000-06-20 Richard Frith-Macdonald <rfm@gnu.org>
9633
9634 * configure.in: Added check for recent libxml
9635 * config.mak.in: Added defeine for HAVE_LIBXML
9636 * Tools/gsdoc.m: Added from GSDoc and modified for standard
9637 libxml 2.0 installation
9638 * Tools/gsdoc-0_6_5.dtd: Added from GSDoc
9639 * Tools/gsdoc.gsdoc: Added from GSDoc
9640 * Tools/gnustep.gsdoc: Added from GSDoc
9641 * GSDoc: all removed
9642 * Examples: removed obsolete code.
9643
9644 2000-06-19 Richard Frith-Macdonald <rfm@gnu.org>
9645
9646 * Source/NSDate.m: Remove obsolete classForConnectedCoder method
9647 * Source/NSPort.m: ditto
9648 * Source/NSTcpPort.m: ditto
9649 * Source/NSUdpPort.m: ditto
9650 * Source/GNUmakefile: remove ConnectedCoder
9651 * Source/ConnectedCoder.m: removed
9652 * Headers/gnustep/base/ConnectedCoder.h: removed
9653
9654 2000-06-16 Richard Frith-Macdonald <rfm@gnu.org>
9655
9656 Removal of non-OpenStep unused classes.
9657 * Headers/gnustep/base/Archiver.h: removed
9658 * Headers/gnustep/base/Array.h: removed
9659 * Headers/gnustep/base/ArrayPrivate.h: removed
9660 * Headers/gnustep/base/Bag.h: removed
9661 * Headers/gnustep/base/BinaryTree.h: removed
9662 * Headers/gnustep/base/BinaryTreeNode.h: removed
9663 * Headers/gnustep/base/CircularArray.h: removed
9664 * Headers/gnustep/base/CircularArrayPrivate.h: removed
9665 * Headers/gnustep/base/Collecting.h: removed
9666 * Headers/gnustep/base/Collection.h: removed
9667 * Headers/gnustep/base/CollectionPrivate.h: removed
9668 * Headers/gnustep/base/DelegatePool.h: removed
9669 * Headers/gnustep/base/Dictionary.h: removed
9670 * Headers/gnustep/base/GapArray.h: removed
9671 * Headers/gnustep/base/GapArrayPrivate.h: removed
9672 * Headers/gnustep/base/Heap.h: removed
9673 * Headers/gnustep/base/IndexedCollecting.h: removed
9674 * Headers/gnustep/base/IndexedCollection.h: removed
9675 * Headers/gnustep/base/IndexedCollectionPrivate.h: removed
9676 * Headers/gnustep/base/InvalidationListening.h: removed
9677 * Headers/gnustep/base/Invocation.h: removed
9678 * Headers/gnustep/base/Invoking.h: removed
9679 * Headers/gnustep/base/KeyedCollecting.h: removed
9680 * Headers/gnustep/base/KeyedCollection.h: removed
9681 * Headers/gnustep/base/LinkedList.h: removed
9682 * Headers/gnustep/base/LinkedListNode.h: removed
9683 * Headers/gnustep/base/Magnitude.h: removed
9684 * Headers/gnustep/base/MappedCollector.h: removed
9685 * Headers/gnustep/base/NotificationDispatcher.h: removed
9686 * Headers/gnustep/base/OrderedCollecting.h: removed
9687 * Headers/gnustep/base/OrderedCollection.h: removed
9688 * Headers/gnustep/base/Queue.h: removed
9689 * Headers/gnustep/base/RBTree.h: removed
9690 * Headers/gnustep/base/RBTreeNode.h: removed
9691 * Headers/gnustep/base/RNGAdditiveCongruential.h: removed
9692 * Headers/gnustep/base/RNGBerkeley.h: removed
9693 * Headers/gnustep/base/Random.h: removed
9694 * Headers/gnustep/base/RandomGenerating.h: removed
9695 * Headers/gnustep/base/RunLoop.h: removed
9696 * Headers/gnustep/base/Set.h: removed
9697 * Headers/gnustep/base/SplayTree.h: removed
9698 * Headers/gnustep/base/Stack.h: removed
9699 * Headers/gnustep/base/Time.h: removed
9700 * Headers/gnustep/base/all.h: removed
9701 * Source/Archiver.m: removed
9702 * Source/Array.m: removed
9703 * Source/Bag.m: removed
9704 * Source/BinaryTree.m: removed
9705 * Source/BinaryTreeNode.m: removed
9706 * Source/CircularArray.m: removed
9707 * Source/Collection.m: removed
9708 * Source/DelegatePool.m: removed
9709 * Source/Dictionary.m: removed
9710 * Source/GapArray.m: removed
9711 * Source/Heap.m: removed
9712 * Source/IndexedCollection.m: removed
9713 * Source/Invocation.m: removed
9714 * Source/KeyedCollection.m: removed
9715 * Source/LinkedList.m: removed
9716 * Source/LinkedListNode.m: removed
9717 * Source/Magnitude.m: removed
9718 * Source/MappedCollector.m: removed
9719 * Source/NotificationDispatcher.m: removed
9720 * Source/OrderedCollection.m: removed
9721 * Source/Queue.m: removed
9722 * Source/RBTree.m: removed
9723 * Source/RBTreeNode.m: removed
9724 * Source/RNGAdditiveCongruential.m: removed
9725 * Source/RNGBerkeley.m: removed
9726 * Source/Random.m: removed
9727 * Source/Set.m: removed
9728 * Source/SplayTree.m: removed
9729 * Source/Stack.m: removed
9730 * Source/GNUmakefile: remove referenced to reomved classes
9731
9732 2000-06-16 Richard Frith-Macdonald <rfm@gnu.org>
9733
9734 * Headers/gnustep/base/NSGArchiver.h: removed obsolete file.
9735 * Source/NSGArchiver.m: removed obsolete file.
9736 * configure.in: Check for existence of NSArray.m to find source
9737 * Headers/gnustep/base/NSDictionary.h: Remove unused headers.
9738 * Headers/gnustep/base/Port.h: ditto
9739 * Headers/gnustep/base/NSConnection.h: ditto
9740 * Headers/gnustep/base/TcpPort.h: ditto
9741 * Headers/gnustep/base/NSGArray.h: ditto
9742 * Headers/gnustep/base/NSSet.h: ditto
9743 * Headers/gnustep/base/NSGSet.h: ditto
9744 * Headers/gnustep/base/NSRange.h: ditto
9745 * Source/Coder.m: Removed dependencies on some old classes
9746 * Source/Decoder.m: ditto
9747 * Source/Port.m: ditto
9748 * Source/TcpPort.m: ditto
9749 * Source/UdpPort.m: ditto
9750 * Source/NSGCString.m: ditto
9751 * Source/NSGString.m: ditto
9752 * Source/NSObject.m: ditto
9753 * Source/NSString.m: ditto
9754
9755 2000-06-15 Adam Fedor <fedor@gnu.org>
9756
9757 * Headers/gnustep/base/NSObject.h: Add base/preface include
9758
9759 2000-06-13 Adam Fedor <fedor@gnu.org>
9760
9761 * configure.in: Look for getopt.h
9762 * Source/NSBundle.m (+_absolutePathOfExecutable:): Add '.' if not
9763 already in path.
9764 * Source/NSPage.m: Use malloc if no valloc.
9765
9766 * Testing/GNUmakefile: Remove non-OpenStep tests.
9767
9768 * Tools/gdomap.c: Change WIN32 to MINGW. Check if IFF_POINTOPOINT
9769 is defined.
9770
9771 * Headers/gnustep/base/*h: Remove preface include from headers.
9772 Change extern function and var definitions to GS_EXPORT for better
9773 handling of DLLs
9774 * Headers/gnustep/base/NSObjCRuntime.h: Set definition of GS_EXPORT
9775 based on using or compiling DLL
9776
9777 2000-06-11 Adam Fedor <fedor@gnu.org>
9778
9779 * Headers/gnustep/base/preface.h.in: Define MINGW if MINW32.
9780 * Headers/gnustep/base/TcpPort.h: Change WIN32 to MINGW since
9781 CYGWIN has unix-like services.
9782 * Headers/gnustep/base/UdpPort.h: Likewise.
9783 * Source/GSTcpPort.m, Source/NSData.m, Source/NSDate.m,
9784 Source/NSFileManager.m, Source/NSHost.m, Source/NSLog.m,
9785 Source/NSPage.m, Source/NSProcessInfo.m, Source/NSString.m,
9786 Source/NSThread.m, Source/NSUser.m, Source/UdpPort.m,
9787 Source/UnixFileHandle.m, : Likewise.
9788
9789 * Source/Makefile.postamble: touch generated h files so they aren'y
9790 re-copied every compile.
9791
9792 * Source/NSBundle.m (_absolutePathOfExecutable:): New method.
9793 (mainBundle): Use it.
9794 * Source/NSTask.m (launch): Likewise.
9795 * Source/find_exec.m: Removed.
9796
9797 2000-06-09 Richard Frith-Macdonald <rfm@gnu.org>
9798
9799 * Source/GSeq.h: Reverted bogus change.
9800
9801 2000-06-06 Adam Fedor <fedor@gnu.org>
9802
9803 * Code cleanup to help with Windows port.
9804 * configure.in: Check for some extra headers. Remove obsolete stuff.
9805 * Source/BinaryCStream.m: Fix includes for WIN32
9806 * Source/NSCalandarDate.m: Likewise.
9807 * Source/NSDate.m: Likewise.
9808 * Source/NSLog.m: Likewise.
9809 * Source/NSPipe.m: Likewise.
9810 * Source/NSProcessInfo.m: Likewise.
9811 * Source/NSRunLoop.m: Likewise.
9812 * Source/NSUserDefaults.m: Likewise.
9813 * Source/StdioStream.m: Likewise.
9814 * Source/UdpPort.m: Likewise.
9815 * Tools/gdomap.c: Likewise.
9816
9817 * Source/NSBinaryCStream: Use NSByteOrder functions.
9818 * Source/UdpPort.m: Likewise.
9819 * Source/Invocation.m (initWithTarget:selector:): Use proper cast.
9820 * Source/NSFileManager.m (-isExecutableFileAtPath): Typo.
9821 * Source/NSPage.m (getpagesize): New function for WIN32
9822 * Source/NSString.m (-indexOfString): New method.
9823
9824 * Source/NSBundle.m (bundle_directory_readable,
9825 bundle_file_readable, _bundle_name_first_match): New functions
9826 use NSFileManager instead of unix dir functions.
9827 (-initWithPath:) Use them.
9828 (-pathForResource:...): Likewise.
9829 (-pathsForResource:...): Likewise.
9830
9831 2000-06-02 Richard Frith-Macdonald <rfm@gnu.org>
9832
9833 * Headers/gnustep/base/NSConnection.h: Changed reply_depth ivar to be
9834 called request_depth instead.
9835 * Source/NSConnection.m: Changed reply_depth ivar to request_depth
9836 and modified code to make independent conversation queueing
9837 effective on the basis of incoming requests being handled rather than
9838 outgoing replies. This should make it work for oneway methods.
9839
9840 Tue May 30 19:54:25 2000 Nicola Pero <nicola@brainstorm.co.uk>
9841
9842 * Source/NSProcessInfo.m ([NSProcessInfo +load]): If environ ==
9843 NULL, abort with an informative message rather than crashing
9844 without explanations.
9845
9846 2000-05-27 Richard Frith-Macdonald <rfm@gnu.org>
9847
9848 * Source/NSBundle.m: Protect all use of map tables of bundles
9849 using lock - should make class thread-safe.
9850
9851 2000-05-25 Adam Fedor <fedor@gnu.org>
9852
9853 * Headers/gnustep/base/GSIArray.h: remove config.h
9854 * Headers/gnustep/base/GSIMap.h: Likewise.
9855
9856 2000-05-24 Richard Frith-Macdonald <rfm@gnu.org>
9857
9858 * Source/NSFileManager.m: ([-directoryContentsAtPath:])
9859 Don't follow symbolic links
9860
9861 2000-05-23 Adam Fedor <fedor@gnu.org>
9862
9863 * Source/NSBundle.m (+initialize): Check if /proc/self/exe returns
9864 a real link, otherwise get path from NSProcessInfo.
9865
9866 * NSData: Correct #ifdef NEEDS_WORD_ALIGN to #if
9867
9868 2000-05-22 Richard Frith-Macdonald <rfm@gnu.org>
9869
9870 * Source/GSeq.h: comparison with zero length range is always
9871 NSOrderdSame
9872
9873 2000-05-21 Richard Frith-Macdonald <rfm@gnu.org>
9874
9875 * Source/NSDistantObject.m: ([-methodSignatureForSelector:])
9876 Re-fix attempting to handle creation of local method signature rather
9877 than returning a proxy to a remote one. Dumb error in first attempt.
9878
9879 2000-05-10 Adam Fedor <fedor@gnu.org>
9880
9881 * NSBundle.m (-classNamed:): Hacks for getting classes from
9882 _gnustep_bundle.
9883 (-principalClass): Likewise.
9884 (-load): Don't try to call load bundle if we are _gnustep_bundle.
9885
9886 2000-05-09 Richard Frith-Macdonald <rfm@gnu.org>
9887
9888 * Source/NSDistantObject.m: ([-methodSignatureForSelector:])
9889 Fix attempting to handle creation of local method signature rather than
9890 returning a proxy to a remote one.
9891
9892 2000-05-07 Richard Frith-Macdonald <rfm@gnu.org>
9893
9894 * Source/NSCalendarDate.m: ([-descriptionWithCalendarFormat:locale:])
9895 fix '%y' format for any year - bug reported by David Relson
9896
9897 2000-05-06 James Dessart <skwirl@cam.org>
9898
9899 * Documentation/gsdoc/NSString.gsdoc :
9900 * Documentation/gsdoc/NSString.html :
9901 Added some basic doc
9902
9903 2000-05-04 Richard Frith-Macdonald <rfm@gnu.org>
9904
9905 * Source/NSUser.m: NSHomeDirectoryForUser() protect with locks for
9906 thread safety.
9907
9908 2000-05-02 Adam Fedor <fedor@gnu.org>
9909
9910 * configure.in: Add check for word alignment. Also don't define
9911 HAVE_SYS_PROC_EXE on systems that need fake main.
9912 * Headers/gnustep/base/config.h.in: Add define if word-align needed.
9913 * Source/NSData.m:
9914 ([NSDataStatic -deserializeTypeTag:andCrossRef:atCursor:]): Use
9915 memcpy if word alignment needed.
9916 ([NSMutableDataMalloc -serializeTypeTag:andCrossRef:]): Likewise.
9917
9918 2000-04-28 Richard Frith-Macdonald <rfm@gnu.org>
9919
9920 * Source/NSConnection.m: ([+defaultConnection]) create receive port.
9921
9922 2000-04-26 Richard Frith-Macdonald <rfm@gnu.org>
9923
9924 * Source/NSHost.m: Improve logging of host/net configuration errors
9925 * Source/GSTcpPort.m: ditto
9926 * Source/TcpPort.m: ditto
9927
9928 2000-04-25 Adam Fedor <fedor@gnu.org>
9929
9930 * Source/NSBundle.m (+initialize): retain _executable_path.
9931
9932 2000-04-25 Richard Frith-Macdonald <rfm@gnu.org>
9933
9934 * Source/NSAttributedString.m: Optimised - cache method implementations
9935 wherever possible in order to avoid objc runtime overheads.
9936
9937 2000-04-23 Richard Frith-Macdonald <rfm@gnu.org>
9938
9939 * Source/NSAttributedString.m: Corrected code of
9940 ([-attribute:atIndex:longestEffectiveRange:inRange:]) so that it
9941 compares attributes correctly.
9942
9943 2000-04-20 Jonathan Gapen <jagapen@whitewater.chem.wisc.edu>
9944
9945 * Tools/plmerge.m: New tool to merge property lists.
9946 * Tools/plser.m: Fix error message. (deserialize => serialize)
9947 * Tools/GNUmakefile: Add plmerge.
9948
9949 2000-04-20 Richard Frith-Macdonald <rfm@gnu.org>
9950
9951 * Tools/gdomap.c: Don't do chdir/chroot on sysv - it screws up
9952 their streams so we can't handle incoming connections.
9953
9954 2000-04-20 Richard Frith-Macdonald <rfm@gnu.org>
9955
9956 * Source/NSCalendarDate.m: Fix memory leak when initialising from
9957 string.
9958
9959 2000-04-20 Richard Frith-Macdonald <rfm@gnu.org>
9960
9961 * Source/GSTcpPort.m: define INADDR_NONE to be -1 on systems where
9962 it is not defined.
9963
9964 2000-04-19 Richard Frith-Macdonald <rfm@gnu.org>
9965
9966 * Source/NSThread.m: rewrite
9967 * Source/NSCountedSet.m: minor fix in new unique method
9968 * Source/NSGCountedSet.m: ditto
9969
9970 2000-04-18 Adam Fedor <fedor@gnu.org>
9971
9972 * base/configure.in: add a test to see whether a symlink
9973 '/proc/self/exe' exists
9974 * base/Headers/gnustep/base/config.h.in: Add a definition for the
9975 test result
9976 * base/Source/NSBundle.m: Move the discovery of the process'
9977 executable file to +initialize; add code to discover it from
9978 /proc, if possible (patches from Jonathan Gapen
9979 <jagapen@whitewater.chem.wisc.edu>)
9980
9981 2000-04-18 Richard Frith-Macdonald <rfm@gnu.org>
9982
9983 * Documentation/gsdoc/NSCountedSet.gsdoc: Method descriptions fleshed
9984 out, including GNUstep additional methods and related functions.
9985 * Documentation/gsdoc/NSDeserializer.gsdoc: GNUstep specific extension
9986 method documented.
9987 * GSDoc/gnustep.gsdoc: Fixed use of 'standards' element.
9988 * Headers/NSSerialization.h: Removed some extensions.
9989 * Headers/NSSet.h: Added some extensions for uniquing.
9990 * Source/NSCountedSet.m: Added uniquing methods and functions.
9991 * Source/NSGCountedSet.m: Added optimised uniquing methods.
9992 * Source/NSSerializer.m: Simplified uniquing code using stuff from
9993 NSCountedSet.
9994 * Testing/benchmark.m: included uniquing serialization/deserialization.
9995
9996 2000-04-14 Richard Frith-Macdonald <rfm@gnu.org>
9997
9998 * Source/mframe.m: Update to handle '-' in stack position information
9999 in type encodings.
10000 * Source/Invocation.m: ditto
10001 * Source/objc-gnu2next.m: ditto
10002 * Source/mframe/*/generic: ditto
10003
10004 2000-04-08 Adam Fedor <fedor@gnu.org>
10005
10006 * Source/NSString.m: Include NSISOLatin2StringEncoding coding.
10007 * Source/Unicode.m (encode_chartouni): Implement latin2 encoding.
10008 (encode_unitochar): Likewise. (patches from
10009 Stefan Urbanek <urbane@decef.elf.stuba.sk>).
10010
10011 2000-04-05 Richard Frith-Macdonald <rfm@gnu.org>
10012
10013 * Source/NSCalendarDate.m: Bugfix intialising from string.
10014
10015 2000-04-05 Richard Frith-Macdonald <rfm@gnu.org>
10016
10017 * Headers/gnustep/base/NSException.h: remove 'volatile' from function
10018 and method declarations - no longer supported in gcc.
10019 * Source/NSException.m: ditto
10020
10021 2000-04-05 Richard Frith-Macdonald <rfm@gnu.org>
10022
10023 * Tools/gdomap.c: init_probe() fix bug placing incorrect responder
10024 address in broadcast probe.
10025
10026 2000-04-02 Richard Frith-Macdonald <rfm@gnu.org>
10027
10028 * Source/NSAttributedString.m: Infinite loop fix by Fred Kiefer to
10029 ([replaceCharactersInRange:withAttributedString:])
10030
10031 2000-03-29 Richard Frith-Macdonald <rfm@gnu.org>
10032
10033 * Source/NSUserDefaults.m: typo reported by karl@nfox.com fixed.
10034
10035 2000-03-28 Richard Frith-Macdonald <rfm@gnu.org>
10036
10037 * Source/NSDictionary.m: Fix to avoid crash on being asked to init
10038 with contents of a nil dictionary.
10039
10040 2000-03-28 Richard Frith-Macdonald <rfm@gnu.org>
10041
10042 * Headers/gnustep/base/NSRunLoop.h: Added event type for exceptional
10043 conditions on a file descriptor and removed obsolete methods.
10044 * Source/NSRunLoop.m: Added support for monitoring for exceptional
10045 conditions on a file descriptor and removed obsolete methods for
10046 handling file descriptors.
10047
10048 2000-03-26 Richard Frith-Macdonald <rfm@gnu.org>
10049
10050 * NSTimeZones/NSTimeZones.tar: Updated to latest information
10051 available from elsie.nci.nih.gov
10052
10053 2000-03-25 Jonathan Gapen <jagapen@whitewater.chem.wisc.edu>
10054
10055 * Source/NSUser.m: Added new MacOS X function,
10056 NSSearchPathForDirectoriesInDomains()
10057 * Headers/gnustep/base/NSPathUtilities.h: Added prototype and
10058 argument definitions for the above function.
10059
10060 2000-03-23 Adam Fedor <fedor@gnu.org>
10061
10062 * Source/....m: include config.h
10063 * Tools/*.m: Likewise.
10064 * Headers/gnustep/base/preface.h.in: Implement VASPRINTF_LENGTH
10065 when vasprintf does not return length.
10066
10067 2000-03-23 Mirko Viviani <mirko.viviani@rccr.cremona.it>
10068
10069 * Source/NSString.m: ([-initWithFormat:arguments:]) added
10070 implementation using vasprintf() to avoid stack problems.
10071 * Headers/gnustep/base/preface.h.in: added VASPRINT_* definitions.
10072
10073 2000-03-23 Richard Frith-Macdonald <rfm@gnu.org>
10074
10075 NSNumber - more extensive rewrite/optimisation ...
10076 * Headers/gnustep/base/NSValue.h: simplified
10077 * Source/NSNumber.m: Implemented efficient abstract methods and
10078 improved caching.
10079 * Source/NSConcreteNumber.m: More efficient implementations including
10080 some previously missing methods.
10081
10082 2000-03-23 Adam Fedor <fedor@gnu.org>
10083
10084 * configure.in: Check for vasprintf function
10085 * config/config.vasprintf.c: New file.
10086
10087 2000-03-22 Richard Frith-Macdonald <rfm@gnu.org>
10088
10089 NSNumber optimisation ...
10090 * Headers/gnustep/base/NSValue.h: Added a couple of GNUstep specific
10091 functions for obtaining cached information about methods of NSNumber
10092 subclasses and hashes of small integer values.
10093 * Source/NSNumber.m: Added caches for small integer numbers and for
10094 booleans. Also added caching mechamism for methods and order info
10095 for NSNumber concrete subclasses.
10096 * Source/NSConcreteNumber.m: Added support for much more efficient
10097 compare and fast hash for small integers.
10098
10099 2000-03-19 Richard Frith-Macdonald <rfm@gnu.org>
10100
10101 * Source/NSUserDefaults.m: ([-description]) implemented.
10102 * Source/NSArray.m: ([-descriptionWithLocale:indent:]) put space
10103 after comma even when doing unformatted description.
10104 * Source/NSDictionary.m: ([-descriptionWithLocale:indent:]) put space
10105 after semicolon and around equals even when doing unformatted
10106 description. Don't sort array items in unformatted description.
10107
10108 2000-03-19 Richard Frith-Macdonald <rfm@gnu.org>
10109
10110 * Source/NSGAttributedString.m: ([setAttributes:range:]) make sure
10111 attributes are set when old range starts at start of new range.
10112
10113 2000-03-18 Richard Frith-Macdonald <rfm@gnu.org>
10114
10115 * Tools/gdomap.c: Become an unpriveliged user after binding to
10116 port 538 (for which we need to be root). This should relieve
10117 some security considerations.
10118
10119 2000-03-18 Richard Frith-Macdonald <rfm@gnu.org>
10120
10121 * Source/NSNumber.m: Added private methods from concrete class.
10122
10123 2000-03-17 Adam Fedor <fedor@gnu.org>
10124
10125 * Documentation/coding-standards.tmpl.texi: Update
10126
10127 2000-03-17 Richard Frith-Macdonald <rfm@gnu.org>
10128
10129 Changed so that property lists are output in a compact form when
10130 no locale is supplied.
10131 * Documentation/gsdoc/NSObject.gsdoc: Added documentation of the
10132 various description methods.
10133 * GSDoc/gsdoc.m: Bugfixes for text in descriptions.
10134 * Headers/gnustep/base/NSObject.h: Updated description methods
10135 * Source/NSArray.m: Updated to be closer to MacOS description.
10136 * Source/NSDictionary.m: ditto.
10137 * Source/NSGCString.m: ditto.
10138 * Source/NSGString.m: ditto.
10139 * Source/NSObject.m: added more description methods.
10140 * Tools/defaults.m: updated to use locale.
10141 * Tools/dread.m: ditto.
10142 * Tools/pldes.m: ditto.
10143
10144 Fri Mar 17 07:47:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10145
10146 * Source/NSGString.m: Add checks to safely (and more efficiently)
10147 handle deletion and insertion of zero-length ranges.
10148 * Source/NSGCString.m: ditto.
10149
10150 Thu Mar 16 11:37:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10151
10152 * Source/NSRange.m: NSRangeFromString() bugfix by karl@nfox.com
10153 * Source/NSData.m: ([-hash]) new implementation by karl
10154
10155 Sat Mar 11 21:04:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10156
10157 * GSDoc/gsdoc.m: Updated for recent version of xml library.
10158
10159 Fri Mar 10 10:45:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10160
10161 * GSDoc/gsdoc-0_6_5.dtd: Altered to add standard conformance to
10162 individual methods and to make standards rigorous.
10163 * GSDoc/gsdoc.m: Updated for changes to dtd.
10164
10165 Thu Mar 09 18:07:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10166
10167 * Source/NSAttributedString.m: Varius bugfixes.
10168 * Source/NSGAttributedString.m: ditto.
10169
10170 2000-03-07 Adam Fedor <fedor@gnu.org>
10171
10172 * configure.in: Remove obsolete header checks for Time class.
10173
10174 Wed Mar 08 07:40:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10175
10176 * Source/NSAttributedString.m: Bugfix by fred Kiefer for extending
10177 attributes. Related bugfixes by me, plus tidying up.
10178
10179 2000-03-06 Adam Fedor <fedor@gnu.org>
10180
10181 * config.guess: Better guess of NetBSD systems.
10182
10183 Sat mar 04 10:08:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10184
10185 * Tools/Makefile.postamble: improved messages about gdomap installation.
10186
10187 Mon Feb 28 15:27:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10188
10189 * GSDoc: Added GSDoc subdirectory to contain tool for converting gsdoc
10190 documentation to HTML format.
10191 * Documentation/gsdoc: Added skeleton documentation for the
10192 OpenStep/MacOS-X foundation classes in the gsdoc subdirectory.
10193
10194 Sun Feb 27 08:37:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10195
10196 * Headers/gnustep/base/NSPortMessage.m: use separate ivars for ports.
10197 * Source/NSPortMessage.m: modified to use separate ivars for send and
10198 receive ports so that we can easily pass mutable array for send.
10199
10200 Fri Feb 25 12:56:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10201
10202 * Source/NSPort.m: provide default implementations for methods dealing
10203 with adding connections to run loop.
10204 * Source/NSRunLoop.m: Check to see if ports have been invalidated and
10205 remove them from run loop if they have.
10206
10207 Thu Feb 24 21:05:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10208
10209 * Source/NSBundle.m: ([-initWithPath:]) added code suggested by
10210 jagapen@whitewater.chem.wisc.edu to handle relative paths.
10211 * Source/NSObject.m: Added catagory of 'Object' so that containers
10212 can safely hold non-NSObject descended objects.
10213
10214 Thu Feb 24 15:55:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10215
10216 * Source/TcpPort.m: Removed some unused code.
10217 * Source/GSTcpPort.m: Added new port implementation - non-functional
10218 as yet, but it represents quite a bit of work so I thought I'd put
10219 it somewhare safe from my hard disk crashing.
10220
10221 Thu Feb 24 08:30:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10222
10223 * Source/NSUser.m: NSOpenStepRootDirectory() use GNUSTEP_ROOT
10224
10225 Tue Feb 22 15:03:46 2000 Nicola Pero <n.pero@mi.flashnet.it>
10226
10227 * Headers/Foundation/NSPort.h: Fixed typo: changed `@class
10228 NSArray` to `@class NSMutableArray` to make it compile.
10229
10230 Tue Feb 22 07:31:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10231
10232 * Tools/gdomap.c: Reinstated '-p' flag to disable probes and added
10233 code to do probes by broadcast to the local network rather than by
10234 probing machines individually if possible.
10235
10236 2000-02-20 Matthias Klose <doko@cs.tu-berlin.de>
10237
10238 * Tools/gdomap.c (main): Add -I <file> option to write the pid to.
10239
10240 Mon Feb 21 13:44:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10241
10242 * Source/NSRunLoop.m: Use sel_eq() for selector comparison so that
10243 we are guaranteed to match correctly when removing actions from the
10244 runloop.
10245
10246 Fri Feb 6 14:54:00 2000 Manuel Guesdon <mguesdon@sbuilders.com>
10247
10248 * Source/NSCalendarDate.m: handle nil and empry string in
10249 -initWithString:calendarFormat:locale:
10250 * ChangeLog: Replace 1999 by 2000 for last modifications :-)
10251
10252 Fri Feb 4 17:20:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10253
10254 * Source/NSPortNameServer.m: New methods for use by NSConnection
10255 * Foundation/NSPortNameServer.h: ditto
10256 * Source/NSConnection.m: Tidied a little and added ([-registerName:])
10257 * Source/NSConnection.h: ditto
10258
10259 2000-02-17 Adam Fedor <fedor@gnu.org>
10260
10261 * Version: 0.6.5 released.
10262
10263 2000-02-16 Adam Fedor <fedor@gnu.org>
10264
10265 * gnustep-base.spec: Newfile
10266
10267 Wed Feb 16 06:28:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10268
10269 * Source/NSAssertionHandler.m: Applied patch by David relson to change
10270 output format for function assertions, fixed error in format string,
10271 and made similar changes for method assertions.
10272
10273 2000-02-14 Adam Fedor <fedor@gnu.org>
10274
10275 * Version: Update version number
10276 * Documentation/announce.tmpl.texi: Update
10277 * Documentation/readme.tmpl.texi: Likewise.
10278 * Documentation/news.tmpl.texi: Likewise.
10279 * Documentation/todo.tmpl.texi: Likewise.
10280 * ANNOUNCE, BUGS, NEWS, README: Regenerate
10281
10282 Fri Feb 11 06:27:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10283
10284 * Source/NSZone.m: Tidied indentation etc to GNU style.
10285
10286 Thu Feb 10 23:01:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10287
10288 * Source/NSDebug.m: Patch by David Relson to change memory allocation
10289 report and add thread-safety. Modified by me to automatically use
10290 locking if necessary, to tidy up, and to fix a couple of bugs in
10291 lock/unlock sequencing. All new stuff - but since the previous
10292 version was completely unusable in a multithreaded environment I
10293 don't think we are running any risk by adding this here.
10294
10295 Thu Feb 10 15:00:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10296
10297 Changes to fix possible crashes where task completion notifications
10298 are sent at inappropriate times due to SIGCHLD.
10299 * Source/NSTask.m: Move signal handler code to GSChecktasks() and
10300 have the signal handler simply set a flag to say work needs doing.
10301 * Source/NSRunLoop.m: Add calls to GSCheckTasks() so that we notice
10302 the death of a child.
10303
10304 Thu Feb 10 14:13:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10305
10306 * Source/UnixFileHandle.m: ([-receivedEvent:type:extra: forMode:])
10307 fix so that incoming connections are closed when their file handle
10308 is deallocated.
10309
10310 Thu Feb 10 9:34:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10311
10312 * Headers/gnustep/base/preface.h.in: Added tests to see if _C_LNG_LNG
10313 and _C_ULNG_LNG are defined in the objc compiler headers and, if not,
10314 define them. Long long support was added in gcc 2.8 (minimum
10315 compiler version recommended for GNUstep), but the defines were
10316 missing from the headers :-(
10317 * Source/NSArchiver.m: Remove conditional compile for long long stuff.
10318 * Source/NSData.m: ditto
10319 * Source/NSUnarchiver.m: ditto
10320 * Source/mframe.m: ditto
10321
10322 2000-02-09 Adam Fedor <fedor@gnu.org>
10323
10324 * Documentation/gnustep-base.tmpl.texi: Update.
10325 * Documentation/news.tmpl.texi: Likewise.
10326 * Documentation/readme.tmpl.texi:Likewise.
10327
10328 * Headers/gnustep/base/NSObjCRuntime.h: Include preface for stdargs.
10329
10330 Wed Feb 9 17:44:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10331
10332 * Headers/gnustep/base/NSObjCRuntime.h: fix for header dependencies.
10333 * Headers/gnustep/base/Unicode.h: ditto
10334 * Source/NSDebug.m: ditto
10335
10336 Tue Feb 8 23:00:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10337
10338 * Source/NSRunLoop.m: ([acceptInputForMode:beforeDate:]) fix handling
10339 of notifications in idle queue.
10340
10341 2000-02-08 Adam Fedor <fedor@gnu.org>
10342
10343 * config.guess: New version
10344 * config.sub: Likewise.
10345
10346 Tue Feb 8 23:00:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10347
10348 * Source/NSArray.m: Move ([writeToFile:atomically:]) from mutable
10349 array to array code.
10350
10351 Tue Feb 8 12:44:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10352
10353 * Source/Foundation/HSConfig.h.in: Added some GC macros
10354 * Source/NSData.m: Attempt to remove temporary file if an atomic
10355 write attempt fails.
10356
10357 Sat Feb 5 8:47:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10358
10359 * Source/Foundation/NSDebug.h: Add missing function prototype -
10360 Patch by David Relson <relson@expressgate.net>
10361
10362 2000-01-27 Adam Fedor <fedor@gnu.org>
10363
10364 * Tools/gdomap.c (init_iface): Check to see if an
10365 interface is up (using SIOCGIFFLAGS), and then get the address
10366 information before checking whether the address is in the AF_INET
10367 family (patch from Jonathan Gapen <jagapen@whitewater.chem.wisc.edu>).
10368
10369 Sun Jan 16 9:10:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10370
10371 Moved objc-load.c to objc-load.m and filnd-exec.c to find-exec.m
10372 Added logging functions to objc-load.m so that logging can be
10373 enabled at runtime using --GNU-Debug=NSBundle
10374
10375 Sun Jan 9 15:20:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10376
10377 * Source/NSGAttributedString.m: ([-attributesAtIndex:effectiveRange:])
10378 fixed illegal parameter - reported by jagapen@whitewater.chem.wisc.edu
10379
10380 Wed Jan 5 16:22:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10381
10382 * Source/NSData.m: when serializing selectors, cope with untyped
10383 selectors instead of crashing.
10384
10385 Wed Jan 5 14:37:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10386
10387 * Source/NSTimeZone.m: Changed order of lookup to determine the local
10388 timezone:
10389 1. User defaults with key 'Local Time Zone'
10390 2. GNUSTEP_TZ environment variable
10391 3. $GNUSTEP_SYSTEM_ROOT/Libraries/Resources/NSTimeZones/localtime
10392 4. TZ environment variable
10393 5. Use UTC
10394 This means that the TZ environment variable can now safely be used for
10395 non-GNUstep timezones as long as GNUSTEP_TZ is defined (or a localtime)
10396 file exists.
10397
10398 Wed Jan 5 10:00:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10399
10400 * NSTimeZones/NSTimeZones.tar: Made a revised set of timezones with
10401 timezone names offset from GMT corresponding to common usage
10402 (as in OPENSTEP) rather than strict Posix interpretation.
10403 Also added detailed instructions to the README file and added a
10404 small makefile to build the abbreviations/regions tools.
10405
10406 Tue Jan 4 22:40:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10407
10408 * Source/NSCalendarDate.m: ([-yearOfCommonEra]) fix rounding error.
10409
10410 Tue Dec 21 13:27:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10411
10412 Fixes suggested by karl@nfox.com
10413 * Source/propList.h: Bugfix parsing larger lists.
10414 * Source/NSProcessInfo.m: Avoid use of freopen()
10415 * Source/GSeq.h: for ranges not found, return NSNotFound as the
10416 location rather than 0 - for compatibility with Apple.
10417 * NSDeserializer.m: Return nil if given nil data or an object that
10418 is not a data object.
10419
10420 1999-12-19 David Lazaro <khelekir@encomix.es>
10421
10422 * configure.in (objc_thread_lib): Added support for FreeBSD native
10423 POSIX threads (from the reentrant C library, libc_r). Made this the
10424 first option to test as this is the best working one.
10425 * configure: New build to support the above mentioned.
10426
10427 Fri Dec 17 17:55:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10428
10429 Fix error in last change.
10430
10431 Fri Dec 17 7:03:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10432
10433 * Source/NSGAttributedString.m: Patch (slightly modified) by Adam Fedor
10434 to permit setting attributes on an empty string (as a no-op).
10435
10436 Wed Dec 15 18:50:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10437
10438 * Source/NSHost.m: Update again - record current host name for duration
10439 of process and cache hosts keyed on the name under which they were
10440 created. This can result in multiple cache entries for the same host,
10441 but this seems to be necessary as DNS name <--> address mappings can
10442 be asymmetric.
10443 Thanks to dan@services.iiruc.ro for pointing this out.
10444
10445 Wed Dec 15 17:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10446
10447 * Source/Foundation/NSObject.h: dealloc notification stuff for Helge
10448 * Source/NSObject.m: dealloc notification stuff for Helge
10449
10450 Wed Dec 15 2:18:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10451
10452 * Source/UnixFileHandle.m: Chck to see if we are given a bad address.
10453 * Source/NSHost.m: major rewrite
10454
10455 Tue Dec 14 8:40:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10456
10457 * Source/NSTimeZone.m: ([+getTimeZoneFile:]) Removed misleading comment
10458 and hack.
10459 ([+timeZoneWithName:]) Fixed bug in loading timezone data file (unusual
10460 formats could cause a crash).
10461 * Source/NSScanner.m: ([-initWithString:]) fix to handle being passed
10462 a nil string (use an empty string and log an error).
10463 * NSTimeZones/NSTimeZones.tar: updated to latest info and made sure
10464 files are in the correct place.
10465
10466 Mon Dec 13 13:31:00 1999 Chris Ball <cball@fmco.com>
10467
10468 * Source/NSTimeZone.m: Replaced the original, correct comment and
10469 removed Richard's replacement incorrect comment.
10470
10471 Fri Dec 9 17:00:00 1999 Chris Ball <cball@fmco.com>
10472
10473 Sorry, I did a commit one directory to deep.
10474 * Source/NSArray.m: NSMutableArray's compared against a garbage pointer
10475 on removal. This causes real problems on SMP machines.
10476 * Source/NSGarray.m
10477 * Source/NSCalendarDate.m: DateByAddingYears lost timeZone info.
10478 InitWithString didn't deal with adjacent format specifiers.
10479 * Source/NSDate.m: addTimeInterval messed up timeZone if used with
10480 calendarDate
10481 * Source/NSLock.m: Trylock was broken and lockBeforeDate was
10482 unimplemented
10483 * Source/NSObject.m: The release code was broken for SMP machine use.
10484 * Source/NSTimeZone.m: The GMT+-** files are in the root directory on
10485 OpenStep and are in Etc/ on GNUstep so check both.
10486
10487 Mon Dec 13 12:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10488
10489 Fixes for cball's changes (who is cball?, and why didn't s/he produce
10490 a ChangeLog entry or conform to GNU indentation? It took me hours to
10491 tidy this up).
10492 * Source/NSDate.m: ([NSGDate -addTimeInterval:]) removed bogus
10493 implementation of method (inherits from NSDate).
10494 * Source/NSCalendarDate.m: Added implementation of ([-addTimeInterval:])
10495 with specific code for NSCalendarDate. Reformatted code to GNUstep
10496 style.
10497 * Source/NSGArray.m: ([-removeObjectIdenticalTo:]) and
10498 ([-removeObjectIdenticalTo:inRange:]) reverted to correct code.
10499 ([-removeObject:]) and ([-removeObjectIdenticalTo:inRange:]) removed
10500 changes and added fixes so that methods are safe where multiple objects
10501 equal to the object to be removed are present in the array.
10502 * Source/NSArray.m: Similar fixes for object removal.
10503 * Source/NSObject.m: Rewritten mutex code so that mutexes are not used
10504 for retain/release unless the app is multi-threaded.
10505
10506 Wed Dec 1 19:36:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10507
10508 * Source/NSArray.m: When sorting, treat illegal return values from the
10509 comparator the same way as OPENSTEP does, but log a warning.
10510 * Source/NSGArray.m: ditto
10511 * Source/NSDictionary.m ditto
10512
10513 Fri Nov 26 19:46:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10514
10515 * Headers/Foundation/NSString.h: Tidied and fixed return types for
10516 for a few methods.
10517 * Source/NSString.m: ditto.
10518 * Headers/NSRange.h: Added NSRangeFromString()
10519 * Source/NSRange.m: Implemented NSRangeFromString()
10520
10521 Sun Nov 21 6:35:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10522
10523 * Source/NSNotificationQueue.m: Applied patch by Dan Pascu to fix bug
10524 in removal of notificatiosn from queues. Also tidied indentation etc
10525 to conform to GNU standards.
10526 * Source/UnixFileHandle.m: ([-availableData]) fixed to block when no
10527 data is availabvle on a comms channel - as per spec. This bug was
10528 also reported by Dan <dan@services.iirux.ro>
10529 * Source/NSHost.m: Use inet_aton() if available.
10530
10531 1999-11-18 Adam Fedor <fedor@gnu.org>
10532
10533 * Source/GNUmakefile: Install unicode headers.
10534 * Source/Makefile.postamble: Script for doing unicode installation.
10535 (patches from Christopher Seawood <cls@seawood.org>).
10536
10537 Thu Nov 18 15:23:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10538
10539 * Headers/Foundation/NSPage.h: removed
10540 * Headers/Foundation/NSZone.h: incorporated NSPage.h
10541 * Source/GNUmakefile: Remove reference to NSPage.h
10542 * Source/NSZone.m: Remove reference to NSPage.h
10543
10544 Sun Nov 7 14:04:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10545
10546 * Source/o_vscanf.c Reverted to earlier version - the last fix was
10547 causing distributed objects to fail! I don't know why, but DO seems
10548 more important than the bugfix - so, pending a rewrite of DO
10549 encoding/decoding to remove the dependency on the old stream code,
10550 we need to leave this as it is.
10551
10552 1999-11-09 Adam Fedor <fedor@gnu.org>
10553
10554 * Source/o_vscanf.c (o_vscanf): Don't count '\n' as whitespace.
10555
10556 Sun Nov 7 14:04:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10557
10558 * Source/Foundation/NSDebug.h: Added NSWarnLog(), NSWarnFLog() and
10559 NSWarnMLog() macros to log warnings about potential programming errors.
10560 * Source/NSArray.m: Change to use NSWarnMLog() for warnings.
10561 * Source/NSGArray.m: ditto
10562 * Source/NSGCountedSet.m: ditto
10563 * Source/NSGDictionary.m: ditto
10564 * Source/NSGSet.m: ditto
10565
10566 Thu Nov 4 1999 Michael Hanni <mhanni@sprintmail.com>
10567
10568 * Source/NSObject.m: added FreeBSD specific code in
10569 initialization so that the FPU is intialized with the correct
10570 exception flag. This allows NSConnection to work on FreeBSD (gdnc,
10571 gdomap, gpbs.)
10572
10573 Thu Nov 4 10:52:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10574
10575 * Source/NSArray.m: use NSLog() to warn about attempts to remove nil.
10576 * Source/NSGArray.m: ditto
10577 * Source/NSGCountedSet.m: ditto
10578 * Source/NSGDictionary.m: ditto
10579 * Source/NSGSet.m: ditto
10580
10581 Fri Oct 29 10:08:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10582
10583 * Source/NSInvocation.m: ([-initWithTarget:selector:]) possible fix
10584 for structure arguments grabbed from varargs.
10585
10586 Tue Oct 19 11:28:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10587
10588 * Source/NSScanner.m: skipToNextField() - cope with a nil set of
10589 characters to be skipped.
10590
10591 Fri Oct 15 01:28:16 1999 Lyndon Tremblay <humasect@coolmail.com>
10592
10593 * Source/NSURL.m: (-[scheme]) removed a hopefully accidentally placed
10594 space character in a call to (-[NSString rangeOfString]).
10595
10596 Tue Sep 12 14:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10597
10598 * Source/NSConnection.m: Removed pointer cross-reference support as it
10599 provided little performance improvement and was responsible for a few
10600 bugs I've never been able to track down, and major problems if the maps
10601 at either end of the link get out of sync (which is unavoidable in some
10602 rare circumstances).
10603 * Headers/Foundation/NSConnection.h: Removed cross-reference maps
10604 * Source/ConnectedCoder.m: Removed pointer cross-reference support
10605 * Source/NSPortCoder.m: Removed pointer cross-reference support
10606
10607 Fri Sep 8 12:05:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10608
10609 * configure.in: Correct path to include file for checking thread support
10610 (bug reported by kai@cats.ms).
10611
10612 Tue Sep 5 11:21:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10613
10614 * Source/NSUserDefaults.m: Fix for crash when reading corrupt file.
10615 Also -added code to create ~/GNUstep directory if needed.
10616
10617 Mon Sep 4 11:06:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10618
10619 * Tools/gdomap.c: better debug output (hopefully)
10620
10621 Wed Sep 29 21:34:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10622
10623 * Source/NSData.m: More GC updates (atomic data buffer)
10624 * Source/NSGString.m: ditto
10625 * Source/NSGCString.m: ditto
10626 * Source/NSObject.m: More GC updates
10627 * Source/NSZone.m: ditto
10628 * Source/mframe.m: ditto
10629 * Source/objc-gnu2next.m: ditto
10630 * Headers/Foundation/GSIMap.h: ditto
10631
10632 Tue Sep 28 20:54:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10633
10634 * Source/NSArray.m: Tidy for GC stuff
10635 * Source/NSAttributedString.m: ditto
10636 * Source/NSCallBacks.m: ditto
10637 * Source/NSConnection.m: ditto
10638 * Source/NSData.m: ditto
10639 * Source/NSDateFormatter.m: ditto
10640 * Source/NSFileManager.m: ditto
10641 * Source/NSGArray.m: ditto
10642 * Source/NSGCountedSet.m: ditto
10643 * Source/NSGDictionary.m: ditto
10644 * Source/NSGSet.m: ditto
10645 * Source/NSInvocation.m: ditto
10646 * Source/NSNotificationCenter.m: ditto
10647 * Source/NSObject.m: ditto
10648 * Source/NSPortNameServer.m: ditto
10649 * Source/NSProcessInfo.m: ditto
10650 * Source/NSRunLoop.m: ditto
10651 * Source/NSScanner.m: ditto
10652 * Source/NSString.m: ditto
10653 * Source/NSTimeZone.m: ditto
10654 * Source/NSUnarchiver.m: ditto
10655 * Source/NSUndoManager.m: ditto
10656 * Source/NSUserDefaults.m: ditto
10657 * Source/TcpPort.m: ditto
10658 * Source/propList.h: ditto
10659
10660 Tue Sep 28 11:45:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10661
10662 * Source/NSArray.m: ([+allocWithZone:]) tiny optimisation.
10663 * Source/NSCountedSet.m: Some optimisation.
10664 * Source/NSTask.m: implement ([-interrupt]) to send SIGINT.
10665 * Source/NSUserDefaults.m: ([-searchList]) return constant array.
10666 Various tidying up and optimisations.
10667 ([-persistentDomainForName:]) fixed memory leak.
10668 ([-volatileDomainForName:]) return constant dictionary.
10669 ([-setPersistentDomain:forName:]) make mutable copy.
10670 ([-setVolatileDomain:forName:]) ditto
10671 * Source/NSObject.m: GC tweaks
10672 * Source/NSZone.m: added zone for atomic GC
10673 * Headers/Foundation/NSZone.h: added zone GSAtomicMallocZone()
10674 * Headers/Foundation/GSIArray.h: Remove special case for zero zone
10675 * Headers/Foundation/GSIMap.h: ditto.
10676
10677 Tue Sep 28 5:54:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10678
10679 * Source/NSTask.m: ([_collectChiled]) bugfix suggested by karl@nfox.com
10680
10681 Mon Sep 27 21:15:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10682
10683 * Source/NSScanner.m: Fix error introduced into skipToNextField() macro
10684 my my last rewrite - sorry. Thanks to N. Pero for narrowing down the
10685 problem to a level where I could locate it.
10686 * Source/NSGeometry.m: optimised.
10687
10688 1999-09-24 Adam Fedor <fedor@gnu.org>
10689
10690 * configure.in: Add check for Objective-C headers.
10691
10692 Thu Sep 23 20:09:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10693
10694 * Source/Invocation.m: VARARGS fix by ani joshi <ajoshi@wam.umd.edu>
10695
10696 Tue Sep 21 20:26:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10697
10698 * Headers/Foundation/NSPortNameServer.h: Tidied and removed a few ivars.
10699 * Source/NSPortNameServer.m: Rewritten to be a bit clearer and to
10700 permit parallel lookup on multiple hosts.
10701
10702 Sun Sep 19 6:07:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10703
10704 * NSString.m: Fix bug in ([+stringByStandardizingPath]) with trailing
10705 slash.
10706
10707 Thu Sep 16 19:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10708
10709 Change request from Helge
10710 * Source/externs.m: added NSNonRetainedObjectMapValueCallBacks
10711 * Headers/Foundation/NSMapTable.h: ditto.
10712
10713 Thu Sep 16 8:40:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10714
10715 Changes to minimise naming conflicts by making sure that all ivars
10716 of public classes are prefixed with a underscore.
10717 * Headers/Foundation/NSArchiver.h: prefix ivars with underscore and tidy
10718 * Headers/Foundation/NSArray.h: ditto
10719 * Headers/Foundation/NSAttributedString.h: ditto
10720 * Headers/Foundation/NSAutoreleasePool.h: ditto
10721 * Headers/Foundation/NSBitmapCharSet.h: ditto
10722 * Headers/Foundation/NSBundle.h: ditto
10723 * Headers/Foundation/NSCharacterSet.h: ditto
10724 * Headers/Foundation/NSCoder.h: ditto
10725 * Headers/Foundation/NSData.h: ditto
10726 * Headers/Foundation/NSDate.h: ditto
10727 * Headers/Foundation/NSDateFormatter.h: ditto
10728 * Headers/Foundation/NSDictionary.h: ditto
10729 * Headers/Foundation/NSDistantObject.h: ditto
10730 * Headers/Foundation/NSDistributedLock.h: ditto
10731 * Headers/Foundation/NSDistributedNotificationCenter.h: ditto
10732 * Headers/Foundation/NSException.h: ditto
10733 * Headers/Foundation/NSFileHandle.h: ditto
10734 * Headers/Foundation/NSFileManager.h: ditto
10735 * Headers/Foundation/NSGAttributedString.h: ditto
10736 * Headers/Foundation/NSHost.h: ditto
10737 * Headers/Foundation/NSInvocation.h: ditto
10738 * Headers/Foundation/NSLock.h: ditto
10739 * Headers/Foundation/NSMethodSignature.h: ditto
10740 * Headers/Foundation/NSNotification.h: ditto
10741 * Headers/Foundation/NSNotificationQueue.h: ditto
10742 * Headers/Foundation/NSPort.h: ditto
10743 * Headers/Foundation/NSPortMessage.h: ditto
10744 * Headers/Foundation/NSPortNameServer.h: ditto
10745 * Headers/Foundation/NSProtocolChecker.h: ditto
10746 * Headers/Foundation/NSScanner.h: ditto
10747 * Headers/Foundation/NSSet.h: ditto
10748 * Headers/Foundation/NSTask.h: ditto
10749 * Headers/Foundation/NSURL.h: ditto
10750 * Headers/Foundation/NSURLHandle.h: ditto
10751 * Headers/Foundation/NSUndoManager.h: ditto
10752 * Headers/Foundation/NSUserDefaults.h: ditto
10753 * Source/NSArchiver.m: ditto
10754 * Source/NSAutoreleasePool.m: ditto
10755 * Source/NSBitmapCharSet.m: ditto
10756 * Source/NSCalendarDate.m: ditto
10757 * Source/NSDate.m: ditto
10758 * Source/NSDateFormatter.m: ditto
10759 * Source/NSDistantObject.m: ditto
10760 * Source/NSDistributedLock.m: ditto
10761 * Source/NSDistributedNotificationCenter.m: ditto
10762 * Source/NSException.m: ditto
10763 * Source/NSFileManager.m: ditto
10764 * Source/NSGAttributedString.m: ditto
10765 * Source/NSGSet.m: ditto
10766 * Source/NSHost.m: ditto
10767 * Source/NSInvocation.m: ditto
10768 * Source/NSLock.m: ditto
10769 * Source/NSMethodSignature.m: ditto
10770 * Source/NSNotificationCenter.m: ditto
10771 * Source/NSNotificationQueue.m: ditto
10772 * Source/NSPort.m: ditto
10773 * Source/NSPortMessage.m: ditto
10774 * Source/NSPortNameServer.m: ditto
10775 * Source/NSProtocolChecker.m: ditto
10776 * Source/NSScanner.m: ditto
10777 * Source/NSTask.m: ditto
10778 * Source/NSURL.m: ditto
10779 * Source/NSURLHandle.m: ditto
10780 * Source/NSUndoManager.m: ditto
10781 * Source/NSUserDefaults.m: ditto
10782 * Source/Port.m: ditto
10783 * Source/TcpPort.m: ditto
10784 * Source/UdpPort.m: ditto
10785
10786 Tue Sep 14 20:44:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10787
10788 * Source/NSArray.m: Huge amounts of optimisation.
10789 Memory leak fixed in ([-initWithFile:]).
10790 * Source/NSGArray.m: Optimisations of less-used methods, including
10791 implementation of fast enumerators.
10792
10793 Tue Sep 14 15:11:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10794
10795 * Source/NSTimer.m: minor optimisations
10796 * Headers/NSRunLoop.h: modification for optimisation of performers
10797 * Source/NSRunLoop.m: minor optimisations, plus bugfix for performers
10798 (was removing performers after they had been fired - shouldn't).
10799
10800 Mon Sep 13 6:45:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10801
10802 Miscellaneous minor bugfixes plus,
10803 * Source/NSDate.m: Year 2001 bug fixed - had silly assertion in
10804 generation of time interval since reference date for current time.
10805 * Source/NSScanner.m: optimised (well, mostly).
10806 * Headers/Foundation/NSScanner.h: update for optimisatio).
10807
10808 Sun Sep 12 20:22:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10809
10810 * Source/NSDictionary.m: optimise by avoiding objc method lookup
10811 overheads wherever possible.
10812 * Source/NSGDictionary.m: likewise.
10813
10814 Fri Sep 3 11:57:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10815
10816 * Source/NSString.m: speed up path handling a bit by caching
10817 method for testing for path separators - also fixed appending
10818 of path extensions and components to be according to spec.
10819
10820 Sat Aug 21 6:26:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10821
10822 * Tools/gdomap.c: Fix for probing for other gdomap processes on the
10823 net.
10824
10825 1999-08-19 Michael Hanni <mhanni@sprintmail.com>
10826
10827 * Source/NSObjCRuntime.m: patch from Tim Bissell to help in
10828 debugging. (show which non-existant ivar you wanted.)
10829
10830 1999-09-07 Adam Fedor <fedor@gnu.org>
10831
10832 * Version: 0.6.0
10833
10834 * configure.in: Add test for solaris libraries, freebsd threads.
10835 * Source/mframe/config.guess: Update to latest version
10836 * Source/mframe/config.sub: Likewise.
10837
10838 Sun Sep 5 9:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10839
10840 * config/config_thread.m: new file
10841 * configure.in: Update to check to see if obc runtime uses threads
10842 so that we can include the thread library if necessary - and later
10843 onbjc tests won't all fail on threaded systems.
10844 Also - force use of fake-main stuff on bsd systems.
10845 * Source/NSProcessInfo.m: Remove bsd workaround - didn't work.
10846
10847 1999-08-29 Michael Hanni <mhanni@sprintmail.com>
10848
10849 * Source/NSObjCRuntime.m: added a patch from Tim Bissell
10850 <tim.bissell@dresdnerkb.com>. Adds better debugging information
10851 for non-existent ivars.
10852
10853 Sat Sep 4 6:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10854
10855 Various process-info related bugfixes.
10856 * Source/NSBundle.m: Use arguments list for argv[0] for full path.
10857 * Source/NSLog.m: use processName directly in log.
10858 * Source/NSProcessInfo.m: Fix process name to be last path component
10859 of argv[0], and add workaround for buggy /proc filesystems that
10860 append a newline to arguments.
10861 * Source/NSUserDefaults.m: use processName directly for domain name.
10862
10863 Thu Sep 2 9:03:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10864
10865 * Source/NSTask.m: exec process with argv[0] set to full path of
10866 the executable rather than just the program name.
10867
10868 Tue Aug 31 15:47:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10869
10870 * Source/NSTimer.m: Set minimum timeout to 0.01s rather than 1.0s.
10871 This seems a more reasonable value - a 1 second delay is too big.
10872
10873 1999-08-29 Adam Fedor <fedor@gnu.org>
10874
10875 * Source/NSLog.m (_NSLog_standard_printf_handler): Use
10876 cStringLength.
10877
10878 Wed Aug 25 15:28:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10879
10880 Fixes for memory leaks in parsing property lists.
10881 * Source/propList.h: release new strings asap
10882 * Source/NSString.m: autorelease value returned by parsing plists.
10883 * Source/NSGString.m: ditto.
10884 * Source/NSGCString.m: ditto.
10885
10886 Wed Aug 25 11:37:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10887
10888 * Source/Makefile.postamble: Added rules to build some files without
10889 optimisation, to avoid optimiser breaking them.
10890
10891 1999-08-23 Pedro Ivo Andrade Tavares <ptavares@iname.com>
10892
10893 * Headers/gnustep/base/NSByteOrder.h: changed the NSByteStore struct
10894 to comply to Mac OS X documentation.
10895
10896 1999-08-22 Adam Fedor <fedor@gnu.org>
10897
10898 * Documentation/gnustep-base.tmpl.texi: New with GNUstep specific
10899 documentation.
10900 * Documentation/news.tmpl.texi: update
10901
10902 Fri Aug 20 16:17:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10903
10904 * NSNotificationQueue.m: notifyIdle() fix to send ASAP notifications
10905 even when no idle notifications are waiting.
10906
10907 Thu Aug 19 16:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10908
10909 * Source/NSCalendarDate.m: Various memory-leak fixes.
10910 * Source/NSTimeZone.m: Various memory leak fixes.
10911
10912 Sat Aug 7 17:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10913
10914 * Testing/tcpport-server.m: fixes to work with NSNotificationCenter.
10915
10916 1999-08-10 Adam Fedor <fedor@gnu.org>
10917
10918 * configure.in: Move objc_conditioned_wait test so it gets proper
10919 LIBS setup
10920 * Source/mframe/configure: Regenerate using autoconf 2.13
10921
10922 1999-08-08 Adam Fedor <fedor@gnu.org>
10923
10924 * Source/NSPort.m (-sendBeforeDate:): Change return type to BOOL
10925 as per the spec.
10926 * Source/NSPortMessage.m: Likewise. (patch from
10927 Pedro Ivo Andrade Tavares <ptavares@iname.com>).
10928
10929 * configure.in: Rewrite +load method test.
10930
10931 1999-08-08 Manuel Guesdon <mguesdon@sbuilders.com>
10932
10933 * Source/NSGString.m (stringIncrementCountAndMakeHoleAt and stringDecrementCountAndFillHoleAt):
10934 Added a test for null length/size.
10935 Added NSCAssert on index/size/count/capacity
10936
10937 1999-08-05 Adam Fedor <fedor@gnu.org>
10938
10939 * Source/NSLock.m ([NSConditionLock -lockWhenCondition:beforeDate:]):
10940 Implement (Patch from Patrick Stein <jolly@jinx.de>).
10941 * configure.in: Check for objc_condition_timewait.
10942
10943 * Source/NSString.m (-initWithFormat:arguments:): Don't advance
10944 vsprintf arguments on powerpc.
10945
10946 * Source/mframe/powerpc/linux-gnu (MFRAME_ARG_ENCODING): Fix
10947 alignment of small structures.
10948
10949 * many files: Changed FSF mailing address
10950
10951 Fri Aug 6 13:25:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10952
10953 Portability fixes for compilers that don't leave enough space in an
10954 NXConstantString object for the _hash ivar of NSGCString.
10955 * Source/NSGCString.m: don't use _hash ivar of NXConstantString.
10956 * Source/NSGString.m: don't use _hash ivar of NXConstantString.
10957 * Source/Foundation/NSString.h: Add warning comment about the ivar
10958 layout for NXConstantString.
10959
10960 Thu Aug 5 10:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10961
10962 * Tools/gdomap.c: prb_add() maintain server info in date order.
10963 prb_del() removed, bugfixes to notice when a server dies.
10964
10965 Tue Aug 3 12:36:54 1999 Adam Fedor <fedor@ultra.doc.com>
10966
10967 * Source/NSInvocation.m (-initWithTarget:selector:): Hack for
10968 sparc and ppc machines to align structs on word boundaries.
10969 * mframe/sparc/solaris2.6: New file with fix for putting small
10970 structures at correct offset.
10971
10972 Mon Aug 2 8:10:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10973
10974 * Source/propList.h: parseQuotedString() fix for parsing octal escape
10975 sequences - hope it's right now.
10976
10977 Sun Aug 1 7:25:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10978
10979 * Source/NSBundle.m: ([+localizedStringForKey:value:table:]) Fixed so
10980 that debugging behavior only takes place when NSShowNonLocalizedStrings
10981 default is 'YES'.
10982
10983 1999-07-29 Adam Fedor <fedor@gnu.org>
10984
10985 * config.guess: Updated from latest version + fix for Netwinder.
10986 * config.sub: Likewise.
10987
10988 * Headers/gnustep/base/Foundation.h: Include NSPage.h
10989 * Headers/gnustep/base/NSPortCoder.h: Remove ref to Port.h
10990
10991 Wed Jul 28 15:53:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10992
10993 * Source/NSObject.m: ([+isKindOfClass:]) Fixed to return NO except
10994 when both the argument and the receiver are NSObject - as specified
10995 in the MacOS-X documentation. Thanks to Helge for pointing this out.
10996
10997 Mon Jul 26 21:22:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10998
10999 Fix cStrings to use unsigned char throughout - to avoid problems
11000 with character sets other than ascii. Suggested by Kai Henningsen.
11001 * Headers/Foundation/NSGCString.h: Use unsigned chars.
11002 * Source/NSGCString.m: Use unsigned chars.
11003 * Source/GSeq.h: Use unsigned chars.
11004 * Source/propList.h: Use unsigned chars.
11005
11006 Fri Jul 23 22:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11007
11008 * Source/UnixFileHandle.m: Tidy a little and make sure that
11009 non-blocking mode is reset when a descriptor is closed.
11010 * Source/NSPortNameServer.mL Fixed error in lookup when host name
11011 is specified.
11012
11013 Thu Jul 22 13:55:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11014
11015 * Source/NSTimeZone.m: ([-initWithOffset:]) bugfix by Kai Henningsen
11016 * acconfig.h: Removed old libc method of getting NSProcessInfo stuff.
11017 * aclocal.m4: Removed old libc method of getting NSProcessInfo stuff.
11018 * configure.in: Added new '/proc' method of getting NSProcessInfo stuff
11019 by Nico Pero, with modifications and --enable-fake-main
11020 * Headers/GSConfig.h.in: New NSProcessInfo stuff
11021 * Headers/NSObject.h: Remove fake-main include - use GSConfig.h
11022 * Headers/config.h.in: Remove fake-main include - use GSConfig.h
11023 * Headers/preface.h.in: Remove fake-main include - use GSConfig.h
11024 * Source/GNUmakefile: Remove fake-main.h
11025 * Source/Makefile.postamble: NSProcessInfo.o depends on GSConfig.h
11026 * Source/NSLog.m: Bugfix - set up pointer to log function.
11027 * Source/NSProcessInfo.m: Remove old hack for getting process info
11028 and add new '/proc' method, along with improvements to the fake-main
11029 mechanism.
11030
11031 Tue Jul 20 15:45:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11032
11033 * Source/NSCalendarDate.m: ([initWithString:calendarFormat:locale:])
11034 updated to get default format and locale info.
11035
11036 Tue Jul 20 10:12:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11037
11038 * Source/NSString.m: Update code for standardising paths - now
11039 conforms to MacOS-X spec (more or less).
11040
11041 Thu Jul 15 6:26:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11042
11043 * Headers/Foundation/NSURL.h: Tidied
11044 * Headers/Foundation/NSURLHandle.h: Tidied
11045 * Headers/Foundation/Foundation.h: inlcude NSURL.h and NSURLHandle.h
11046
11047 Wed Jul 14 20:19:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11048
11049 * Source/NSThread.m: Make sure that a thread retains the target object
11050 and argument of the method with which it is detached.
11051 * Testing/diningPhilosophers.m: Fixed bug - was passing non NSObject
11052 argument.
11053
11054 Wed Jul 14 16:58:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11055
11056 * Source/NSAttributedString.m: Fixed ([allocWithZone:]) so that
11057 subclasses should work correctly.
11058
11059 Wed Jul 14 10:32:17 1999 Adam Fedor <fedor@ultra.doc.com>
11060
11061 * Testing/Makefile.preamble: Fix include path the headers.
11062 Other testing fixes
11063
11064 Tue Jul 13 17:08:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11065
11066 * Source/NSUser.m: Implemented NSStandardApplicationPaths(),
11067 NSStandardLibraryPaths(), and GSStandardPathPrefixes().
11068
11069 Mon Jul 12 5:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11070
11071 * Source/NSString.m: Bugfixes in ([stringByStandardizingPath:])
11072 as suggested by Pascal Bourguignon. Also fix to do substitutions
11073 throughout path, also use realpath() for resolving links if possible.
11074 * configure.in: Check for realpath()
11075
11076 Sat Jul 10 13:52:20 1999 Adam Fedor <fedor@ultra.doc.com>
11077
11078 * Makefile.postamble: Create Foundation link in Source directory
11079 * Source/Makefile.postamble: Remove link to Foundation
11080 (work around bug in make?)
11081
11082 Thu Jul 8 22:21:54 1999 Adam Fedor <fedor@ultra.doc.com>
11083
11084 * Changes for new directory layout.
11085 * Makefile.postamble: Link Foundation from gnustep/base
11086 * configure.in: Change location of generated include files.
11087 * Source/mframe/configure.in: Change mframe.h location.
11088 * Tools/Makefile.preamble: Change base header locations.
11089 * Source/Makefirl.postamble: Likewise.
11090
11091 Sat Jul 3 21:05:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11092
11093 * Source/NSCallBacks.m: Changes for garbage collection.
11094 * Source/NSDateFormatter.m: ditto.
11095 * Source/NSDictionary.m: ditto.
11096 * Source/NSDistributedLock.m: ditto.
11097 * Source/NSDistributedNotificationCenter.m: ditto.
11098 * Source/NSGArray.m: ditto.
11099 * Source/NSGCString.m: ditto.
11100 * Source/NSGCountedSet.m: ditto.
11101 * Source/NSGDictionary.m: ditto.
11102 * Source/NSGSet.m: ditto.
11103 * Source/NSHost.m: ditto.
11104 * Source/NSInvocation.m: ditto.
11105 * Source/NSNotification.m: ditto.
11106 * Source/NSProtocolChecker.m: ditto.
11107 * Source/NSScanner.m: ditto.
11108 * Source/NSSerializer.m: ditto.
11109 * Source/NSSet.m: ditto.
11110 * Source/NSData.m: ditto.
11111 * Source/NSPortNameServer.m: ditto.
11112 * Source/NSUndoManager.m: ditto.
11113 * Source/NSURL.m: ditto.
11114
11115 Fri Jul 2 14:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11116
11117 * Source/GSeq.h: Fix boundary error when searching for string in
11118 string.
11119 * Source/NSString.m: Don't allocate contents for string with 0 length.
11120 * Source/NSGString.m: ditto
11121 * Source/NSGCString.m: ditto
11122
11123 Fri Jul 2 8:45:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11124
11125 * Source/NSUnarchiver.m: In designated initialiser, catch exceptions
11126 and deallocate self before re-throwing in order to prevent memory
11127 leak.
11128
11129 Thu Jul 1 14:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11130
11131 Patch by Kai Henningsen to improve debug slightly.
11132 * Source/NSObject.m: improved exception messages.
11133
11134 Wed Jun 30 22:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11135
11136 * Source/NSArray.m: Tidied for garbage collection.
11137 * Source/PropList.h: Tidied for garbage collection.
11138 * Source/include/Unicode.h: Added missing prototyp.
11139
11140 Tue Jun 29 17:50:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11141
11142 Patches by Hai Henningsen
11143 * Source/NSString.m: Fix for stringByAppendingPathExtension
11144 * Source/Unicode.m: Several bugfixes in AND logic.
11145
11146 Mon Jun 28 11:48:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11147
11148 * Source/include/NSConnection.h: Fixed spelling error reported by
11149 Olivier.Saut@dptmaths.ens-cachan.fr
11150 * Source/NSConnection.m: ditto
11151
11152 Sat Jun 26 7:40:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11153
11154 * Source/NSRunLoop.m: Fix error in last mod.
11155 * Source/NSTask.m: Allow for bsd setpgrp()
11156 * Souyrce/configure.in: Allow for bsd setpgrp()
11157
11158 Fri Jun 25 11:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11159
11160 * Source/NSRunLoop.m: Use autorelease pools in ([limitDateForMode:])
11161 and ([acceptInputForMode:beforeDate:])
11162
11163 Thu Jun 24 20:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11164
11165 * Source/include/GSIMap.h: Tweaks to avoid compiler warnings.
11166 * Source/include/NSNotification.h: ditto.
11167 * Source/propList.h: ditto.
11168 * Source/Collection.m: ditto.
11169 * Source/TcpPort.m: ditto.
11170 * Source/UnixFileHandle.m: ditto.
11171 * Source/NSArchiver.m: ditto.
11172 * Source/NSArchiver.m: ditto.
11173 * Source/NSCalendarDate.m: ditto.
11174 * Source/NSCoder.m: ditto.
11175 * Source/NSConcreteValue.m: ditto.
11176 * Source/NSConnection.m: ditto.
11177 * Source/NSData.m: ditto.
11178 * Source/NSDate.m: ditto.
11179 * Source/NSDictionary.m: ditto.
11180 * Source/NSDistributedNotificationCenter.m: ditto.
11181 * Source/NSGAttributedString.m: ditto.
11182 * Source/NSGCountedSet.m: ditto.
11183 * Source/NSGCString.m: ditto.
11184 * Source/NSGDictionary.m: ditto.
11185 * Source/NSHost.m: ditto.
11186 * Source/NSLock.m: ditto.
11187 * Source/NSNotificationCenter.m: ditto.
11188 * Source/NSNotificationQueue.m: ditto.
11189 * Source/NSNumber.m: ditto.
11190 * Source/NSObjCRuntime.m: ditto.
11191 * Source/NSObject.m: ditto.
11192 * Source/NSPage.m: ditto.
11193 * Source/NSPortNameServer.m: ditto.
11194 * Source/NSScanner.m: ditto.
11195 * Source/NSSerializer.m: ditto.
11196 * Source/NSString.m: ditto.
11197 * Source/NSTask.m: ditto.
11198 * Source/NSTimeZone.m: ditto.
11199 * Source/NSThread.m: ditto.
11200 * Source/NSUnarchiver.m: ditto.
11201 * Source/NSURL.m: ditto.
11202 * Source/NSURLHandle.m: ditto.
11203 * Source/NSUserDefaults.m: ditto.
11204 * Source/NSZone.m: ditto.
11205 * Tools/gdomap.c: ditto.
11206 * Tools/gdnc.m: ditto.
11207 * Tools/plparse.m: ditto.
11208 * Tools/sfparse.m: ditto.
11209 * Tools/pldes.m: ditto.
11210 * Tools/plser.m: ditto.
11211
11212 1999-06-24 Adam Fedor <fedor@gnu.org>
11213
11214 * Source/include/GSIArray.h (GSIArrayRemoveLastItem): New function.
11215 (GSIArrayLastItem): Likewise.
11216 (GSIArrayCopyWithZone): Likewise.
11217
11218 Tue Jun 22 16:15:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11219
11220 * Source/NSThread.m: Various changes to tidy up notification handling
11221 to avoid warning messages and to ensure that observers get notified
11222 before the application becomes multi-threaded.
11223
11224 Mon Jun 21 20:55:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11225
11226 * Source/NSFileManager.m: Fixed error recursing into directory.
11227 * Source/include/NSFileManager.h: tidied.
11228
11229 Mon Jun 21 9:45:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11230
11231 Mostly updates of range checking code and change of FastArray and
11232 FastMap to use the prefix GSI (GnuStepInline) rather than Fast -
11233 less likely to conflict with other names.
11234 * Source/include/NSRange.h: Added GS_RANGE_CHECK() macro for consistent
11235 range checking.
11236 * Source/include/FastArray.x: Renamed to GSIArray.h
11237 * Source/include/FastMap.x: Renamed to GSIMap.h
11238 * Source/include/NSArchiver.h: Changed Fast to GSI
11239 * Source/NSString.m: Use GS_RANGE_CHECK()
11240 * Source/NSGString.m: ditto
11241 * Source/NSGCString.m: ditto
11242 * Source/NSAttributedString.m: ditto
11243 * Source/NSGAttributedString.m: ditto
11244 * Source/NSData.m: ditto
11245 * Source/NSArray.m: ditto
11246 * Source/NSGArray.m: ditto
11247 * Source/GNUmakefile: Renamed Fast... to GSI...
11248 * Source/Makefile.postamble: Renamed Fast... to GSI...
11249 * Source/NSArchiver.m: ditto
11250 * Source/NSGCountedSet.m: ditto
11251 * Source/NSGDictionary.m: ditto
11252 * Source/NSGSet.m: ditto
11253 * Source/NSNotificationCenter.m: ditto
11254 * Source/NSRunLoop.m: ditto
11255 * Source/NSSerializer.m: ditto
11256 * Source/NSUnarchiver.m: ditto
11257
11258 Fri Jun 18 8:36:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11259
11260 * Source/NSFileManager.m: Fix lookup of fileGroupOwnerAccountName
11261 Fix test for symbolic links, add diagnostic info, fix copy to produce
11262 files owned by current user.
11263 * Source/include/NSFileManager.h: tidyup
11264 * Source/include/NSObject.h: fixup for ASSIGN macro - should work for
11265 all objects.
11266
11267 Thu Jun 17 14:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11268
11269 * Source/include/NSNotification.h: Update to MacOS-X specs.
11270 * Source/NSNotification.m: Tidied
11271 * Source/NSNotificationCenter.m: Complete rewrite for performance
11272 (order of magnitude improvement) and GC.
11273
11274 Thu Jun 17 12:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11275
11276 * Tools/gdnc.m: Only use OpenStep NSNotificationCenter methods.
11277 * Source/NSConnection.m: ditto
11278 * Source/NSDistributedNotificationCenter.m: ditto
11279 * Source/NSPort.m: ditto
11280 * Source/NSPortNameServer.m: ditto
11281 * Source/NSSerializer.m: ditto
11282 * Source/Port.m: ditto
11283 * Source/TcpPort.m: ditto
11284
11285 Mon Jun 14 10:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11286
11287 * Source/NSConcreteValue.m: Update for MacOS-X and for GC
11288 * Source/NSCTemplateValue.m: Update for MacOS-X and for GC
11289 * Source/NSNumber.m: Update for MacOS-X and for GC, optimised
11290 * Source/NSConcreteNumber.m: Update for MacOS-X and for GCC, optimised
11291 * Source/NSValue.m: Update for MacOS-X and for GC
11292 * Source/include/NSValue.h: Update for MacOS-X and for GC
11293
11294 Sat Jun 12 15:50:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11295
11296 * Source/NSConcreteValue.m: Implemented [hash and isEqualToValue
11297 * Source/include/NSConcreteValue.h: Change NSString ivar to char* for
11298 performance reasons.
11299 * Source/NSCTemplateValue.m: Implemented hash and optimised.
11300
11301 Thu Jun 4 13:55:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11302
11303 * Source/NSCharacterSet.m: prepare for GC
11304 * Source/NSString.m: prepare for GC
11305 * Source/NSTimer.m: tidied and added timeInterval method
11306 * Source/include/NSTimer.h: tidied and added timeInterval method
11307 * Source/NSArchiver.m: Fixed memory leak in ([-init])
11308
11309 Tue Jun 2 10:50:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11310
11311 * Source/NSSerializer.m: Added uniquing for deserialized strings.
11312 * Source/include/NSSerialization.h: likewise.
11313
11314 Tue Jun 2 5:45:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11315
11316 * Source/TcpPort.m: Fixed to compile cleanly under cygwin.
11317 * Source/UnixFileHandle.m: ditto
11318 * Source/NSHost.m: ditto
11319 * Source/NSProcessInfo.m: ditto
11320 * Source/NSRunLoop.m: ditto
11321
11322 Fri May 28 14:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11323
11324 * Source/NSString.m: Fixed error on growing mutable strings - could
11325 cause unreasonable growth when generating property lists.
11326
11327 Thu May 27 11:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11328
11329 * Source/NSArchiver.m: Fix memory leak reported by
11330 frederic.chauvin@lemel.fr and ready for garbage collection.
11331 * Source/NSUnarchiver.m: Ready for garbage collection.
11332 * Source/NSTimeZone.m: Fix memory leak reported by
11333 frederic.chauvin@lemel.fr. Ready for garbage collection.
11334 * Source/NSCalendarDate.m: Fix bug in decrementing date past start
11335 of month. Ready for garbage collection.
11336
11337 Wed May 26 18:35:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11338
11339 * Source/include/NSSerialization.h: include NSObject.h
11340 * Source/NSSerializer.m: Deserialization optimisation (15%)
11341 * Source/NSArray.m: write descriptions to cstrings.
11342 * Source/NSDictionary.m: write descriptions to cstrings.
11343 * Source/NSGCString.m: description optimisation (15%).
11344
11345 Wed May 26 12:25:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11346
11347 * Source/NSUnarchiver.m: Fixed libobjects compatibility methods to
11348 use decodeObject to get the name from the archive.
11349
11350 Sun May 23 20:38:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11351
11352 * Source/TcpPort.m: Fixed retain/release loop causing ports occasionally
11353 to be kept in existence when they should disappear.
11354
11355 Fri May 21 19:35:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11356
11357 * Source/include/NSObject.h: Added NSExtraRefCount()
11358 * Source/NSObject.m: Added NSExtraRefCount()
11359
11360 Fri May 21 16:50:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11361
11362 * Source/include/NSThread.h: Update notification names to MacOS-X
11363 with defines for OpenStep compatibility.
11364 * Source/NSThread.m: Update notification names to MacOS-X
11365 * Source/externs.m: Update thread notification names to MacOS-X
11366
11367 Fri May 21 16:40:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11368
11369 * Source/include/NSZone.h: Added NSZoneMallocAtomic() for Helge
11370 and in anticipation of adding garbage collection support some day.
11371
11372 Fri May 21 9:56:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11373
11374 * Source/include/NSObject.h: Bracket macro definitions with #ifndef
11375 in case they are already defined.
11376
11377 Thu May 20 20:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11378
11379 * Source/NSUserDefaults.m: Don't load defaults unless we need to.
11380 * Source/include/NSUserDefaults.h: Keep modification timestamp.
11381
11382 Thu May 20 10:50:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11383
11384 * Source/GSeq.h: Add support for comparison and search.
11385 * Source/NSString.m: Use comparison and search functions from GSeq.h
11386 * Source/NSGString.m: Use comparison and search functions from GSeq.h
11387 * Source/NSGCString.m: Use comparison and search functions from GSeq.h
11388 * Source/Makefile.postamble: Make all string files depend on GSeq.h
11389 * Source/NSRunLoop.m: Don't retain receiver of runloop watcher.
11390
11391 Wed May 19 21:25:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11392
11393 * Source/GSeq.h: New file to replace NSGSequence stuff
11394 * Source/NSString.m: Rewrite all methods using sequences.
11395 * Source/NSGString.m: Remove reference to NSGSequence.
11396 * Source/include/NSString.h: Remove unused method (_normalize).
11397 * Source/NSGSequence.m: Removed
11398 * Source/include/NSGSequence.h: Removed
11399
11400 Tue May 18 9:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11401
11402 * Source/NSRunLoop.m: ([-acceptInputForMode:beforeDate:]) check that
11403 run loop watcher objects exist in map before trying to use them.
11404
11405 Fri May 14 20:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11406
11407 * Tools/pldes.m: new tool to deserialise serialised property lists.
11408 * Tools/plser.m: new tool to serialise text property lists.
11409 * Tools/GNUmakefile: add pldes and plser
11410
11411 Mon May 11 15:00:00 1999 Manuel Guesdon <mguesdon@sbuilders.com>
11412
11413 * Source/NSArray.m: getObjects: (id*)aBuffer range: (NSRange)aRange
11414 corrected bug in for: replace c by e
11415
11416 Tue May 11 10:40:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11417
11418 * Source/include/preface.h: Attempt to standardise win32 conditional
11419 compilation by using __WIN32__ throughout.
11420 * NSDate.m: Standardize win32 stuff using __WIN32__
11421 Open files with "rb" or "wb" only for winw3.
11422 * NSFileManager.m: Standardize win32 stuff using __WIN32__
11423 * NSHost.m: Standardize win32 stuff using __WIN32__
11424 * NSLog.m: Standardize win32 stuff using __WIN32__
11425 * NSProcessInfo.m: Standardize win32 stuff using __WIN32__
11426 * NSString.m: Standardize win32 stuff using __WIN32__
11427 * NSTask.m: Standardize win32 stuff using __WIN32__
11428 * NSThread.m: Standardize win32 stuff using __WIN32__
11429 * NSUser.m: Standardize win32 stuff using __WIN32__
11430 * NSUserDefaults.m: Standardize win32 stuff using __WIN32__
11431 * Time.m: Standardize win32 stuff using __WIN32__
11432 * UnixFileHandle.m: Standardize win32 stuff using __WIN32__
11433 * NSData.m: Standardize win32 stuff using __WIN32__
11434 * NSTimeZone.m: Standardize win32 stuff using __WIN32__
11435 Open files with "rb" or "wb" only for winw3.
11436
11437 Mon May 10 8:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11438
11439 * Source/NSString.m: ([-rangeOfComposedCharacterSequenceAtIndex:])
11440 optimised.
11441 * Source/NSGString.m: ([-rangeOfComposedCharacterSequenceAtIndex:])
11442 implemented.
11443 * Source/NSGCString.m: ([-rangeOfComposedCharacterSequenceAtIndex:])
11444 * Source/NSGSequence.m: various parts optimised.
11445 * Source/include/NSThread.h: add gcontext ivar.
11446
11447 Fri May 7 15:12:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11448
11449 * Source/NSBundle.m: Modified ([-release]) to avoid unnecessary work
11450 and to refrain from caching bundles unless they have loaded code
11451 (or are the main bundle or the gnustep bundle).
11452
11453 Thu May 6 21:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11454
11455 * Source/NSUnarchiver.m: Don't retain/release unless necessary.
11456 * Source/NSUserDefaults.m: ditto
11457 * Source/NSNotification.m: ditto
11458 * Source/NSFileManager.m: ditto
11459 * Source/NSBundle.m: ditto
11460 * Source/NSRunLoop.m: ditto
11461 * Source/NSAutoreleasePool.m: Bugfix in dealloc - would leave count
11462 of retained objects set high - caused deallocs of nil objects.
11463
11464 Thu May 6 17:06:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11465
11466 * Source/NSString.m: Minor optimisations - use ([-allocWithZone:])
11467 * Source/NSGCString.m: ditto
11468 * Source/NSGDictionary.m: ditto
11469 * Source/NSArray.m: ditto
11470 * Source/NSDictionary.m: ditto
11471 * Source/NSSet.m: ditto
11472 * Source/NSGCountedSet.m: ditto
11473 * Source/NSData.m: ditto
11474
11475 Thu May 6 13:40:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11476
11477 * Source/propList.h: new file
11478 * Source/NSString.m: include propList.h for property-list parsing.
11479 * Source/NSGString.m: ditto
11480 * Source/NSGCString.m: ditto
11481 * Source/NSTask.m: Minor fixes for win32
11482 * Source/NSLog.m: ditto
11483 * Source/NSProcessInfo.m: ditto
11484 * Source/NSFileManager.m: ditto
11485
11486 1999-04-28 Adam Fedor <fedor@gnu.org>
11487
11488 * Source/NSRunLoop.m (aSort): Redefine to take FastArrayItem as
11489 arguments.
11490 * Source/include/FastArray.x (FastArrayInsertionPosition):
11491 Fully specify sorter function for better type checking.
11492 (FastArrayCheckSort): Likewise.
11493
11494 1999-04-27 Adam Fedor <fedor@gnu.org>
11495
11496 * configure.in: Check for sys/mount.h for NSFileManager functions
11497 on FreeBSD
11498
11499 Fri Apr 23 23:35:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11500
11501 * Source/NSCalendarDate.m: Applied bugfixes by Jeremy Bettis
11502 <jeremy@hksys.com> to better cope with month ends.
11503
11504 Fri Apr 23 15:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11505
11506 * Source/NSBundle.m: Improved localisation - avoid possibility of
11507 recursion problems if an error occurs reading localisation info.
11508 * Source/NSDate.m: Added classes for distant past and distant future.
11509
11510 1999-04-22 Adam Fedor <fedor@gnu.org>
11511
11512 * configure.in: Don't abort if nested functions don't work. Not
11513 sure we even have any.
11514
11515 * Source/NSBundle.m (-localizedStringForKey:value:table:): Log a
11516 message if no localized key found (per OpenStep specs).
11517 * Source/include/NSBundle.h
11518 (NSLocalizedStringFromTableInFramework): New GNUstep specific
11519 macro.
11520
11521 * NSCharacterSets/GNUmakefile: Install in Resources rather than
11522 Resources/gnustep.
11523 * NSTimeZones/GNUmakefile: Likewise.
11524 * Source/NSCharacterSet.m: Look in new location.
11525 * Source/NSTimeZone.m: Likewise.
11526
11527 Thu Apr 22 21:50:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11528
11529 * Source/NSBundle.m: Improved localisation - added stuff for internal
11530 use by the GNUstep system.
11531 * Source/NSBundle.h: ditto.
11532 * Source/FastArray.x: Removed assertions for performance.
11533
11534 Thu Apr 22 11:35:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11535
11536 * Source/NSRunLoop.m: Optimisation and tidyup.
11537 * Source/NSTimer.m: Minor bugfixes.
11538 * Source/include/FastArray.x: Bugfix for array insertion.
11539 * Source/include/NSRunLoop.h: Remove limit ivar.
11540 * Source/include/NSTimer.h: Use NSDate again.
11541
11542 Wed Apr 21 20:25:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11543
11544 * Source/NSAttributedString.m: Tidied.
11545 * Source/Source/NSAutoreleasePool.m: Thread exit code added
11546 * Source/NSCalendarDate.m: Tidied
11547 * Source/NSConnection.m: ditto
11548 * Source/NSException.m: Tidied and added description
11549 * Source/NSRunLoop.m: Optimisation, bugfixes, and removal of cruft.
11550 * Source/NSThread.m: Clean up autorelease pools on exit.
11551 * Source/NSTimer.m: Optimise use in runloop.
11552 * Source/include/FastArray.x: Bugfix for sorted array.
11553 * Source/include/NSAutoreleasePool.h: Mod for threads.
11554 * Source/include/NSObject.h: More retain/release macros.
11555 * Source/include/NSRunLoop.h: Optimise limit date.
11556 * Source/include/NSTimer.h: Optimise use with run loop.
11557
11558 Tue Apr 20 16:50:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11559
11560 * Source/Makefile.postamble: NSRunLoop.m uses FastArray.x
11561 * Source/NSConnection.m: Tiny performance optimisation.
11562 * Source/NSDate.m: Minor fixes to class cluster.
11563 * Source/NSGDictionary.m: fixed typo.
11564 * Source/NSNotificationQueue.m: Optimised runloop interaction.
11565 * Source/NSRunLoop.m: Optimisaed notification queue interaction.
11566 * Source/NSTimer.m: Optimisation for run loop.
11567 * Source/NSUnarchiver.m: Fixed typo.
11568 * Source/include/FastArray.x: Support sorted insertion.
11569 * Source/include/NSDate.h: Tidied.
11570 * Source/include/NSNotificationQueue.h: Change runloop interface.
11571 * Source/include/NSTimer.h: Change runloop interface.
11572
11573 Mon Apr 19 14:40:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11574
11575 * Source/NSThread.m: Fast thread access (GSCurrentThread()) etc.
11576 * Source/NSAssertionHandler.m: Use fast thread access.
11577 * Source/NSConnection.m: Use fast thread access.
11578 * Source/NSException.m: Use fast thread access.
11579 * Source/NSNotificationQueue.m: Use fast thread access.
11580 * Source/NSRunLoop.m: Use fast thread access plus other optimisations.
11581 * Source/NSAutoreleasePool.m: Speed up thread access.
11582 * Source/NSDate.m: Rewrite as calss cluster - MacOS-X compatibility.
11583 * Source/NSCalendarDate.m: Modifications to work with NSDate.
11584 * Source/NSGDictionary.m: Minor tidyup.
11585 * Source/NSGSequence.m: Minor optimisation - really needs a rewrite.
11586 * Source/NSDebug.m: Added function to report all allocations.
11587
11588 Fri Apr 16 20:16:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11589
11590 * Source/include/NSGeometry.h: Don't pollute macro name space with
11591 MAX and MIN.
11592 * Source/include/NSRange.h: ditto
11593
11594 Thu Apr 15 10:50:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11595
11596 * Source/include/NSHost.h: Use #ifdefs to prevent multiple inclusion.
11597
11598 Thu Apr 15 9:47:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11599
11600 * Source/UnixFileHandle.m: ([-fileDescriptor]) return a valid file
11601 descriptor (for /dev/null) for the null device.
11602 * Source/NSTask.m: ([-launch]) Add code to reset signals in subprocess
11603 and to close all file descriptors (except stdin, stdout and stderr).
11604
11605 Wed Apr 14 14:32:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11606
11607 * Source/NSPortNameServer.m: Don't suspend thread while waiting for
11608 gdomap to start up.
11609 * Source/NSDistributedNotificationCenter.m: Don't suspend thread while
11610 waiting for gdnc to start up.
11611
11612 Wed Apr 14 10:50:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11613
11614 * Source/NSBundle: ([+allBundles]) implemented (ignoring the frameworks
11615 issue). Extra internal GNUstep specific methods provided -
11616 ([+_gnustep_target_cpu]), ([+_gnustep_target_dir])
11617 ([+_gnustep_target_os]), ([+_library_combo])
11618 So that we can easily determine wrapper path information.
11619 * Source/NSTaks: Preparation for garbage collecting.
11620 Major work on launching - now makes intelligent use of launch path.
11621 Tries various GNUstep directories - if unable to find executable
11622 that way, resorts to using the unix PATH environment variable.
11623 * Source/NSPortNameServer.m: Removed a couple of unix specific calls.
11624 * Source/NSDistributedNotificationCenter.m: Removed a couple of unix
11625 specific calls.
11626 * Tools/Makefile.postamble: Install gdnc in non-library specific dir.
11627
11628 Tue Apr 13 22:05:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11629
11630 * Source/NSBundle.m: Updated to use Info.plist if Info-gnustep.plist
11631 is not available. Also updated to look in alternative directories
11632 for the object file to load... If not in the machine/os/lib-combo
11633 subdirectory, tries the machine/os directory and then the top-level
11634 directory. Also updated to cope with the case where the NSExecutable
11635 entry of the Info.plist specifies a path rather than a simple file name.
11636 * Source/NSUser.m: Implemented NSFullUserName()
11637
11638 Mon Apr 12 13:15:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11639
11640 * Source/NSCountedSet.m: Make copying behavior be same as OPENSTEP
11641 * Source/NSSet.m: Fix memory scribbling bug in ([-initWithSet:])
11642 * Source/NSGSet.m: Tidied types in fast map.
11643 * Source/NSGArray.m: Minor optimisationin copy etc.
11644 * Source/NSGDictionary.m: Tidied types in fast map.
11645 * Source/NSSerializer.m: Tidied types in fast map and array.
11646 * Source/NSArchiver.m: Tidied types in fast map and array.
11647 * Source/NSUnarchiver.m: Tidied types in fast map and array.
11648 * Source/FastArray.x: Tidied, fixed init bug, movied to include
11649 * Source/FastMap.x: Tidied, moved to include
11650 * Source/NSZone.m: Dummy zone for use with GC.
11651 * Source/include/NSZone.h: Dummy zone for use with GC.
11652 * Source/include/GSUnion.h: Unions for use with Fast...
11653 * Source/include/FastArray.x: New from Source
11654 * Source/include/FastMap.x: New from Source
11655 * Source/GNUmakefile: Added FastArray.x, FastMap.x, GSUnion.h
11656 * Source/Makefile.postamble: Added FastArray.x FastMap.x GSUnion.h.
11657 * NSCharacterSets/GNUmakefile: List all new character set names.
11658
11659 Fri Apr 9 22:04:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11660
11661 * Source/NSGAttributedString.m: Final optimisation - remove almost all
11662 objc runtime overhead. Combined changes should result in a factor of
11663 2 to 10 speedup (depending on operation) over original code.
11664
11665 Fri Apr 9 16:22:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11666
11667 * Source/NSAttributedString.m: Implement tracking of changes to
11668 string returned by [-mutableString] method. Simplified initialisation.
11669 * Source/include/NSAttributedString.h: Updated.
11670 * Source/NSGAttributedString.m: Rewrite to get rid of all known
11671 problems and to boost performance hugely.
11672 * Source/include/NSGAttributedString.h: Updated.
11673 * Source/NSString.m: ([-_baseCount]) optimised.
11674 * Source/NSGString.m: ([-_baseCount]) optimised.
11675
11676 1999-04-09 Adam Fedor <fedor@gnu.org>
11677
11678 * NSCharacterSets: Updated sets to Version 2.1.8
11679 * Souce/NSCharacterSet.m: Updated to reflect new names of character
11680 sets.
11681
11682 1999-04-08 Adam Fedor <fedor@gnu.org>
11683
11684 * configure.in: Remove test for libobjc.a
11685
11686 Thu Apr 8 12:40:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11687
11688 * Source/NSArray.m: Make copying behavior consistent with OPENSTEP.
11689 * Source/NSDictionary.m: Make copying behavior consistent with OPENSTEP.
11690 * Source/NSSet.m: Make copying behavior consistent with OPENSTEP.
11691
11692 Wed Apr 7 12:22:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11693
11694 * Source/NSCharacterSet.m: Use punctuationCharSet.dat
11695
11696 1999-04-06 Adam Fedor <fedor@gnu.org>
11697
11698 * NSCharacterSets/punctuationCharSet.dat: New file
11699
11700 Mon 5 7:33:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11701
11702 * Source/NSRange.m: Moved most functions into header file, while
11703 including header to generate linkable versions.
11704 * Source/include/NSGeometry.h: Define MIN and MAX if required.
11705 * Source/include/NSRange.h: Define MIN and MAX if required and make
11706 most range functions a efficiency.
11707
11708 Thu Mar 11 10:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11709
11710 * Source/NSDebug.m: Added two new functions for logging messags.
11711 * Source/include/NSDebug.h: Added four new logging macros.
11712 * Source/NSBundle.m: Updated to use new NSDebugMLLog() macro.
11713
11714 Wed Mar 10 09:54:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11715
11716 * Source/FastMap.x: FastMapNodeForKey() - special case for empty map
11717 return 0 immediately. Fast for empty maps, marginally slower othrwise.
11718 * Source/NSProcessInfo.m: Removed [-debugArray], Added [-debugSet],
11719 Added GSDebugSet() function for rapid debug level testing.
11720 * Source/include/NSProcessInfo.h: Remove [-debugArray], Add [-debugSet]
11721 * Source/include/NSDebug.h: Rewrite NSDebugLog() and NSDebugLLog() to
11722 be much more efficient - now minimal performance impact.
11723
11724 1999-03-09 Adam Fedor <fedor@gnu.org>
11725
11726 * Source/include/NSObjCRuntime.h: Define some OpenStep cpp vars.
11727 * Source/include/NSException.h (NS_VALUERETURN): Fix.
11728
11729 Tue Mar 9 5:16:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11730
11731 * configure.in: Added tests for syslog
11732 * Source/include/config.h.in: Added definitions for syslog
11733 * Source/NSLog.m: Added locking for multi-thread serialisation and
11734 added syslog support when write to stderr fails.
11735
11736 1999-03-08 Adam Fedor <fedor@gnu.org>
11737
11738 * Merged dawn branch to main.
11739
11740 Wed Mar 3 5:32:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11741
11742 * Source/NSUser.m: Fixed a typo reported by twhite@rogers.wave.ca
11743 * Source/TcpPort.m: Fixed typos.
11744
11745 Tue Mar 2 15:07:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11746
11747 * Source/TcpPort.m: If the host has no IP address, try finding the
11748 address of 'localhost' and, if that fails, use 127.0.0.1
11749
11750 Tue Mar 2 11:25:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11751
11752 * NSTimeZones/Makefile.postamble: Updated to preserve old localtime
11753 * NSTimeZones.tar: Updated to use the latest available zone info.
11754
11755 Tue Mar 2 08:04:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11756
11757 * Merge in 'dawn' CVS branch.
11758
11759 Tue Feb 23 12:03:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11760
11761 * Source/include/NSObject.h: Fixed bugin in ASSIGNCOPY() macro and added
11762 CREATE_AUTORELEASE_POOL() macro for libFoundation compatibility.
11763 * Source/include/NSRunLoop.h: Added GCFinalization protocol.
11764 * Source/NSRunLoop.m: Tidied a little, added GC macro use, fixed minor
11765 bug, and added slight performance improvement.
11766
11767 Mon Feb 22 5:40:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11768
11769 Merged in alterations from main cvs branch made to wrong place 'cos
11770 dawn branch was already created :-(
11771 * Source/NSData.m: preserve file attributes when writing atomically
11772 * Source/NSUser.m: Bugfixes for consistent naming of current user.
11773 * Source/NSUserDefaults.m: Bugfixes so that running apps as root
11774 doesn't mess up defaults database.
11775 * Source/NSFileManager.m: Create files with correct ownership when
11776 process is setuid to root - and provide facility for NSData to do same.
11777 * Source/NSArray.m: Merged enumerator bugfix - missing @end
11778
11779 Sun Feb 21 19:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11780
11781 * Source/NSFileManager.m: Attempt to fix problems with directory
11782 enumeration.
11783
11784 Sat Feb 20 20:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11785
11786 * Source/NSUser.m: Added GSSetUserName() and rewrote NSUserName() to
11787 work consistently - use the LOGNAME environment variable as first
11788 choice of username.
11789 * Source/include/NSPathUtilities.h: Added GSSetUserName()
11790 * Source/NSUserDefaults.m: Added GNUstep specific method -
11791 ([+resetUserDefaults]) to reset the standard defaults in the event of
11792 a change os username. Also changed to create defaults withe correct
11793 ownership, and to create a defaults file containing a valid (empty)
11794 dictionary.
11795 * Source/include/NSUserDefaults.h: Added ([+resetUserDefaults])
11796 * Source/NSData.m: Try to preserve file ownership etc with
11797 ([-writeToFile:atomically:])
11798 * Source/NSFileManager.m: ([-changeFileAttributes:atPath:]) added
11799 code to handle owner and group names if owner and group IDs are not
11800 supplied. Also added code to ensure that programs running setuid to
11801 root create new files and directories with the ownership of their
11802 actual login user by default.
11803
11804 1999-02-19 Michael Hanni <mhanni@sprintmail.com
11805
11806 * Source/NSArray.m: Added @end for NSArrayEnumeratorReverse.
11807
11808 1999-03-08 Adam Fedor <fedor@gnu.org>
11809
11810 * Version 0.5.5 Released.
11811
11812 Tue Mar 2 17:04:51 1999 Adam Fedor <fedor@ultra.doc.com>
11813
11814 * Source/TcpPort.m ([GSTcpPort
11815 +portWithNumber:onHost:beforeDate:]): Fix typo in variable.
11816 Change include <sys/errno> to <errno> (Needed on solaris).
11817
11818 1999-03-01 Adam Fedor <fedor@gnu.org>
11819
11820 * Update documentation.
11821
11822 1999-02-28 Adam Fedor <fedor@gnu.org>
11823
11824 * Source/Makefile.postamble: Don't install services if not
11825 root. (patches submitted by Christopher Seawood
11826 <cls@seawood.org>).
11827
11828 Tue Feb 23 12:03:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11829
11830 * Source/include/NSObject.h: Fixed bugin in ASSIGNCOPY() macro and added
11831 CREATE_AUTORELEASE_POOL() macro for libFoundation compatibility.
11832 * Source/include/NSRunLoop.h: Added GCFinalization protocol.
11833 * Source/NSRunLoop.m: Tidied a little, added GC macro use, fixed minor
11834 bug, and added slight performance improvement.
11835
11836 1999-02-22 Adam Fedor <fedor@gnu.org>
11837
11838 * Version: update version.
11839 * Source/NSProcessInfo.m: Change missing main message.
11840
11841 Mon Feb 22 5:40:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11842
11843 Merged in alterations from main cvs branch made to wrong place 'cos
11844 dawn branch was already created :-(
11845 * Source/NSData.m: preserve file attributes when writing atomically
11846 * Source/NSUser.m: Bugfixes for consistent naming of current user.
11847 * Source/NSUserDefaults.m: Bugfixes so that running apps as root
11848 doesn't mess up defaults database.
11849 * Source/NSFileManager.m: Create files with correct ownership when
11850 process is setuid to root - and provide facility for NSData to do same.
11851 * Source/NSArray.m: Merged enumerator bugfix - missing @end
11852
11853 1999-02-19 Adam Fedor <fedor@gnu.org>
11854
11855 * Source/NSHost.m ([NSHost +currentHost]): Check for host not found.
11856 ([NSHost +hostWithName:]): Check for nil arg.
11857 ([NSHost +hostWithAddress:]): Likewise.
11858
11859 * Testing/release.m: Make array mutable.
11860 * Testing/fref.m: Switch to NSArchiver/NSUnarchiver
11861
11862 Wed Feb 17 8:52:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11863
11864 * Source/NSProcessInfo.m: Include process name in arguments list as
11865 in the OPENSTEP implementation - suggested by dirk@object-factory.com
11866 * Source/NSUserDefaults.m: Adjust for change to NSProcessInfo
11867 * Source/Tools/defaults.m: ditto
11868 * Source/Tools/dread.m: ditto.
11869 * Source/Tools/dwrite.m: ditto.
11870 * Source/Tools/dremove.m: ditto.
11871 * Source/Tools/plparse.m: ditto.
11872 * Source/Tools/sfparse.m: ditto.
11873
11874 Tue Feb 16 15:35:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11875
11876 * Source/NSArray.m: ([-removeObjectsFromIndices:]) rewrite to
11877 work according to spec.
11878 * Testing/nsarray.m: Fixed check on joining strings.
11879
11880 Mon Feb 15 06:14:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11881
11882 * Source/include/NSDebug.h: Declare strerror() if not known to system
11883 * Source/NSTask.m: Include NSDebug.h and don't declare errno.
11884
11885 Thu Feb 12 00:57:00 1999 Manuel Guesdon <mguesdon@sbuilders.com>
11886
11887 * Source/include/NSString.h: declaration of categories:
11888 NSString (GSString)
11889 NSString(GSTrimming)
11890 NSMutableString (GSString)
11891 NSMutableString (GSTrimming)
11892 * Source/NSString.m: implementation of these categories
11893 * Source/include/NSObject.h: added ASSIGNCOPY
11894 Same as ASSIGN but copy the value
11895 * Source/include/NSURL.h: New class
11896 * Source/include/NSURLHandle.h: New class
11897 * Source/NSURL.m: New class [see the note in the file]
11898 * Source/NSURLHandle.m: New class [see the note in the file]
11899 * GNUMakefile: added NSURL.m and NSURLHandle.m
11900
11901 Fri Feb 12 16:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11902
11903 * Source/NSGeometry.m: Removed most functions - into header
11904 * Source/include/NSGeometry.h: Made most functions inline for speed.
11905 * Makefile.postamble: NSGeometry.o depends on NSGeometry.h
11906
11907 Thu Feb 11 19:25:00 1999 Manuel Guesdon <mguesdon@sbuilders.com>
11908
11909 * Source/NSObjCRuntime.m: Fixed error in GSGetInstanceVariable name:
11910 GSGetIinstanceVariable transformed to GSGetInstanceVariable
11911
11912 Thu Feb 11 9:51:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11913
11914 * Source/NSString.m: Fixed error in property-list parsing - was not
11915 taking into account octal and hexadecimal escape sequences.
11916
11917 Thu Feb 11 9:51:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11918
11919 * Source/NSUserDefaults.m: ([-dealloc]) invalidate timer so we can't
11920 get sent a timeout message after d4eallocation - fixes occasional
11921 crashes when the defaults database has been unreadable.
11922
11923 Thu Feb 11 7:27:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11924
11925 * Source/NSConnection.m: Tidy up with bugfixes and better distributed
11926 retain/release for triangle connections.
11927 * Source/NSDistantObject.m: ditto
11928 * Source/TcpPort.m: ditto
11929 * Source/include/DistributedObjects.h: ditto
11930 * Source/include/NSConnection.h: ditto
11931 * Source/include/NSDistantObject.h: ditto
11932
11933 1999-02-09 Adam Fedor <fedor@gnu.org>
11934
11935 * Source/HashTable.m: Moved to extensions.
11936 * Source/List.m, Source/NXStringTable*, Source/Storage.m,
11937 Source/objc/HashTable.h, Source/objc/List.h,
11938 Source/objc/NXStringTable.h, Source/objc/Storage.h:
11939 Likewise.
11940
11941 Tue Feb 9 14:08:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11942
11943 * Source/NSProcessInfo.m: Fixed login in #if construct so things
11944 will link again.
11945
11946 1999-02-08 Adam Fedor <fedor@gnu.org>
11947
11948 * Source/include/fake-main.h: Leave off __ELF__, only use
11949 autoload of init method if SYS_AUTOLOAD.
11950 * Source/NSProcessInfo.m: Likewise.
11951
11952 Mon Feb 8 10:05:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11953
11954 * Source/include/NSByteOrder.h: Implemented a full set of byte-swapping
11955 inline functions for integers with known sizes.
11956 * Source/NSData.m: Corrected serialization/deserialization routines to
11957 do byte-swapping using new functions.
11958 * Source/UnixFileHandle.m: Use new byte-swapping functions rather than
11959 htonl(), htons(), ntohl(), ntohs().
11960 * Source/NSUnarchiver.m: Use new byte-swapping functions.
11961
11962 1999-02-04 Adam Fedor <fedor@gnu.org>
11963
11964 * config/config.printf.c: New file.
11965 * configure.in: Test for broken register_printf function.
11966
11967 * Source/NSLog.m (_NSLog_standard_printf_handler): Use fputs to
11968 avoid possible double expansion of format chars.
11969
11970 1999-02-04 Matthias Klose <doko@cs.tu-berlin.de>
11971
11972 * Source/include/NSObject.h: eval value in ASSIGN macro only once.
11973
11974 Thu Feb 4 13:10:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11975
11976 * Source/NSString.m: ([-dataUsingEncoding:allowLossyConversion:])
11977 Removed spurious trailing nul and other spurious code having no
11978 effect - formatted to be readable.
11979
11980 Thu Feb 4 13:10:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11981
11982 Deleted all the old property-list and strings-file parsing stuff.
11983 * Source/NSBitmapCharSet.m: ([-formUnionWithCharacterSet]) corrected
11984 to use bitwise or rather than logical or.
11985 ([-formIntersectionWithCharacterSet:]) corrected to use bitwise and
11986 rather than logical and.
11987 * Source/NSString.m: Implemented handwritten parser code for
11988 ([-propertyList]) and ([-propertyListFromStringsFileFormat]) which
11989 supports unicode strings, is 64-bit clean, and raises exceptions
11990 as it should when given a badly formatted string to parse.
11991 This replaces the old lex/bison code (which did none of these things)
11992 and runs just as fast! Just hope that if there are any bugs they
11993 show up in time to fix for the 0.6 release.
11994 * Tools/GNUmakefile: Added plparse and sfparse.
11995 * Tools/plparse.m: New tool to parse a property-list and report errors.
11996 * Tools/sfparse.m: New tool to parse a strings-file and report errors.
11997
11998 Wed Feb 3 12:45:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11999
12000 * Source/FastArray.x: Don't use value returned by RETAIN macro.
12001 * Source/FastMap.x: Don't use value returned by RETAIN macros.
12002 * Source/NSGDictionary.m: Fix to assign values in RETAIN macros
12003 as suggested by mguesdon@sbuilders.com
12004
12005 Tue Feb 2 15:35:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12006
12007 * Source/NSZone.m: nrecycle() bugfix - was persisting after memory
12008 had actually been returned to system malloc.
12009
12010 Tue Feb 2 11:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12011
12012 * Source/mframe/alpha/linux-gnu: First 'real' port to alpha.
12013 * Source/mframe/alpha/generic: ditto
12014
12015 1999-02-01 Adam Fedor <fedor@gnu.org>
12016
12017 * Source/UnixFileHandle.m: Switch include of netinet/in.h.
12018 * Source/NSObject.m: Undef ALIGN before define'ing.
12019 * Source/NSZone.m: Likewise.
12020 * Source/mframe/configure.in: Recognize any version of freebsd or
12021 openbsd.
12022 * Source/mframe/i386/freebsd: New file, copy of generic.
12023 * Source/mframe/i386/openbsd: Likewise. (Bug
12024 reports from Michael Hanni <mhanni@sprintmail.com>).
12025
12026 Mon Feb 1 11:25:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12027 Patch supplied by eric@skatter.usask.ca
12028 * Testing/nsscanner.m: Explicitly include NSString.h.
12029 Cleaned up autorelease pool handling.
12030 Fixed some printf arguments that didn't match their formats.
12031 Added tests for scanHexInt:.
12032 * Source/include/NSScanner.h:
12033 Add declarations for scanInt: and scanHexInt: methods.
12034 * Source/NSScanner.m Added scanHexInt: method.
12035 Cleaned up some comments.
12036 Added conditional compile to let scanDouble: accept numbers
12037 like 1.234eFoo (as 1.234). For now, numbers like this are rejected.
12038
12039 Mon Feb 1 11:25:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12040
12041 * src/NSArray.m: ([-initWithContentsOfFile:]) Fixed memory leak.
12042 * src/NSDictionary.m: ([-initWithContentsOfFile:]) Fixed memory leak.
12043 * src/NSData.m: Tidied indentation and 64-bit clean serialization of
12044 strings, classes, and selectors.
12045
12046 Sat Jan 30 5:55:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12047
12048 Tidying up brain-damaged changes I made while ill.
12049 * src/NSConnection.m: Tidied proxy handling a bit
12050 * src/NSDistantObject.m: Tidied - made closer to OpenStep spec.
12051
12052 Fri Jan 29 11:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12053
12054 * src/NSArchiver.m: Implemented ([-encodeDataObject:])
12055 * src/NSUnarchiver.m: Implemented ([-decodeDataObject])
12056
12057 1999-01-28 Adam Fedor <fedor@gnu.org>
12058
12059 * GNUmakefile (SUBPROJECTS): Change directory names
12060 * configure.in: Update for new directories.
12061
12062 Thu Jan 28 16:45:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12063
12064 * src/include/NSObject.h: Preliminaries for addition of GC
12065 * src/include/NSZone.h: ditto
12066 * src/NSObject.m: ditto
12067 * src/NSZone.m: ditto
12068
12069 Thu Jan 28 11:40:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12070
12071 * src/include/GSConfig.h.in: Added gsaddr type - integer with same
12072 size as a pointer.
12073 * configure.in: Added gsaddr type and fixed a coiuple of typos.
12074 * src/NSUnarchiver.m: include NSByteOrder.h
12075
12076 Thu Jan 28 9:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12077
12078 * src/Makefile.postamble: Tidied distclean stuff - suggested by
12079 jagapen@whitewater.chem.wisc.edu
12080
12081 Wed Jan 27 12:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12082
12083 * configure.n: More type-size stuff
12084 * src/include/GSConfig.h.in: More type-size stuff
12085 * src/include/NSData.h: Changed GNUstep extensions and added constants
12086 for coder support.
12087 * src/include/NSArchiver.h: Changes for handling systems with differing
12088 type sizes.
12089 * src/include/NSByteOrder.h: Changes and additions for handling systems
12090 with differing type sizes.
12091 * src/NSData.m: Changed GNUstep extensions for coder support in order
12092 to make handling of type-size information easier.
12093 * src/NSArchiver.m: Encode type-size info and write more efficiently.
12094 * src/NSUnarchiver.m: Decode type-size info.
12095 * src/UnixFileHanlde.m: Use localhost if given no host for connect.
12096
12097 Tue Jan 26 15:45:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12098
12099 * configure.in: More stuff for type-size info
12100 * src/include/GSConfig.h.in: More stuff for type-size info.
12101 * src/FastArray.x: Allow types with fixed sizes in array.
12102 * src/FastMap.x: Allow types with fixed sizes in map.
12103
12104 Tue Jan 26 8:15:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12105
12106 * src/NSThread.m: ([-sleepUntilDate:]) cast argument of usleep() to
12107 be integer rather than float - suggested by stark@easynet.fr
12108
12109 Sun Jan 24 8:50:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12110
12111 * src/NSConnection.m: Preliminary work for handling DO between
12112 machines wiuth different pointer sizes.
12113 * src/NSDistantObject.m: ditto
12114 * src/include/NSConnection.h: ditto
12115 * src/include/NSDistantObject.h: ditto
12116 * src/include/DistributedObjects.h: ditto
12117
12118 Tue Jan 19 12:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12119
12120 * src/NSUserDefaults.m: Fixed to update periodically from disk and
12121 to post notifications if the on-disk copy has changed.
12122 * src/include/NSUserDefaults.m: Changed vtimer info for update.
12123
12124 Fri Jan 15 10:45:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12125
12126 * src/NSObjCRuntime.m: Added GSGetInstanceVariable() and
12127 GSSetInstanceVariable() methods - extensions to gnustep.
12128 * src/NSObjCRuntime.h: ditto
12129
12130 Tue Jan 12 4:10:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12131
12132 * src/NSProcessInfo.m: Fix for GNU/Linux-powerpc (__PPC__) to get
12133 class initialised with argument info.
12134 * src/include/fake-main.h: ditto
12135
12136 Mon Jan 11 16:45:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12137
12138 Fixes for bugs reported by Benhur-de-Oliveira.Stein@imag.fr
12139 * src/NSDictionary.m: ([-initWithObjectsAndKeys:]) fixed test for nil.
12140 * src/NSSet.m: Added makeObjectsPerformSelector methods.
12141 * src/NSString.m: ([-rangeOfComposedCharacterSequenceAtIndex:]) find
12142 range from before the index if necessary.
12143 * Tidied allocation methods in NSArray.m NSDictionary.m
12144
12145 Sat Jan 8 6:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12146
12147 * src/NSPortNameServer.m: Raise exception on failure to register name.
12148
12149 Fri Jan 8 9:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12150
12151 * src/NSObject.m: Cache a few more classes.
12152 * src/include/fast.x: Add a few more classes to cache.
12153 * checks/benchmark.m: Benchmark classname lookup overhead.
12154 * src/Makefile.postamble: Improve dependencies.
12155
12156 Wed Jan 6 22:05:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12157
12158 * src/UnixFileHandle.m: Fixed error in last change to ([-closeFile])
12159 which could fail to remove descriptors from runloop properly.
12160
12161 Wed Jan 6 10:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12162
12163 * mframe/alpha/linux-gnu: First rough attempt at making a config
12164 file for the DEC alpha.
12165 * mframe/alpha/gneric: ditto.
12166
12167 Tue Jan 5 20:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12168
12169 * configure.in: New stuff for making byte-order and type-size
12170 information available in GSConfig.h
12171 * src/NSTask.m: Set process group for child process and preliminary
12172 code for keeping track of active child tasks and handlign sigchld.
12173 * src/UnixFileHandle.m: Modified ([-closeFile]) to send notifications
12174 if there are any asynchronous operations in progress.
12175 * src/include/Foundation.h: include GSConfig.h
12176 * src/include/NSObject.h: include GSConfig.h
12177 * src/include/NSByteOrder.h: Use GS_WORDS_BIGENDIAN from GSConfig.h
12178 * src/include/GSConfig.h.in: Add typedefs for types with known size.
12179 * src/include/config.h.in: Added HAVE_SETPGID and HAVE_SETPGRP
12180
12181 Tue Jan 5 9:45:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12182
12183 * src/NSTask.m: Workaround for bug in linux waitpid(), general
12184 tidying, clean up descriptors in child process.
12185 * src/NSString.m: ([-dataUsingEncoding:]) fixed memory leak.
12186
12187 Mon Jan 4 15:35:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12188
12189 * src/NSInvocation.m: Fix for machines that pass structures by ref.
12190 * mframe/powerpc/linux-gnu: Machine definition added for powerpc.
12191
12192 Mon Jan 4 9:05:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12193
12194 * src/o_vscanf.c: Don't make local copy of va_list parameter by
12195 assignment - doesn't work on machines where a va_list is an array.
12196
12197 Sat Jan 2 12:48:51 1999 Adam Fedor <fedor@ultra.doc.com>
12198
12199 * configure.in: Configure subdir src/mframe properly using
12200 AC_CONFIG_SUBDIRS
12201
12202 Sat Dec 26 8:20:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12203
12204 * src/NSString.m: Make compare with range of length zero always return
12205 NSOrderedSame
12206
12207 Sat Dec 19 01:26:06 1998 Matthias Klose <doko@cs.tu-berlin.de>
12208
12209 * NSCharacterSets/Makefile.postamble: Use macro MKDIRS.
12210 * NSTimeZones/Makefile.postamble: likewise
12211 * src/Makefile.postamble: likewise
12212
12213 Sat Dec 19 10:45:58 1998 Adam Fedor <fedor@ultra.doc.com>
12214
12215 * src/mframe/configure.in: Test for empty subdir (patch from
12216 Matthias Klose <doko@cs.tu-berlin.de>).
12217
12218 Fri Dec 18 14:39:46 1998 Matthias Klose <doko@cs.tu-berlin.de>
12219
12220 * */*: include <base/*.h> instead of <gnustep/base/*.h>.
12221 * src/Makefile.postamble: reflect this change in srcdir-include.
12222
12223 Fri Dec 18 18:15:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12224
12225 Foundation.h: Added NSPathUtilities.h
12226 NSObject.h: Added GNUstep specific methods for describing a
12227 property-list to a stream.
12228 NSDate.h: Moved natural language methods to right place.
12229 NSObject.m: Added GNUstep specific extensions for describing a
12230 property-list to a stream, updated -description to spec.
12231 NSProxy.m: Tidied format and description method.
12232 NSArray.m: Added GNUstep specific extensions for describing a
12233 property-list to a stream.
12234 NSDictionary.m: ditto
12235 NSAttributedString.m: Tidied ([-replacementObjectForPortCoder:])
12236 NSGAttributedString.m: ditto
12237 NSGCString.m: ditto
12238 NSGString.m: ditto
12239 NSString.m: ditto
12240 NSConcreteNumber.m: Added ([-replacementObjectForPortCoder:])
12241 NSCoder.m: Cope nicely with encode/decode of nil property-list.
12242
12243 Thu Dec 17 16:12:18 1998 Matthias Klose <doko@cs.tu-berlin.de>
12244
12245 * {,*}/GNUmakefile: Include Version and GNUmakefile.local where
12246 missing.
12247 * configure: Add links to GNUmakefile.local
12248
12249 Thu Dec 17 14:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12250
12251 NSCoder.m: ([-decodePropertyList:]) bugfix - use NSDeserializer
12252
12253 Thu Dec 17 9:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12254
12255 NSCalendarDate.m: Try to cope gracefully when locale info is not
12256 available and we want to display a date. Use numeric month and
12257 week designations and hard-code am/pm
12258 NSUser.m: include NSProcessInfo.h
12259
12260 Wed Dec 16 20:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12261
12262 Various modifications suggested by <mguesdon@sbuilders.com> and
12263 <jagapen@whitewater.chem.wisc.edu>. All untested.
12264 src/include/Port.h: ([+newForReceivingFromRegisteredName:fromPort:])
12265 Additional method for DO through firewalls.
12266 src/include/NSConnection.h: Addittional method for DO through firewall
12267 ([+newRegisteringAtName:atPort:withRootObject:])
12268 Additional method for DO through firewalls.
12269 src/NSTask.h: Updated to MacOS-X spec - accepts NSPipes.
12270 src/TcpPort.m: ([+newForReceivingFromRegisteredName:fromPort:])
12271 Additional method for DO through firewalls. Removed obsolete name
12272 server code.
12273 src/NSConnection.m: Addittional method for DO through firewall
12274 ([+newRegisteringAtName:atPort:withRootObject:])
12275 src/NSTask.m: Updated to MacOS-X spec - accepts NSPipes.
12276
12277 Tue Dec 15 13:25:10 1998 Adam Fedor <fedor@doc.com>
12278
12279 * src/NSUser.m (NSFullUserName): New function (not implemented).
12280 (NSStandardApplicationPaths): Likewise.
12281 (NSStandardLibraryPaths): Likewise.
12282 (NSTemporaryDirectory): New function (implemented).
12283 (NSOpenStepRootDirectory): Likewise.
12284 * src/include/NSPathUtilities.h: Defined new functions.
12285 * src/include/NSUserDefaults.h: Removed duplicate definitions.
12286
12287 Mon Dec 14 6:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12288
12289 * src/GNUmakefile: Put mframe.h in a machine/os specific directory.
12290 * src/Makefile.postamble: Install mframe.h in machine/os specific dir
12291 * src/NSConnection.m: include mframe.h form new location.
12292 * src/NSInvocation.m: ditto
12293 * src/NSMethodSignature.m: ditto
12294 * src/NSObjCRuntime.m: ditto
12295 * src/NSSerializer.m: ditto
12296 * src/mframe.m: ditto
12297
12298 Sat Dec 12 21:10:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12299
12300 src/NSUserDefaults.m: ([+standardUserDefaults]) set flag to avoid
12301 infinite recursion on initialisation. Error reported by
12302 Matthias Klose <doko@cs.tu-berlin.de>
12303
12304 Sat Dec 12 17:40:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12305
12306 * src/include/GSConfig.h.in: Added new file for machine/os specific
12307 info that is relevent to things outside the base library.
12308 * configure.in: Build GSConfig.h
12309 * configure: Build GSConfig.h
12310 * src/GNUmakefile: Move GSConfig.h into place
12311 * src/Makefile.postamble: Install GSConfig.h
12312 * src/include/NSByteOrder.h: include GSConfig.h
12313
12314 Sat Dec 12 15:40:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12315
12316 * Tools/Makefile.postamble: Added check that you are installing gdomap
12317 as root and output warnign if not.
12318
12319 Mon Dec 7 10:00:34 1998 Adam Fedor <fedor@ultra.doc.com>
12320
12321 * src/NSConcreteNumber.m ([NumberTemplate
12322 -descriptionWithLocale:]): Print BOOL value as a special case.
12323
12324 * src/NSProcessInfo.m: Use fake-main if FreeBSD.
12325 * src/include/fake-main.h: Likewise.
12326
12327 Sun Dec 6 20:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12328
12329 * src/NSDate.m: removed +initialize - moved default locale info to
12330 NSUserDefaults.
12331 * src/NSUserDefaults.m: Added code to set up default locale info.
12332
12333 Thu Dec 3 16:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12334
12335 * src/NSDictionary.m: Removed filesystem methods - conflict with
12336 versions in NSFileManger.
12337 * src/include/NSDictionary.h: Ditto
12338 * src/NSFileManager.m: Updated dictionary access methods to MacOS spec
12339 * src/include/NSFileManager.h: Ditto.
12340 * src/include/NSUserDefaults.h: Made constant strings 'const'.
12341 * src/include/externs.m: Made constant strings 'const'.
12342
12343 Thu Dec 3 11:00:46 1998 Adam Fedor <fedor@ultra.doc.com>
12344
12345 * aclocal.m4: Add OBJC_CON_AUTOLOAD and OBJC_SYS_AUTOLOAD
12346 requirements to OBJC_SYS_DYNAMIC_LINKER test.
12347
12348 Wed Dec 2 16:11:05 1998 Adam Fedor <fedor@ultra.doc.com>
12349
12350 * src/NSDictionary.m (-fileGroupOwnerAccountName): New method.
12351 (-fileModificationDate): Likewise.
12352 (fileOwnerAccountName): Likewise.
12353 (filePosixPermissions): Likewise.
12354 (fileSize): Likewise.
12355 (fileSystemFileNumber): Likewise.
12356 (fileSystemNumber): Likewise.
12357 (fileType): Likewise.
12358 * src/include/NSDictionary.h: New methods. Contributed by Camile
12359 TROILLARD <tuscland@wanadoo.fr>.
12360
12361 Wed Dec 2 20:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12362
12363 * src/GNUmakefile: Added NSDateFormatter
12364 * src/Makefile.postamle: Bugfix in installation - was adding service
12365 entries when not needed.
12366 * src/NSDate.m: Added natural language support.
12367 * src/NSDateFormatter.m: Implemented this class.
12368 * src/externs.m: Added natural language support.
12369 * src/include/Foundation.h: Added missing headers.
12370 * src/include/NSDate.h: Added natural language stuff.
12371 * src/include/NSDateFormatter.h: Contributed by Camile TROILLARD
12372 <tuscland@wanadoo.fr> and updated to match implementation.
12373 * src/include/NSDecimalNumber.h: Added header (contributed by Camile) -
12374 no implementation yet.
12375 * src/include/NSDecimal.h: Added header - no implementation yet.
12376 * src/include/NSUserDefaults.h: Added natural language stuff.
12377
12378 Tue Dec 1 09:31:59 1998 Adam Fedor <fedor@ultra.doc.com>
12379
12380 * src/Makefile.postamble: new variable INSTALL_ROOT_DIR, such that
12381 /etc/services can be installed somewhere (need this for building
12382 Debian binary packages). Patch from Matthias Klose
12383 <doko@cs.tu-berlin.de>.
12384
12385 Mon Nov 30 10:20:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12386
12387 * src/NSTask: Minor bugfix -ignore SIGCHLD
12388 * src/NSUserDefaults: bugfix in registerDefaults: was replacing rather
12389 than addning defaults. Also changed to cache dictionaryRepresaentation.
12390 * src/include/NSUserDefaults.h: Added ivar to cache dictionary
12391 representation.
12392 * src/include/NSDate.h: Updated header for a couple of fixes.
12393 * src/NSDate.m: Initialise locale stuff.
12394 * src/NSCalendarDate.m: Use locale stuff.
12395
12396 Fri Nov 27 21:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12397
12398 * src/NSPortNameServer.m: ([_open]) changed to stop attempts to restart
12399 the name server when a connect to ANOTHER host fails. Also improved
12400 log messages to identify the host we failed to connect to. Also
12401 added support for overriding the default port fo the name server.
12402 * Tools/gdomap.h: updated comments to talk about NSPortNameServer.m
12403
12404 Fri Nov 27 13:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12405
12406 * src/NSObjCRuntime.m: minor performance improvment.
12407 * src/NSUnarchiver.m: more performance improvements.
12408 * src/NSObject.m: Fix error introduced in last mod.
12409
12410 Thu Nov 26 13:35:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12411
12412 * src/NSObject.m: ([+instanceRespondToSelector:]) and
12413 ([-respondsToSelector:]) changed to use __objc_responds_to() for an
12414 order of magnitude performance boost.
12415
12416 Thu Nov 26 11:00:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12417
12418 * src/NSRunLoop.m: Bugfix in ([-addEvent:type:watcher:forMode:]) to get
12419 the count of numbers of time a watcher has added a descriptor correct.
12420
12421 Wed Nov 25 16:27:52 1998 Adam Fedor <fedor@ultra.doc.com>
12422
12423 * src/include/fast.x: Add #ifndef/#define around file.
12424
12425 Wed Nov 25 20:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12426
12427 * src/NSPortNameServer.m: Made more tolerant of badly set up systems.
12428 * src/Makefile.postamble: Modified to make rule for placing gdomap in
12429 /etc/services more portable.
12430
12431 Tue Nov 24 4:10:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12432
12433 * src/Tools/GNUmakefile: removed make_services
12434 * src/Tools/make_services.m: Removed - moved to gui library.
12435 * src/NSBundle.m: Changed Info.plist to Info-gnustep.plist since
12436 that's what GNUstep uses instead.
12437
12438 Fri Nov 20 20:10:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12439
12440 * src/Makefile.postamble: Added dependencies for FastArray.x and added
12441 simple stuff to append gdomap port entries to /etc/services after
12442 install (if not already present).
12443
12444 Fri Nov 20 14:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12445
12446 * src/NSSerializer.m: Added GNUstep specific methods for controlling
12447 format to optimise serialisation for property lists containing
12448 repeated strings.
12449 * src/include/NSSerializer.h: ditto
12450 * src/FastArray.x: inline implementation of fast array code for stuff
12451 that doesn't need to be retained etc. Minimal functionality so far.
12452 * src/Fastmap.x: Tidied indentation etc.
12453 * src/include/NSArchiver.h: Use FastArray
12454 * src/NSUnarchiver.m: Use FastArray
12455 * src/NSAutorleasePool.m: Optimize implementation of +new
12456 * src/NSArray.m: Use ([NSAutoreleasePool +new])
12457 * src/NSDictionary.m: Use ([NSAutoreleasePool +new])
12458 * src/NSFileManager.m: Use ([NSAutoreleasePool +new])
12459 * src/NSPort.m: Use ([NSAutoreleasePool +new])
12460
12461 Thu Nov 19 21:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12462 * src/Archiver.m: Got rid of 'assert' - replace with 'NSAssert' etc.
12463 * src/BinaryTree.m: ditto
12464 * src/Coder.m: ditto
12465 * src/Collection.m: ditto
12466 * src/ConnectedCoder.m: ditto
12467 * src/Invocation.m: ditto
12468 * src/LinkedList.m: ditto
12469 * src/MachPort.m: ditto
12470 * src/NSAutoreleasePool.m: ditto
12471 * src/NSBundle.m: ditto
12472 * src/NSConnection.m: ditto
12473 * src/NSCountedSet.m: ditto
12474 * src/NSDate.m: ditto
12475 * src/NSDistantObject.m: ditto
12476 * src/NSGArchiver.m: ditto
12477 * src/NSGSequence.m: ditto
12478 * src/NSObject.m: ditto
12479 * src/NSPortCoder.m: ditto
12480 * src/NSRunLoop.m: ditto
12481 * src/NSSet.m: ditto
12482 * src/NSTimer.m: ditto
12483 * src/NSZone.m: ditto
12484 * src/NotificationDispatcher.m: ditto
12485 * src/OrderedCollection.m: ditto
12486 * src/Port.m: ditto
12487 * src/Random.m: ditto
12488 * src/Storage.m: ditto
12489 * src/TcpPort.m: ditto
12490 * src/UdpPort.m: ditto
12491 * src/behavior.m: ditto
12492 * src/mframe.m: ditto
12493
12494 Thu Nov 19 16:00:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12495
12496 * src/include/NSSerializer.h: Removed erroneous protocol conformance
12497 for NSSerializer and NSDeserializer.
12498 * src/NSSerializer.m: Complete rewrite - full OpenStep compatibility
12499 and huge speed increase.
12500 * doc/todo.tmpl.texi: Update todo list.
12501 * checks/benchmark.m: Added benchmarks for serializing/deserializing
12502 property lists and archiving/unarchiving them.
12503 * src/NSString.m: Fix bug returning arrya in completePathIntoString
12504
12505 Thu Nov 19 12:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12506
12507 * src/NSData.m: ([-encodeWithCoder:]) bugfix for case where data object
12508 is of length zero.
12509
12510 Wed Nov 18 9:20:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12511
12512 * Tools/make_services.m: New tool
12513 * Tools/GNUmakefile: Added make_services
12514 * Tools/Makefile.postamble: Tidied installation for gdnc
12515 * src/NSDistributedNotificationCenter.m: Start server with full path.
12516
12517 Mon Nov 16 14:29:35 1998 Adam Fedor <fedor@ultra.doc.com>
12518
12519 * src/NSBundle.m [+allBundles]: New method (unimplemented).
12520 [+allFrameworks]: Likewise.
12521 * src/NSCharacterSet.m [+punctuationCharacterSet]: Likewise.
12522 * src/NSLock.m [-lockBeforeDate:]: Likewise.
12523 [-lockWhenCondition:beforeDate:]: Likewise.
12524 * src/NSConnection.m: Likewise.
12525 * src/include/NSBundle.h: New methods;
12526 * src/include/NSCharacterSet.h: Likewise.
12527 * src/include/NSLock.h: Likewise.
12528 * src/include/NSConnection.h: Likewise (fixes from TROILLARD
12529 Camille <tuscland@wanadoo.fr>).
12530
12531 * src/include/fast.x: Fix /* in comment.
12532
12533 Thu Nov 12 17:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12534
12535 src/NSFormatter.m: New class
12536 src/include/NSFormatter.h: New class
12537 src/NSRunLoop.m: Misc optimisations
12538 src/NSGString.m: slight ([-cString]) optimisation.
12539 src/NSGCString.m: slight ([-cString]) optimisation.
12540 src/NSObject.m: fast allocation of temporary memory.
12541 src/include/fast.x: fast allocation of temporary memory.
12542
12543 Tue Nov 10 11:00:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12544
12545 * src/NSScanner.m: ([-scanString:intoString:]) bugfix to check length
12546 of the string we are looking for and simply return NO if it is longer
12547 than the data remaining in the string being scanned. Previously it
12548 would have raised an exception - which it shouldn't.
12549
12550 Mon Nov 9 20:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12551
12552 * src/externs.m: corrected notification name for user defaults.
12553 * src/NSUserDefaults.m: corrected notification name.
12554 * src/include/NSUserDefaults.h: corrected notification name.
12555
12556 Mon Nov 9 11:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12557
12558 * src/externs.m: fixed error in hashtable constants.
12559 * src/NSDistributedNotificationCenter.m: pugfix in check for
12560 posting of notification. Changed to pass selectors as strings.
12561 * Tools/gdnc.h: Pass selectors as strings. make posting oneway
12562 * Tools/gdnc.m: Pass selectors as strings, plus many bugfixes.
12563
12564 Mon Nov 2 17:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12565
12566 Tidied header files for NO_GNUSTEP/STRICT_OPENSTEP stuff.
12567 * src/NSDistributedNotificationCenter.m: New class (untested)
12568 * src/include/NSDistributedNotificationCenter.m: New class
12569 * src/GNUmakefile: Added NSDistributedNotificationCenter
12570 * src/Tools/gdnc.m: Server for distributed notifications (untested)
12571 * src/Tools/gdnc.h: Include for distributed notifications
12572 * src/Tools/GNUmakefile: Added gdnc
12573
12574 Fri Oct 30 09:00:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12575
12576 * src/include/NSPortNameServer.h: Added ([-removePort:]) method in a
12577 GNUstep catagory so that ports can unregister all their names at one
12578 go. Added maps of names and ports to keep track.
12579 * src/include/Port.h: removed [-invalidate] - inherit from NSPort
12580 * src/Port.m: removed [-invalidate] - inherit from NSPort
12581 * src/NSPort.m: made [-invalidate] method remove all the ports names
12582 from the name server and send the invalidation notification.
12583 * src/NSPortNameServer.m: Keep track of name/port mappings and, the
12584 first time a name is registered for a port, tell gdomap to remove
12585 any pre-existing names for that port (left around from a crashed
12586 server perhaps).
12587
12588 Thu Oct 29 13:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12589
12590 * src/UnixFileHandle.m: Improved handling of error conditions on
12591 background connection operations. Disable SIGPIPE to avoid abort
12592 when we attempt to write to a socket that's closed by the other end.
12593 * src/TCPPort.m: Modified to use NSPortNameServer, also changed to
12594 disable SIGPIPE on initialisation only, not on every write.
12595 * src/include/NSPortNameServer.h: new class.
12596 * src/NSPortNameServer.m: new class.
12597 * src/GNUmakefile: Added NSPortNameServer.
12598
12599 Wed Oct 28 14:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12600
12601 * Tools/gdomap.c: Added command-line options to lookup, register, and
12602 unregister a name for a port - basically for debugging purposes.
12603 * src/TcpPort.m: Modified port registration code to cope with the
12604 case where a server dies and is restarted, and tries to use the
12605 same ip port number it has before it died.
12606 * checks/nsinvocation.m: Added archiving checks.
12607 * src/NSInvocation.m: Archiver bugfixes
12608 * src/include/NSInvocation.h: Archiver bugfixes
12609 * src/NSData.m: Serialisation bugfixes
12610 * src/NSArchiver.m: Archiver bugfixes
12611 * src/NSUnarchiver.m: Archiver bugfixes
12612
12613 Tue Oct 27 08:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12614
12615 Corrected all the collection classes to return the count of objects
12616 in the collection as the ([-hash]) in conformance with the latest
12617 documentation.
12618
12619 Mon Oct 26 10:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12620
12621 * src/NSGCString.m: Implemented ([-copy]) and ([-copyWithZone:]) to
12622 work without invoking any methods uing the runtime - much faster.
12623 * src/NSObject.m: Bugfix and performance improvement to the -perform...
12624 methods. They previously threw an exception if the method referred
12625 to by the selector was not implemented (when they should have tried
12626 forwarding instead) rather than when passed a nul selector.
12627
12628 Sun Oct 25 08:00:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12629
12630 * src/NSObject.m: Cache implementation for adding object to autorelease
12631 pool to avoid objc runtime messaging overhead.
12632 * src/NSAutoreleasePool.m: Cache implementation for adding object to
12633 * src/NSAutoreleasePool.m: Cache implementation for adding object to
12634 autorelease pool to avoid objc runtime messaging overhead.
12635 * src/NSGCString.m: Implemented ([+allocWithZone:])
12636 * src/NSGString.m: Implemented ([+allocWithZone:])
12637
12638 Sat Oct 24 11:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12639
12640 * src/NSArchiver.m: New implementation
12641 * src/NSArchiver.m: New file
12642 * src/GNUmakefile: Added NSUnarchiver.m
12643 * src/include/NSArchiver.h: New version
12644 New Archiver/unarchiver - OPENSTEP complient (I think).
12645 Basic functionality tested fairly thoroughly, some of the more
12646 unusual bits untested so far. Mechanisms for adding other backends
12647 in place, but untested. Performance may be around four times that
12648 of the old version though there is still a little (very little)
12649 room for improvement.
12650
12651 Thu Oct 22 21:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12652
12653 * src/NSData.m: Added support for serialisation of Class and SEL types
12654 and made a more efficient version of the main deserialisation code
12655 in the NSDataStatic class.
12656
12657 Wed Oct 21 13:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12658
12659 * src/NSData.m: Reorganized and optimised.
12660 * src/NSGArray.m: optimised coding/decoding
12661 * src/NSGCountedSet.m: optimised coding/decoding
12662 * src/NSGDictionary.m: optimised coding/decoding
12663 * src/NSGSet.m: optimised coding/decoding
12664 * src/NSObject.m: cache data classes
12665 * src/NSString.m: Added (nonstandard) ([-boolValue]) method
12666 * src/include/NSData.h: Added ([-relinquishAllocatedBytesFromZone:])
12667 * src/include/NSString.h: Added (nonstandard) ([-boolValue]) method
12668 * src/include/NSPortMessage.h: Added (as yet unused) class.
12669 * src/NSPortMessage.m: Added (as yet unused) skeleton implementation.
12670
12671 Thu Oct 17 08:15:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12672
12673 * src/NSGDictionary.m: Added checks for invalid parameters.
12674 * src/NSGSet.m: Added checks for invalid parameters.
12675 * src/NSGCountedSet.m: Added checks for invalid parameters.
12676
12677 Thu Oct 15 08:13:12 1998 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
12678
12679 * src/NSString.m ([NSString
12680 -completePathIntoString:caseSensitive:matchesIntoArray:filterTypes:]):
12681 Implement.
12682
12683 Thu Oct 15 06:15:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12684
12685 * src/BinaryCStream.m: Update system version number
12686 * src/NSCalendarDate.m: Implemented ([-copyWithZone:])
12687 * src/NSCountedSet.m: Rewrite ([-copyWithZone:])
12688 * src/include/NSData.h: Added GNUstep specific method for more
12689 efficient zone use.
12690 * src/NSData.m: Modified throughout to use NSZone functions for
12691 managing content memory.
12692 * src/NSGArray.m: Modified to use NSZone functions for managing
12693 content memory. Also tidied coding methods.
12694 * src/include/NSGCString.h: Modified to use NSZone for contents.
12695 * src/NSGCString.m: Modified to use NSZone for contents and fixed
12696 bug in coding (couldn't cope with embedded nuls in string).
12697 * src/NSGDictionary.m: Modified to use NSZone for contents.
12698 * src/include/NSGString.h: Modified to use NSZone for contents.
12699 * src/NSGString.m: Modified to use NSZone for contents.
12700 * src/NSObject.m: Added fastZone() function.
12701 * src/PortCoder.m: Updated system version number
12702 * src/include/NSSet.h: Added ([+setWithSet:])
12703 * src/NSSet.m: Added ([+setWithSet:]) and fixed ([-copyWithZone:])
12704 * src/include/NSString.h: Added GNUstep specific methods for faster
12705 use of zones.
12706 * src/NSString.m: Modified to use NSZone functions for contents.
12707 * src/include/NSZone.h: Removed non-existent methods and changed
12708 structure layout to support NSZoneFromPointer()
12709 * src/NSZone.m: Rewrite to support NSZoneFromPointer(),
12710 NSRecycleZone() and fix a couple of bugs. Needs more work to
12711 make simpler and more efficient.
12712 * src/include/fast.x: Added fastZone()
12713
12714 Wed Oct 14 11:29:11 1998 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
12715
12716 * src/NSString.m ([NSString -stringByResolvingSymlinksInPath]):
12717 Implement.
12718
12719 Wed Oct 14 10:27:47 1998 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
12720
12721 * src/NSString.m ([NSString +pathWithComponents:]):
12722 Use the first object of components as the base path string
12723 instead of null string([NSString string]).
12724
12725 Tue Oct 13 09:24:17 1998 Adam Fedor <fedor@doc.com>
12726
12727 * src/include/NSNotification.h: Addd placeholder in
12728 NSNotificationCenter for size of NotificationDispatcher.
12729
12730 The Oct 8 15:15:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12731
12732 * src/FastMap.x: Minor bugfixes and updates.
12733 * src/NSArray.m: Optimisation - don't use malloc unless really needed.
12734 * src/NSCountedSet.m: Tidied
12735 * src/NSSet.m: Tidied - core/non-core separation made.
12736 * src/NSGArray.m: Rewrite - simpler and faster.
12737 * src/NSGCountedSet.m: Rewrite to use FastMap (and work).
12738 * src/NSGDictionary.m: Tidied initialisation.
12739 * src/NSGSet.m: Rewrite to use FastMap - much faster.
12740 * src/include/NSSet.h: tidied - core/non-core stuff.
12741
12742 Tue Oct 6 16:35:48 1998 Adam Fedor <fedor@doc.com>
12743
12744 * aclocal.m4: Add win32 test
12745 * configure.in: Use DYNAMIC_LINKER test.
12746 * src/GNUmakefile: Add win32-load.h
12747 * src/win32-load.h: New file.
12748
12749 Tue Oct 6 16:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12750
12751 * src/FastMap.x: New map table for dictionaries.
12752 * src/include/fast.x: New stuff for avoiding objc message overheads.
12753 * src/NSGCString.m: Hashing and comparison performance improvments
12754 * src NSGDictionary.m: Optimisation
12755 * src NSGString.m: Optimisation
12756 * src/NSObject.m: Optimisation
12757 * src/NSString.m: Optimisation
12758
12759 Sat Oct 3 23:00:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12760
12761 * src/NSString.m: Moved NXConstantString stuff out to NSGCString.m
12762 * src/NSGCString.m: Added NXConstantString (inherits from NSGCString)
12763 and modified for efficient ([-isEqual:]) and ([-isEqualToString:])
12764 methods.
12765
12766 Thu Sep 30 17:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12767
12768 More performance work - huge improvement in dictionary lookup and
12769 perhaps 15 percent improvement elsewhere.
12770 * src/NSString.m: ([-hash]) changed hash generation to produce a
12771 more evenly distributed value so that dictionary lookup works
12772 better for large dictionaries full of similar keys.
12773 * src/NSDictionary.m: ([+dictionaryWithObjectsAndKeys:,...]) fixed
12774 memory leak.
12775 * src/include/NSGDictionary.h: Removed - not needed.
12776 * src/NSGDictionary.m.old: Backup added.
12777 * src/NSGDictionary.m: Complete rewrite.
12778 * src/FastMap.x: New map table stuff for NSGDictionary.
12779
12780 Thu Sep 30 7:00:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12781
12782 Changes to slightly more than double the speed of dictionary
12783 lookups for string keys.
12784 * src/NSGString: Added efficient -isEqual and -isEqualToString
12785 * src/NSGCString: Speeded up -isEqual and -isEqualToString
12786
12787 Thu Sep 30 4:40:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12788
12789 * src/NSAutoreleasePool: Added NSLog to ([+addObject:]) to warn when
12790 an object is autoreleased without a pool being present.
12791 This should avoid many mistakes by newbies who don't understand
12792 the retain/release/autorelease mechanism (perhaps it'll encourage
12793 them to read up about it). It also serves as a useful reminder
12794 when you DO know what you are doing.
12795
12796 Wed Sep 30 14:35:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12797
12798 * Removed MallocAddress class -
12799 use ([NSData +dataWithBytesNoCopy:length:]) instead.
12800 * src/NSConnection.m: ([-forwardForProxy:selector:argFrame:])
12801 modifield to cope better when passed a selector without types.
12802 * src/Encoder.m: Modified to encode selector without type if needed.
12803 * Tools/dwrite.m: Removed references to cStringNoCopy
12804 * src/BinaryTree.m: Removed references to cStringNoCopy
12805 * src/Collection.m: Removed references to cStringNoCopy
12806 * src/Encoder.m: Removed references to cStringNoCopy
12807 * src/KeyedCollection.m: Removed references to cStringNoCopy
12808 * src/MemoryStream.m: Removed references to cStringNoCopy
12809 * src/NSCalendarDate.m: Removed references to cStringNoCopy
12810 * src/NSData.m: Removed references to cStringNoCopy
12811 * src/NSGCString.m: Removed references to cStringNoCopy
12812 * src/NSGString.m: Removed references to cStringNoCopy
12813 * src/NSHashTable.m: Removed references to cStringNoCopy
12814 * src/NSLog.m: Removed references to cStringNoCopy
12815 * src/NSMapTable.m: Removed references to cStringNoCopy
12816 * src/NSPortCoder.m: Removed references to cStringNoCopy
12817 * src/NSString.m: Removed references to cStringNoCopy
12818 * src/NSTimeZone.m: Removed references to cStringNoCopy
12819 * src/NSUser.m: Removed references to cStringNoCopy
12820 * src/NSZone.m: Removed references to cStringNoCopy
12821 * src/StdioStream.m: Removed references to cStringNoCopy
12822 * src/Stream.m: Removed references to cStringNoCopy
12823 * src/TextCStream.m: Removed references to cStringNoCopy
12824 * src/UdpPort.m: Removed references to cStringNoCopy
12825 * src/UnixFileHandle.m: Removed references to cStringNoCopy
12826 * src/lex.pl.m: Removed references to cStringNoCopy
12827 * src/lex.sf.m: Removed references to cStringNoCopy
12828 * src/mframe.m: Removed references to cStringNoCopy
12829 * src/o_hash.m: Removed references to cStringNoCopy
12830 * src/o_x_base.m.in: Removed references to cStringNoCopy
12831
12832 Tue Sep 29 13:05:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12833
12834 * src/include/Foundation.h: Added some missing files.
12835 * src/NSDistantObject.m: Fixed ([-methodSignatureForSelector:)]
12836
12837 Mon Sep 28 17:02:33 1998 Adam Fedor <fedor@ultra.doc.com>
12838
12839 * src/include/NSObject.h (-perform:, -perform:withObject:,
12840 -perform:withObject:withObject:): Remove definitions (use
12841 performSelector:... instead.
12842 (+class, +superclass, +setVersion:, +version): Add.
12843 Rearrange some other method definitions.
12844 * src/include/NSProxy.h: Likewise.
12845
12846 * src/NSObject.m (+class): Add.
12847 (-perform:, -perform:withObject:,
12848 -perform:withObject:withObject:): Depreciate these methods.
12849 * src/Proxy.m: Likewise.
12850
12851 * src/Collection.m: Use performSelector instead of perform.
12852 * src/IndexedCollection.m: Likewise.
12853 * src/NSArray.m: Likewise.
12854 * src/NSRunLoop.m: Likewise.
12855 * src/NSSet.m: Likewise.
12856 * src/NSTimer.m: Likewise.
12857 * src/NotificationDispatcher.m: Likewise.
12858
12859 * src/NSException (-initWithCoder:): Fix object decoding.
12860
12861 Fri Sep 18 10:20:55 1998 Adam Fedor <fedor@ultra.doc.com>
12862
12863 * src/include/preface.h.in (MIN, MAX): Rewrite macros (suggestion
12864 from Tom Hageman <tom@basil.icce.rug.nl>.
12865
12866 Thu Sep 10 06:05:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12867
12868 * src/NSFileHandle.m: Implemented [(-waitForDataInBackground])
12869 * src/UnixFileHandle.m: Implemented [(-waitForDataInBackground])
12870 * src/include/NSFileHandle.h: Added [(-waitForDataInBackground])
12871 * src/externs.m: Fixed error in hash callbacks name.
12872 * src/Set.m: Fixed error in hash callbacks name.
12873 * src/include/NSHashTable.h: Fixed error in hash callbacks name.
12874 * src/NSRunLoop.m: minor efficiency hack - don't use autoreleasing
12875 arrray construction methods when we are going to retain immediately.
12876
12877 Fri Sep 04 08:05:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12878
12879 * src/NSUserDefaults.m: ([-setObjectsforKey:], [-removeObjectForKey:])
12880 fixed to make domain dictionarys mutable if required.
12881 * src/externs.m: Updated notification name for defaults.
12882 * src/include/NSUserDefaults.h: Updated notification name.
12883
12884 Mon Aug 31 16:28:58 1998 Adam Fedor <fedor@ultra.doc.com>
12885
12886 * src/NSBundle.m (+mainBundle:): Remove *_obj directory to
12887 find main bundle path.
12888
12889 Wed Sep 02 14:15:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12890
12891 * src/Coder.m: ([-decodeObject:]) fixed to autorelease as it should.
12892 * src/NSCalendarDate.m, src/NSException.m, src/NSGAttributedString.m,
12893 src/NSHost.m, src/NSLog.m, src/NSProcessInfo.m, src/NSTimeZone.m:
12894 tidied coding/decoding and logging.
12895 * src/NSString.m: Added implementation of [-zone] for constnat strings.
12896
12897 Wed Sep 02 13:15:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12898
12899 * src/NSRunLoop.m: ([-cancelPerformSelector:target:argument:]) bugfix
12900 supplied by masata-y@is.aist-nara.ac.jp - was incrementing loop index
12901 when should have been decrementing.
12902
12903 Mon Aug 24 09:22:17 1998 Adam Fedor <fedor@ultra.doc.com>
12904
12905 * doc/gnustep-base.tmpl.texi: Fix up doc problems.
12906 * doc/todo.tmpl.texi: Likewise.
12907
12908 Thu Aug 20 11:50:23 1998 Adam Fedor <fedor@doc.com>
12909
12910 * src/mframe.m (mframe_next_arg): Fixes from Richard
12911 Frith-Macdonald <richard@brainstorm.co.uk>.
12912
12913 Tud Aug 13 21:15:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12914
12915 Rewrite of maframe stuff and associated things to get DO and
12916 NSInvocations working for ALL data types. Configuration files for
12917 GNU/Linux on a PC and sunos4.1.3 on sparc provided (and tested).
12918
12919 * src/NSObject: Fixed code to local reference counts to get object
12920 alignment right on machines that have strict restrictions on the
12921 alignment of doubles (eg sparc).
12922 Also updated forwarding of invocations to work with new code.
12923 * src/NSInvocation.m: Rewrite from scratch to use new mframe code.
12924 * src/NSMethodSignature.m: Rewrite from scratch to use new mframe code.
12925 * src/mframe.m: Modified to use new information set up by config
12926 * configure.in: Run configure in src/mframe
12927 * src/mframe: New configuration directory for mframe stuff.
12928 * src/include/mframe.h: Deleted - now generated by config process.
12929
12930 Wed Aug 12 14:55:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12931
12932 * src/NSBundle: ([+initialize]) modified to take account of the
12933 environment variables GNUSTEP_TARGET_DIR, GNUSTEP_TARGET_CPU,
12934 GNUSTEP_TARGET_OS, and LIBRARY_COMBO to override the defaults.
12935
12936 Fri Aug 4 10:55:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12937
12938 * src/GNUmakefile: Removed NSAllocateObject.m and
12939 NSDeallocateObject.m (contents merged into NSObject.m).
12940 * src/NSObject.m: Modified to perform storage of retain counts local
12941 to the objects concerned in order to speed up performance - also
12942 modified to cache an objects zone with it - in order to maintain
12943 (or better) current performance when we get the NSZone code fixed
12944 to work with malloced memory.
12945 * src/include/NSObjCRuntime.h: Removed NSDebugLog()
12946 * src/include/NSDebug.h: Added new version of NSDebugLog()
12947 * src/include/NSProcessInfo.h: Added [-debugArray] method.
12948 * src/NSProcessInfo.m: Added [-debugArray] method and modified to
12949 parse arguments list and remove debug options, putting them in a
12950 mutable array (returned by [-debugArray]).
12951 * src/externs.m: Removed NSDebugLogging.
12952 * src/NSBundle.m: Modified to use new version of NSDebugLog().
12953
12954 Thu Aug 3 15:35:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12955
12956 * src/include/NSGCString.h: Added _hash instance variable.
12957 * src/include/NSGString.h: Added _hash instance variable.
12958 * src/NSGCString.m: Added implementation of [-hash] to handle caching
12959 of strings hash value, also added implementation of a few other
12960 methods for the sake of performance. Modified NSGMutableCString
12961 methods to reset hash cache when string is modified.
12962 * src/NSGString.m: Added implementation of [-hash] to handle caching
12963 of strings hash value. Modified NSGMutableString methods to reset
12964 hash cache when string is modified.
12965 * src/NSString.m: Misc performance hacks - use alloca() rather than
12966 malloc/free where possible etc.
12967 YMMV, but the above changes got me a 20% performance improvement in
12968 the app I was working with.
12969 * src/o_map.m: Don't use o_map_key_callbacks() - access the field
12970 in the structure directly to avoid the function-call overhead as this
12971 function was being called LOTS of times. Only a tiny performance
12972 improvement - but every little helps.
12973
12974 Thu Jul 30 16:00:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12975
12976 * src/include/NSSet.h: Corrected protocol conformance
12977 * src/NSSet.m: Added ([-encodeWithCoder:]), ([-initWithCoder:]).
12978 Fixed ([-copyWithZone:]) to remove memory and to simply retain where
12979 possible.
12980 Implemented ([-description]) and ([-descriptionWithLocale:]).
12981 * src/NSGCountedSet.m: Removed ([-initWithCapacity:]) and fixed
12982 enumerator.
12983 * src/include/NSDictionary.h: Added ([+dictionaryWithObject:forKey:])
12984 and corrected protocol conformance.
12985 * src/NSDictionary.m: Added ([+dictionaryWithObject:forKey:])
12986
12987 Wed Jul 29 15:00:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12988
12989 * src/Collection.m: Removed [-copy]
12990 * src/include/Collecting.h: likewise
12991 * src/NSAttributedString.m: fixed ([-copy]) and ([-isEqual:])
12992 * src/NSCharacterSet.m: implemented (inefficiently) ([-isEqual:])
12993
12994 Wed Jul 29 9:10:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12995
12996 * src/TcpPort.m: typecast to get rid of warning
12997 * src/NSCharacterSet.m: Added NSCoding methods.
12998 * src/NSBitmapCharSet.m: Added NSCoding methods.
12999 * src/NSHost.m: typecast to get rid of warning.
13000 * src/NSData.m: ([-copy]) removed.
13001 * src/NSDictionary.m: ([-copy]) removed.
13002 * src/NSGSequence.m: ([-copy]) removed.
13003 * src/NSScanner.m: ([-copy]) removed.
13004 * src/NSArray.m: ([-copy]) removed.
13005 * src/NSAttributedString.m: ([-copy]) removed.
13006 * src/NSString.m: ([-copy]) removed.
13007 * src/NSObject.m: ([-copyWithZone:]) modified to conform strictly
13008 to Rhapsody docs. Added ([+instanceMethodSignatureForSelector:]).
13009 * src/include/IndexedCollectionPrivate.h: fixed include for NSString.h
13010 * src/Makefile.postamble: modified rule for building srcdir-include
13011 stuff so that it works for me.
13012 * src/NSException.m: ([-copyWithZone:]) typecast to get rid of warning.
13013 * src/NSValue.m: ([-copyWithZone:]) typecast to get rid of warning.
13014 * src/NSDistantObject.m: fixed ([-classForPortCoder]) for Protocol.
13015
13016 Tue Jul 28 12:57:54 1998 Adam Fedor <fedor@ultra.doc.com>
13017
13018 * src/GNUmakefile: Remove NEXTSTEP classes.
13019
13020 * src/NSConcreteNumber [-copy]: Removed.
13021 [-copyWithZone:]: Likewise.
13022 * src/NSNumber: [-copy]: Implement
13023 [-copyWithZone:]: Likewise.
13024 * src/NSDate.m [-copyWithZone:]: Correct implementation.
13025 * src/NSException.m [-copyWithZone:]: Likewise.
13026 * src/NSPort.m: [-copyWithZone:]: Likewise.
13027 * src/NSValue.m: [-copyWithZone:]: Likewise.
13028
13029 Tue Jul 21 09:15:32 1998 Adam Fedor <fedor@ultra.doc.com>
13030
13031 * src/GNUmakefile: Removed redundant classes.
13032 * src/Connection: Removed.
13033 * src/Lock: Likewise.
13034 * src/Notification: Likewise.
13035 * src/Proxy: Likewise.
13036 * src/include/Connection.h, src/include/Lock.h,
13037 src/include/Notification.h, src/include/Proxy.h: Likewise.
13038 * src/include/RetainingNotifier.h: Removed.
13039 * src/libgnustep-base.def: Removed reference to redundant classes.
13040 * src/include/ConnectedCoder.h: Likewise
13041 * src/include/NSConnection.h: Likewise
13042 * src/include/NSNotification.h: Likewise
13043 * src/include/NSPort.h: Likewise
13044 * src/include/all.h: Likewise
13045 * src/ConnectedCoder.m: Likewise
13046 * src/Makefile.postamble: Likewise
13047 * src/MachPort.m: Likewise
13048 * src/NSConnection.m: Likewise
13049 * src/NotificationDispatcher.m: Likewise
13050 * src/NSNotification.m: Likewise
13051 * src/Port.m: Likewise
13052 * src/TcpPort.m: Likewise
13053 * src/behavior.m: Likewise
13054 * src/NSThread.m: Likewise
13055 * src/UdpPort.m: Likewise
13056 * examples/first-client.m, examples/first-server.h,
13057 examples/first-server.m, examples/second-client.h,
13058 examples/second-client.m, examples/second-server.h,
13059 examples/second-server.m: Removed.
13060
13061 * src/NSRunLoop.m: Add time.h (For GNU/Linux-2.0)
13062 * src/TcpPort.m: Likewise.
13063 * src/UdpPort.m: Likewise.
13064 * sec/UnixFileHandle.m: Likewise.
13065
13066 Wed Jul 20 21:25:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13067
13068 * src/Decoder.m: ([-decodeClass]) modified to ensure correct decoding
13069 instances of classes relying on multiple inheritance.
13070
13071 Tue Jul 14 16:26:36 1998 Adam Fedor <fedor@doc.com>
13072
13073 * src/Makefile.postamble (gnustep/base): Fixup dir creation.
13074 (Foundation): Likewise.
13075
13076 * src/externs.m: New NSDebugLogging variable.
13077 * src/include/NSObjCRuntime: Change NSDebugLog so it works when
13078 DEBUG is defined and NSDebugLogging is set.
13079 * src/NSBundle.m: Use it.
13080
13081 * src/include/Foundation.h: Include NSTimer.h
13082 * src/include/NSObject.h: Define +instanceMethodSignatureForSelector:
13083
13084 Tue Jul 14 10:06:31 1998 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
13085
13086 * checks/nsset.m : Added new testing functions.
13087 (intersects_set_test): Likewise.
13088 (is_subset_of_set_test): Likewise.
13089
13090 * src/include/NSSet.h ([NSSet -setWithObjects:]): Remove the type
13091 declaration of arguments, "NSArray *". The arguments should be
13092 declared as id.
13093
13094 * src/NSSet.m ([NSSet -isSubsetOfSet:otherSet]): Implement.
13095 ([NSSet -intersectsSet:otherSet]): Likewise.
13096
13097 Wed Jul 15 12:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13098
13099 * src/Invocation.m: Rewrote ([-invoke]) to retrieve return values
13100 correctly by using mframe_decode_return()
13101
13102 * src/NSCharacterSet.m: Fixed ([-copyWithZone:]) to avoid using the
13103 (non-existant) NSObject method.
13104
13105 * src/NSFileHandle.m: Modified method for making socket connections
13106 and added a synchronous version.
13107
13108 * src/NSObjCRuntime.m: Tidied and added NSGetSizeAndAlignment().
13109
13110 * src/NSObject.m: Removed ([-copyWithZone:]) and
13111 ([-mutableCopyWithZone:]) (which shiould not exist in NSObject).
13112
13113 * src/NSString.m: Fixed implementation of the
13114 ([-rangeOfCharacterFromSet:options:range:]) method.
13115
13116 * src/UnixFileHandle.m: Various bug fixes for synchronous operations.
13117
13118 * src/mframe.m: Added mframe_decode_return() function to get the
13119 return value out of a retframe.
13120
13121 * src/include/NSCharacterSet.h: Modified to say we conform to the
13122 NSCoding protocol (whith the spec says we should).
13123
13124 * src/include/NSFileHandle.h: Altered methods for making a network call.
13125
13126 * src/include/NSObjCRuntime.h: Added NSGetSizeAndAlignment().
13127
13128 * src/include/NSObject.h: Removed stuff saying we conform to the
13129 NSCoding and NSCopying protocols (we shouldn't) and removed the
13130 ([-copyWithZone:]) and ([-mutableCopyWithZone:]) methods - which
13131 shouldn't be there.
13132
13133 * src/include/UnixFileHandle.h: Altered methods for making a network
13134 connection.
13135
13136 * src/include/mframe.h: Added mframe_decode_return() function.
13137
13138
13139 Tue Jul 14 16:06:16 1998 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
13140
13141 * checks/invocation_*.m : New test files.
13142
13143 * checks/invocation2.m: Removed the file.
13144
13145 * src/include/NSInvocation.h (NS_INVOCATION, NS_MESSAGE):
13146 Added new arguments to the macros. These macros don't require
13147 SEL type argument to specify the method to invoke now.
13148
13149 * checks; Added invocation_char.m, invocation_short.m, invocation_int.m
13150 and invocation_long.m
13151
13152 Fri Jul 10 21:43:30 1998 Adam Fedor <fedor@ultra.doc.com>
13153
13154 * src/include/GapArrayPrivate.h (gapMoveGaptTo): Change - to +.
13155 * docs/todo.tmpl.texi: Updates
13156
13157 Fri Jun 25 20:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13158
13159 * src/TcpPort.m: Improved debug code and added method to turn it on -
13160 ([+setDebug:])
13161 * src/NSConnection.m: Changed code so that if a process sends us a
13162 'release' for an object local to us, which it vended to a third
13163 party, we retain the object for 30 seconds before releasing it in
13164 order to give the third party time to connect to us and retain it.
13165 Improved debug code and added method to turn it on - ([+setDebug:])
13166 * src/NSDistributedObject.m: Added flag to say whether an object has
13167 been vended to a third party.
13168 Improved debug code and added method to turn it on - ([+setDebug:])
13169 * src/include/NSDistantObject.h: Added flag.
13170
13171 Thu Jun 24 22:05:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13172
13173 * src/proplist.y: Make parser more tolerant - permit a comma after
13174 the final element in an array.
13175 * src/NSData.m: Added ([NSMutableData +data])
13176 * src/Unicode.m: Efficiency hack for conversion to/from unicode
13177 * src/include/NSArray.h: Added ([-writeToFile:Atomically:])
13178 * src/include/NSString.h: Added GSUndefinedEncoding and comment to
13179 make sure nobody deletes it - needed for efficiency hack in Unicode.m
13180
13181 Fri Jun 19 13:37:37 1998 Adam Fedor <fedor@doc.com>
13182
13183 * NSObject (+isKindOfClass:): New method (patch from Bruce Ide
13184 <greyfox@greyfox.org>).
13185 (+isMemberOfClass): Likewise.
13186
13187 Tue Jun 16 09:48:18 1998 Adam Fedor <fedor@doc.com>
13188
13189 * src/NSProtocolChecker.m, src/include/NSProtocolChecker.h: New files.
13190 (from Mike Kienenberger <mkienenb@arsc.edu>)
13191
13192 Fri May 29 10:16:09 1998 Adam Fedor <fedor@doc.com>
13193
13194 * doc/news.tmpl.texi: Fixed typo.
13195 * doc/readme.tmpl.texi: Likewise. (patch from doko@cs.tu-berlin.de
13196 (Matthias Klose)).
13197 * src/ostream.m (ostream_save_buffer): Retain stream.
13198 * src/include/MemoryStream.h: Remove outdated methods.
13199 * src/include/NSException.h (NS_VALUERETURN): New macro.
13200
13201 Thu May 28 10:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13202
13203 * Tools/gdomap.c: Added code to cope with systems where we can't
13204 determine what network interfaces are active.
13205
13206 * checks/heap.m: Portability fix for svr4 systems.
13207
13208 * configure.in: Improved portability to svr4 systems.
13209
13210 * src/NSMethodSignature.m: Changed order of includes to fix
13211 compilation on svr4 systems.
13212
13213 * src/NSPage.m: Altered to use 'sysconf(_SC_PAGESIZE)' to get page
13214 size on svr4 systems.
13215
13216 * src/NSTask.m: Altered to use 'kill()' rather than 'killpg()' on
13217 svr4
13218
13219 * src/NSThread.m: Altered to use 'sleep()' rather than 'usleep()'
13220 on svr4
13221
13222 * src/include/config.h.in: Added a couple of configuration
13223 constants for portability - HAVE_KILLPG and HAVE_USLEEP
13224
13225 Thu May 21 09:38:14 1998 Adam Fedor <fedor@doc.com>
13226
13227 * src/NSUser.m (NSUserName): Use getpwuid for BSD machines (patch
13228 provided by Stefanos Kiakas <stefanos@ringworld.uniscape.com>).
13229
13230 * src/GetDefEncoding.c (GetDefEncoding): Change binary AND to
13231 logical AND. (GetEncoding): Likewise (patch provided by
13232 David Fritzsche <david@dementia.wupper.de>).
13233
13234 Wed May 20 15:26:50 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13235
13236 * src/GNUmakefile: Added NSUndoManager.[hm]
13237
13238 * src/Invocation.m: ([-_initArgframeFrom:withType:retainArgs:]) fixed
13239 memory leak due to failing to set 'args_retained' flag.
13240
13241 * src/NSObject.m: ([-forward::]) modified to call (forwardInvocation:)
13242 method so we can conform to OpenStep spec.
13243
13244 * src/NSUndoManager.m: Implementation of new class.
13245
13246 * src/include/NSUndoManager.h: Interface for new class.
13247
13248 Wed May 13 13:18:35 1998 Adam Fedor <fedor@doc.com>
13249
13250 * src/NSArray.m ([NSArray -initWithContentsOfFile:]): Move
13251 definition from NSMutableArray.
13252 * NSBundle.m (+initialize): New method.
13253 (+mainBundle): Use recursive lock.
13254 (-initWithPath:) Likewise.
13255 * Unicode.m (encode_chartouni): Cast char to unsigned before to
13256 unichar (patch provided by David Fritzsche <david@dementia.wupper.de>).
13257
13258 Fri May 1 14:26:50 1998 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
13259
13260 * src/mframe.m(mframe_do_call): before allocating a storage for
13261 returned structure, check stack_argsize.
13262
13263 Mon Apr 27 15:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13264
13265 * src/include/mframe.h: Added three new functions to enable passing
13266 of pointers using the mframe routines.
13267
13268 * src/mframe.m: Added mframe_dissect_call_opts(),
13269 mframe_do_call_opts(), and mframe_build_return_opts() so that we
13270 may pass pointers to and from functions in other languages rather
13271 than using the DO behaviour which is to copy a single object when
13272 given a pointer.
13273
13274 Tue Apr 21 15:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13275
13276 * src/NSMethodSignature.m: ([+signatureWithObjCTypes:]) rewritten
13277 to use some macros from libFoundation (adapted from gcc) to handle
13278 creation of NSMethodSignature objects where the types string passed
13279 in does not contain the position information of the arguments.
13280
13281 Thu Apr 16 13:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13282
13283 * checks/client.m: enable testing of DO strucuture return.
13284
13285 * checks/server.m: fix typo in keyword
13286
13287 * src/KeyedCollection.m: ([-decodeContentsWithCoder:]) fixed a
13288 memory leak.
13289
13290 * src/mframe.m: Fixed a few bugs in returning structures - now works
13291 properly on GNU/Linux intel. Can anyone figure out how to handle
13292 all this stuff using autoconf?
13293
13294 Mon Apr 20 09:23:58 1998 Adam Fedor <fedor@ultra.doc.com>
13295
13296 * src/NSLock.m: Eliminate busy waiting from NSConditionLock
13297 * src/NSLock.h: add instance variable and rename "value" to
13298 support changes to NSConditionLock
13299 * src/NSLock.m: Raise appropriate exceptions
13300 * src/NSLock.m: Prevent NSLock and NSConditionLock from being
13301 locked recursively
13302 * src/NSThread.m: -sleepUntilDate: implemented
13303 * src/NSThread.m: remove calls to objc_get_thread_data except
13304 in currentThread message
13305 * src/BinaryCStream.m: Replace assert's with NS*Assert
13306 * src/CStream.m.orig: Likewise
13307 * src/Decoder.m: Likewise
13308 * src/Encoder.m: Likewise
13309 * src/MemoryStream.m: Likewise
13310 * src/RawCStream.m: Likewise
13311 * src/TextCStream.m: Likewise
13312 * src/ostream.m.orig: Likewise
13313 (patches from Quetzalcoatl Bradley <qbradley@csc.uvic.ca>).
13314
13315 * src/NSFileManager.h: Include pwd.h if we have it
13316 * configure.in: Check for pwd.h
13317 * configure: regenerate.
13318 * src/include/config.h.in: Likewise.
13319
13320 Wed Apr 15 09:54:25 1998 Adam Fedor <fedor@doc.com>
13321
13322 * src/NSFileManager.m ([NSFileManager
13323 -fileAttributesAtPath:traverseLink:]): Add NSFileOwnerAccountName.
13324 * src/externs.m: Add NSFileOwnerAccountName definition.
13325 (patch provided by Marcus Mueller <znek@object-factory.com>)
13326
13327 * src/NSThread.m (-sleepUntilDate:): Implemented (from
13328 Quetzalcoatl Bradley <qbradley@csc.uvic.ca>).
13329
13330 Sun Apr 5 20:07:28 1998 Scott Christley <scottc@net-community.com>
13331
13332 * Utilize documentation rules in Makefile Package.
13333 * doc/GNUmakefile: Rewrite to use Makefile Package.
13334 * doc/Makefile.postamble: Remove old obsolete rules.
13335
13336 * Documentation which covers GNUstep as a whole versus just
13337 gstep-base has been moved to the top level Documentation dir.
13338 * GNUstep-HOWTO: Delete.
13339 * doc/gnustep-base.tmpl.texi: GNUstep-HOWTO and FAQ removed.
13340 Add variable so that included files know they are within the
13341 main document.
13342 * doc/gnustep-howto.tmpl.texi: Delete.
13343 * doc/faq.tmpl.texi: Delete.
13344 * doc/announce.tmpl.texi: Don't include version.texi needlessly.
13345 * doc/news.tmpl.texi: Don't include version.texi needlessly.
13346 * doc/todo.tmpl.texi: Don't include version.texi needlessly.
13347
13348 * src/GNUmakefile: Don't compile Random class as the name too
13349 often conflicts with user apps.
13350
13351 * src/GetDefEncoding.m: Reformat.
13352
13353 * src/NSArray.m (-replaceObjectsInRange:withObjectsFromArray:):
13354 Fix range check. Use enumerator instead of count.
13355
13356 Wed Apr 1 18:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13357
13358 * Tools/gdomap.m: Modified code so that we make sure we have at least
13359 one valid route to any gdomap process which has probed us. This is
13360 to cope with machines which send out info about all their interfaces
13361 when one or more of the interfaces is not working.
13362
13363 * src/checks/nstask.m: added test for environment setting.
13364
13365 * src/NSCalendarDate.m: Fixed bug in initialisation where daylight
13366 savings time is in operation - was adjusting in wrong direction.
13367
13368 * src/NSRunLoop.m: Added NSObject catagory for the methods -
13369 ([NSObject +cancelPreviousPerformRequestsWithTarget:selector:object:]),
13370 ([NSObject -performSelector:withObject:afterDelay:]), and
13371 ([NSObject -performSelector:withObject:afterDelay:inModes:])
13372
13373 * src/NSTask.m: Various bug fixes as a result of running the test
13374 suite. All seems to work ok now.
13375
13376 * src/NSDate.h: Changed order of declaractions so this can be included
13377 within NSObject.h
13378
13379 * src/NSObject.h: Added run-loop integration methods -
13380 ([NSObject +cancelPreviousPerformRequestsWithTarget:selector:object:]),
13381 ([NSObject -performSelector:withObject:afterDelay:]), and
13382 ([NSObject -performSelector:withObject:afterDelay:inModes:])
13383
13384 * src/NSRunLoop.h: Added an instance variable to keep track of
13385 queued delayed actions to be performed on objects.
13386
13387 Tue Mar 31 11:32:03 1998 Adam Fedor <fedor@doc.com>
13388
13389 * aclocal.m4 (OBJC_CON_AUTOLOAD): Improved test. Check nm output
13390 for indicator functions.
13391 * configure: Regenerate.
13392
13393 * checks/GNUmakefile (LoadMe_RESOURCE_FILES): Changed name.
13394
13395 * doc/gnustep-howto.tmpl.texi: Update.
13396 * doc/status.tmpl.texi: Likewise.
13397
13398 Fri Mar 20 11:15:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13399
13400 * checks/client.m: Added some tests for passing objects byref
13401
13402 * checks/server.h: Added ([-sendByref:]) to protocol.
13403
13404 * checks/server.m: Added ([-sendByref:]) for testing 'byref'.
13405
13406 * src/Coder.m: Added ([-encodeByrefObject:])
13407
13408 * src/Encoder.m: Added ([-_doEncodeByrefObject:]) and changed the
13409 designated encoding method throughout from
13410 ([-_encodeObject:withName:isBycopy:isForwardReference:]) to
13411 ([-_encodeObject:withName:isBycopy:isByref:isForwardReference:])
13412
13413 * src/NSCoder.m: Added ([-encodeBytes:length:]),
13414 ([-encodeByrefObject:]) and ([-decodeBytesWithReturnedLength:])
13415
13416 * src/NSConnection.m: Modified ([-forwardForProxy:selector:argFrame:])
13417 and ([-_service_forwardForProxy:]) methods to handle byref flag.
13418
13419 * src/NSDictionary.m: Added ([+dictionaryWithDictionary:])
13420
13421 * src/NSPortCoder.m: Added ([-isByref]) and ([-_doEncodeByrefObject:])
13422 methods and modified ([-_doEncodeBycopyObject:]) to handle byref flag.
13423
13424 * src/include/Coding.h: Added ([-encodeByrefObject:])
13425
13426 * src/include/NSCoder.h: Added ([-encodeBytes:length:]),
13427 ([-encodeByrefObject:]) and ([-decodeBytesWithReturnedLength:])
13428
13429 * src/include/NSDictionary.h: Fixed prototype for the
13430 ([+dictionaryWithDictionary:]) method.
13431
13432 * src/include/NSPortCoder.h: Added ([-isByref])
13433
13434 * src/objc-gnu2next.m: Added _F_BYREF flag code
13435
13436 Fri Mar 13 15:05:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13437
13438 * src/NSCalendarDate.m: ([-descriptionWithCalendarFormat:locale:])
13439 Fixed bug in displaying time-zone - was displaying minutes and
13440 seconds when should have been showing hours and minutes.
13441
13442 Wed Mar 11 11:56:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13443
13444 * src/NSArray.m: ([-copyWithZone:]) changed to use the
13445 NSShouldRetainWithZone() function.
13446
13447 * src/NSCalendarDate.m: ([-dealloc]) don't release the timezone -
13448 we never retain it anyway (should we?)
13449 ([-setCalendarFormat:]) make a copy of the string we are given in
13450 case it gets changed or deleted.
13451
13452 * src/NSConcreteNumber.m: ([-copyWithZone:]) fixed to use the
13453 NSShouldRetainWithZone() function.
13454
13455 * src/NSData.m: ([-copyWithZone:]) fixed to use the
13456 NSShouldRetainWithZone() function.
13457
13458 * src/NSDictionary.m: ([-copyWithZone:]) fixed to use the
13459 NSShouldRetainWithZone() function.
13460
13461 * src/NSHost.m: Added ([-awakeAfterUsingCoder:])
13462
13463 * src/NSNumber.m: Added ([-copy]) and ([-copyWithZone:])
13464
13465 * src/NSString.m: ([-copyWithZone:]) fixed to use the
13466 NSShouldRetainWithZone() function.
13467
13468 * src/TcpPort.m: Commented out unnecessary warning message.
13469
13470 * src/NSTimeZone.m: Modified ([-encodeWithCoder:]) and
13471 ([-awakeAfterUsingCoder:]) so that the local timezone is encoded
13472 specially and is restored as whatever the local timezone of the
13473 restoring application is.
13474
13475 * src/NSValue.m: Added ([-copy]) and ([-isEqualToValue:])
13476
13477 Tue Mar 10 17:05:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13478
13479 * src/NSArray.m: ([-copyWithZone:]) rewritten to avoid doing
13480 unnecessary copy of non-mutable objects and to fix memory leak.
13481
13482 * src/NSCTemplateValue.m: ([-isEqaul:]) and ([-isEqualToValue:])
13483 implemented.
13484
13485 * src/NSCalendarDate.m: ([-initWithCoder:]) and ([-encodeWithCoder:])
13486 implemented.
13487
13488 * src/NSConcreteNumber.m: ([-copy]) and ([-copyWithZone:])
13489 implemented to do simple retains.
13490
13491 * src/NSDictionary.m: ([-copyWithZone:]) rewritten to avoid doing
13492 unnecessary copy of non-mutable objects and to fix memory leak.
13493
13494 * src/NSGString.m: ([-cString]) fixed crash when called on empty
13495 string.
13496
13497 * src/NSTimeZone.m: ([-awakeAfterUsingCoder:]) implemented to handle
13498 decopding of archived objects correctly.
13499
13500 * src/include/NSValue.h: Added ([-isEqualToValue:])

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