This repository has been archived by the owner on Jul 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
ChangeLog.1
10871 lines (8290 loc) · 416 KB
/
ChangeLog.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Wed Mar 11 17:11:23 1998 Adam Fedor <[email protected]>
* Version: Version 0.5.0;
Wed Mar 11 11:02:49 1998 Scott Christley <[email protected]>
* doc/gnustep-howto.tmpl.texi: Update.
* GNUstep-HOWTO: Regenerate.
Tue Mar 10 9:40:00 1998 Richard Frith-Macdonald <[email protected]>
* Tools/gdomap.c: Changes to permit configuration of gdomap so that
it probes a specific list of hosts rather than all hosts on the
local net. Also permit compile-time override of port number.
* Tools/gdomap.h: Added comments about overriding port used by gdomap.
* src/TcpPort.m: (nameServer()) modified for easy compile-time
override of port number used.
Thu Mar 5 15:40:00 1998 Richard Frith-Macdonald <[email protected]>
* src/GNUmakefile: removed byte_order.h and added NSByteOrder.h
* src/NSData.m: Changed all byte-ordering code to use new byte order
functions described in the Rhapsody documentation.
* src/NSSerializer.m: Removed unused include file.
* src/include/NSByteOrder.h: Added this file containing all the
byte-order management functions described in the Rhapsody docs.
Wed Mar 4 21:06:00 1998 Richard Frith-Macdonald <[email protected]>
* src/NSConnection.m: Changed some objects to be OpenStep rather than
old libobjects types. Using NSMutableArray rather than Queue for the
message queues seems to fixes bug with queue corruption under heavy
load.
* src/NSHost.m: Added methods for archiving NSHost objects and
sending them bycopy over DO at all times.
* src/NSRunLoop.m: ([-runUntilDate:forMode:]) modified to exit
promptly if there are no more input sources for the run loop.
Mon Mar 2 10:04:57 1998 Adam Fedor <[email protected]>
* ANNOUNCE, NEWS, GNUstep-HOWTO: Update.
* doc/faq.tmpl.texi, doc/gnustep-howto.tmpl.texi,
doc/news.tmpl.texi: Likewise.
* src/GNUmakefile (GENERATED_HAFILES): Add include/o_...
Thu Feb 26 12:49:10 1998 Adam Fedor <[email protected]>
* configure.in: Use AC_CHECK_HEADERS instead of AC_CHECK_HEADER.
* src/include/config.h.in: Regenerate.
* doc/GNUmakefile (HTML_FILES): Add fac_toc.html
* doc/Makefile.postamble: (fac_toc.html): New target.
* src/include/NSDictionary.h: Add NSMutableCopying protocol
(suggested by David Fritzsche <[email protected]>).
Thu Feb 26 8:12:00 1998 Richard Frith-Macdonald <[email protected]>
* Tools/defaults.m: Removed autorelease debugging.
* Tools/dread.m: Removed autorelease debugging.
* Tools/dremove.m: Removed autorelease debugging.
* Tools/dwrite.m: Removed autorelease debugging.
* Tools/gdomap.m: Substantial rewrite with changes to the protocol
for name servers to identify themselves to each other.
Now handles subnet addressing within a class-c network.
Now handles machines with multiple IP addresses more efficiently.
Removes addresses from list of known servers after a period in
which it fails to contect them.
* Tools/gdomap.h: Changed comments to reflect protocol changes.
* src/Coder.m: ([-initForReadingWithData:]) removed an inefficient
hack for dealing with a problem that should never happen
(init methid called on autoreleased object).
* src/NSConnection.m: ([+newForInPort:outPort:cancestorConnection:),
(-_handleRmc:) removed 'delay_dialog_interruptions' which could
result in deadlock in three-way DO conversations.
* src/NSPortCoder.m: ([-_doEncodeObject:]) changed so that a copy
over-the-wire is a deep copy rather than a shallow one. I think
this gives a more expected behaviour, though I don't know what
OPENSTEP does.
* src/include/NSConnection.h: Removed delay_dialog_interruptions.
Sat Feb 14 16:03:07 1998 Scott Christley <[email protected]>
* configure.in: Check for sys/statvfs.h header file.
* configure: Regenerate.
* std/include/config.h.in: Regenerate.
* src/NSFileManager.m: Include header files only if available.
Sat Feb 14 15:50:40 1998 Adam Fedor <[email protected]>
* src/NXStringTable_scan.c src/lex.pl.m src/lex.sf.m
src/proplist.tab.h src/proplist.tab.m src/stringsfile.tab.h
src/stringsfile.tab.m: Add regenerated files to repository.
Sat Feb 14 13:41:39 1998 Scott Christley <[email protected]>
* src/include/config.h.in: Create and add back into repository.
Thu Feb 12 13:31:00 1998 Adam Fedor <[email protected]>
* src/NSDictionary.m ([-copy]): New method.
Mon Feb 9 13:08:27 1998 Adam Fedor <[email protected]>
* AUTHORS, ANNOUNCE, README, INSTALL, STATUS, TODO: New files.
* configure: Likewise.
* +cronscript, +crontab, +patch.sh, Makefile.local, make-*,
upload-dist: Removed non-dist files.
* src/Makefile.local, src/Makefile.set.nt: Likewise.
* GNUmakefile (DIST_FILES): Remove gcc diffs.
* Makefile.postamble (regenerate): New target.
(snapshot, dist): Update for cvs export.
* NSCharacterSets/Makefile.postamble (regenerate): New target.
* NSTimeZones/Makefile.postamble: Likewise
* Tools/Makefile.postamble: Likewise.
* admin/Makefile.postamble: Likewise
* checks/Makefile.postamble: Likewise
* doc/Makefile.postamble: Likewise
* examples/Makefile.postamble: Likewise
* src/Makefile.postamble: Likewise
* src/NSUserDefaults ([-synchronize]): Check for defaultDatabase
and create it it doesn't exist.
* src/NSThread.m ([-currentThread]): Set thread data for new
thread.
* src/NSString.m ([-initWithContentsOfFile:]): Check for NULL
data. Patches suggested by Ulrich Steinmetz <[email protected]>
* src/NSHost.m: Remove arpa/inet.h
* src/TcpPort.m: Likewise.
* src/UnixFileHandle.m: Likewise.
patches from Paul Kunz <[email protected]>
Thu Feb 5 10:12:00 1998 Richard Frith-Macdonald <[email protected]>
* src/NSConcreteNumber.m: Defined preprocessor values to handle
'promotion' of numeric types and added private methods to support
this. Modified ([-compare:]) to promote numeric values so that
comparisons work as expected. Implemented ([-isEqualToNumber:]),
Implemented ([-description]) and partially ([-descriptionWithLocale:])
Implemented ([-hash]) so that numbers which compare the same also
has the same (so we can use NSNumbers as dictionary keys).
* src/NSData.m: Added non-openstep method ([-relinquishAllocatedBytes])
to ask a data object to hand over it's malloced buffer.
* src/NSNumber.m: Added initialisation methods specified in Rhapsody
documentation.
* src/NSString.m: ([-dataUsingEncoding:allowLossyConversion:]) made
tiny change for efficiency - moving test outside loop - perhaps the
compiler would have optimised it anyway.
* src/Port.m: Modified initialisaers to test for failure to create
NSData objects and return nil as appropriate.
* src/TcpPort.m: ([+newForReceivingFromPortNumber:]) release newly
created port before raising exceptions.
In both ([-invalidate]) methods we remove the port from the various
maps before doing anything else so that invalid ports can't be found
by accident during the invalidation process.
* src/UnixFileHandle.m: ([-readDataOfLength:]) fixed problem with
data object causing read value to be overwritten with nuls.
* src/include/NSData.h: Added ([-relinquishAllocatedBytes])
* src/NSValue.h: Added initialisation methods for NSNumber and
([-isEqualToNumber:]) method.
Thu Feb 5 10:48:35 1998 Adam Fedor <[email protected]>
* GNUmakefile (GNUSTEP_MAKEFILES): New variable. Use it to
include makefiles.
* Likewise for all sub-directory GNUmakefile files.
Mon Feb 2 10:11:20 1998 Adam Fedor <[email protected]>
* Version (GCC_VERSION): Change to 2.8.0
* gcc-2.7.2-objc.diff: Remove.
* gcc-2.7.2.1-objc.diff: Likewise.
* NSTimeZones/Makefile.postamble (after-install): Remove
directories before (re-)installing.
* checks/GNUmakefile: Include bundle.make.
* checks/invocation2.m: New file.
* doc/gnustep-howto.tmpl.texi: Make gcc2.8.0 supported compiler.
* doc/news.tmpl.texi: Add recent changes.
* src/NSFileManager.m: Include sys/statvfs for mips-sgi-irix6.2
* Tools/gdomap.c: Add IPPORT_USERRESERVED def for sgi.
* src/TcpPort.m: Likewise.
* src/UdpPort.m: Likewise.
(patches from Mike Kienenberger <[email protected]>)
Fri Jan 30 20:38:56 1998 Masatake Yamato <[email protected]>
* src/Invocation.m ([MethodInvocation
-initWithTarget:selector:,...]): Add _C_CLASS, a CASE_TYPE to the
switch-case labels. Implement default: in the switch-case. I
used typeof, a gcc extension.
* src/NSMethodSignature.m ([NSMethodSignature -argumentInfoAtIndex:]):
Implemented.
* src/include/NSInvocation.h (NS_INVOCATION, NS_MESSAGE): New macros.
Mon Feb 2 12:54:00 1998 Richard Frith-Macdonald <[email protected]>
* Tools/defaults.m: Modified to make sure that defaults are all
written correctly when reading multile defaults settings from stdin.
* src/NSArray.m: Modified or rewrote almost all methods to use
unsigned ints rather than ints and to avoid retain/release
sequences for the sake of efficiency. Also rewrote property list
and sorting methods for much greater efficieny.
* src/NSData.m: (readContentsOfFile(NSString*, void**, unsigned*))
fixed bug leaving file open and modified to use
([NSString -fileSystemRepresentation]). Similarly modified
([-writeToFile:atomically;]) and ([-initWithContentsOfMappedFile:]).
* src/NSDictionary.m: Modified ([-descriptionInStringsFileFormat])
and ([-descriptionWithLocale:indent:]) for better performance.
* src/NSGArray.m: Added implementations of ([-getObjects:]) and
([-getObjects:range:]) so that it is possible to get high speed
access to array contents. Added implementation of
([-sortUsingFunction:context:]) for faster sorting of array contents
so that property descriptions are generated more quickly.
* src/NSGCString.m: Modified various methods so that the _capacity
instance variable has the space available for characters in the
string without the terminator. Added ([-getCharacters:]) and
([-getCharacters:range:]) implementations.
* src/NSGString.m: Modified various methods so that unicode
strings are no longer nul terminated and the _capacity instance
variable has the number of character spaces available in the
string. Added ([-getCharacters:]) and ([-getCharacters:range:])
implementations. Added ([-replaceCharactersInRange:withString:])
implementation.
* src/NSString.m: Fixed a few places where it was assumed that
string buffers include space for a nul terminator. In
([-compare:options:range:]) made modifications so that literal
comparisons now work correctly for ranges other than the entire
string. Made some changes to avoid use of malloc/free sequences
where not necessary. Made efficiency improvements to append
methods.
* src/NSUserDefaults.m: ([-initWithContentsOfFile:]) changed to take
process name as being the last path component of the full process
name. Also added code to retry a few times if the database is locked.
* src/TcpPort.m: ([+newForSendingToSockaddr:withAcceptedSocket:pollingInPort:])
Vague attempt to make rapid shutdown/startup of DO more robust.
* src/UnixFileHandle.m: (getAddr()) Fixed error in handling service
names and permit nil service to mean 'any'.
Also use ([NSString -fileSystemRepresentation]) as appropriate.
* src/include/NSGArray.h: modified to contain same instance variables
as the Array class so we can access them directly in NSGArray.m
Mon Jan 26 09:10:39 1998 Adam Fedor <[email protected]>
* src/NSPage.m (NSRealMemoryAvailable): Add implementation for
GNU/Linux (Patch from Matt Jenkins <[email protected]>).
* src/Invocation.m (-setArgument:atIndex:): Make argument const.
* src/NSInvocation.m (-methodSignature): Make my_sel_type const.
Sat Jan 24 15:14:50 1998 Masatake Yamato <[email protected]>
* src/include/NSMethodSignature.h(-methodType):
Declare new category NSMethodSignature(GNU).
* src/Invocation.m ([MethodInvocation -setSelector:]):
Add code to handle a case that sel_pointer is pointing NULL
SEL value. This is far from perfect. Type checking is needed.
* src/NSMethodSignature.m
Add cpp directives to use `strrchr'.
(rtn_type_is_oneway): New function
for [NSMethodSignature -isOneway].
([NSMethodSignature +signatureWithObjCTypes:]): Fix length of
memory allocation for strings.
Do not copy all the encoding string T to returnTypes.
([NSMethodSignature -isOneway]): Method implemented.
([NSMethodSignature(GNU) -methodType]): New category and method.
This is not part of OpenStep spec. This method is used in
NSInvocation.m.
* src/NSInvocation.m ([NSInvocation +initialize]): Add
MethodInvocation class instead of Invocation.
([NSInvocation -methodSignature]): Method implemented.
([NSInvocation +invocationWithMethodSignature:]): Invoke
[NSMethodSignature -methodType] instead of
[NSMethodSignature -methodReturnType].
Wed Jan 21 17:37:00 1998 Richard Frith-Macdonald <[email protected]>
* Tools/defaults.m: Fixed bug in handling 'write' operations reading
info from stdin - now puts all values into the database correctly.
* src/TcpPort.m: ([+newForReceivingFromPortNumber:]) added code to
perform retries if the kernel freaks out when asked to select the
port to bind to - this has happened to me on linux!
Wed Jan 21 11:45:00 1998 Richard Frith-Macdonald <[email protected]>
* src/GetDefEncoding.m: Modified GetDefEncoding() to us the NSString
method - ([+availableStringEncodings]) so we can make the
_availableEncodings array local to NSString.m
* src/NSString.m: Moved _availableEncodings here from NSString.h
Added methods as specified in Rhapsody documentation -
([+pathWithComponents:]), ([-isAbsolutePath]), ([-pathComponents]),
([-stringsByAppendingPaths:])
* src/include/NSString.h: Moved _availableEncodings from here to
NSString.m and added declarations for new methods -
([+pathWithComponents:]), ([-isAbsolutePath]), ([-pathComponents]),
([-stringsByAppendingPaths:])
Wed Jan 21 09:41:46 1998 Adam Fedor <[email protected]>
* src/Makefile.postamble: Change $(LEX) to $(FLEX) and $(YACC) to
$(BISON). Add $(GNUSTEP_OBJC_DIR) to targets with ${OEXT}.
Tue Jan 20 19:05:00 1998 Richard Frith-Macdonald <[email protected]>
* Tools/GNUmakefile: Added defaults.m
* Tools/defaults.m: New file defaults.m - command line tool like the
OPENSTEP defaults command. Renders dread, dwrite and dremove obsolete.
* Tools/dread.m: Added -u flag and made numerous bug fixes.
* Tools/dremove.m: Added -u flag and made numerous bug fixes.
* Tools/dwrite.m: Added -u flag and made numerous bug fixes.
* checks/GNUmakefile (TEST_TOOL_NAME): Add nstask.
* checks/nsdate.m: Added some year-2000 tests.
* checks/nstask.m: New file.
* src/Dictionary.m: Removed ([-descriptionWithIndent:]) and the
([-description]) methods - no longer needed for property lists.
* src/GNUmakefile: Added NSTask
* src/GetDefEncoding.m: Fixed so that the encoding that is read from
the environment is accepted.
* src/Heap.m: Added implementation of ([-minObject]) to take
advantage of the known ordering of a heap - fixes performance
problem with large numbers of timers in NSRunLoop.
* src/NSArray.m: Implemented many new methods for OPENSTEP -
([+arrayWithArray:]), ([+arrayWithContentsOfFile:]),
([+arrayWithObjects:count:]), ([-getObjects:]),
([-getObjects:range:]), ([-indexOfObjectIdenticalto:inRange:]),
([-indexOfObject:inRange:]), ([-makeObjectsPerformSelector:]),
([-makeObjectsPerformSelector:withObject:]), ([-sortedArrayHint]),
([-sortedArrayUsingFunction:context:hint:]),
([-pathsMatchingExtensions:]), ([-descriptionWithLocale:]),
([-descriptionWithLocale:indent:),
([-replaceObjectsInRange:withObjectsFromArray:]),
([-initWithContentsOfFile:]), ([-removeObject:inRange:]),
([-removeObjectIdenticalTo:inRange:]), ([-removeObjectsInRange:])
Modified ([-makeObjectsPerform:]) and
([-makeObjectsPerform:wihtObject:]) to iterate through array in
reverse as specified in OPENSTEP docs.
Removed obsolete method - ([-descriptionWithIndent:])
* src/NSArray.m: Implemented new methods for OPENSTEP -
([+dataWithData:]), ([-setData:])
Modified ([-description]) to give tidier output.
* src/NSCalendarDate.m: Changed initialisation and creation methods to
return type id as in the Rhapsody docs, also changed default format for
description to use numeric timezone values as per Rhapsody docs.
* src/NSData.m: Implemented new methods for OPENSTEP -
([+dataWithData:]), ([-setData:])
Modified ([-description]) to give tidier output.
* NSDate.m: Changed initialisation and creation methods to return type
id as in the Rhapsody docs.
* src/NSDictionary.m: Implemented new methods for OPENSTEP -
([-keysSortedByValueUsingSelector:]),
([-objectsForKeys:notFoundMarker:]), ([-description]),
([-descriptionInStringsFileFormat]), ([-descriptionWithLocale:]),
([-descriptionWithLocale:indent:]), ([-setDictionary:]),
* src/NSFileHandle.m: Added extensions for getting information
about sockets used in file handles.
* src/NSString.m: Removed ([-quotedCString]) and added new method
([-descriptionForPropertyList]) to do things more neatly.
Fixed ([-initWithContentsOfFile:]) to avoid crash when given a bad
file name.
* src/NSTask.m: Added this OPENSTEP/Rhapsody class.
* src/TcpPort.m: Added check for bad data arriving on descriptor
in ([-_tryToGetPacketFromReadableFD:])
* src/UnixFileHandle.m: Added stuff for getting information
about sockets used in file handles.
* src/include/IndexedCollecting.h: Made 'IndexRange' a synonym for
NSRange.
* src/include/NSArray.h: Changes to reflect the changes in methods
implemented in NSArray.m
* src/include/NSData.h: Changes to reflect the changes in methods
implemented in NSData.m
* src/include/NSDate.h: Changed return tpes of initialisation methods
to be (id) as in Rhapsody documentation.
* src/include/NSDictionary.h: Changes to reflect the changes in methods
implemented in NSData.m
* src/include/NSFileHandle.h: Changes to reflect the changes in methods
implemented in NSFileHandle.m
* src/include/NSString.h: Changes to reflect the changes in methods
implemented in NSString.m
* src/NSTask.h: Added this OPENSTEP/Rhapsody class.
* src/include/UnixFileHandle.h: Changes to reflect the changes in
methods implemented in UnixFileHandle.m
* src/proplist.y: Make parsing less strict - permit dictionaries
with or without a semicolon after the last key-value pair.
* src/stringsfile.y: Fixed bug in parser - it is legitimate to have
a key-value pair without a value - in which case the '=' is omitted.
Fri Jan 9 10:04:09 1998 Adam Fedor <[email protected]>
* Version: Release 0.4.0.
Thu Jan 8 09:42:39 1998 Adam Fedor <[email protected]>
* doc/announce.tmpl.texi: Fixup variable definitions.
* doc/news.tmpl.texi: Likewise.
* doc/todo.tmpl.texi: Update.
Sun Jan 4 13:26:03 1997 Stevo Crvenkovski <[email protected]>
* doc/news.tmpl.texi: Replace my old e-mail.
* src/GNUmakefile : add GetDefEncoding.m and GetDefEncoding.h.
* src/GetDefEncoding.m : new file.
* src/NSGCString.m ([NSGCString
-initWithCStringNoCopy:length:freeWhenDone:]): Move
[super init] to the begining of code.
* src/NSGCString.m ([NSGMutableCString initWithCapacity:]):
Likewise.
* src/NSGCString.m ([NSGMutableCString -
initWithCStringNoCopy:length:freeWhenDone:]): Likewise.
* src/NSGString.m ([NSGString -
initWithCharactersNoCopy:length:freeWhenDone:]): Likewise.
* src/NSGString.m ([NSGMutableString initWithCapacity:]):
Likewise.
* src/NSGSequence.m ([NSGSequence decompose]): Check for lenght>1:
* src/NSString.m ([NSGString initialize]): Set
_DefaultStringEncoding variable using GetDefEncoding().
* src/NSString.m initWithData:encoding:]) : Number of bug fixes.
* src/NSString.m ([NSString initWithContentsOfFile:]) : Method
rewriten.
* src/NSString.m ([NSString hash]) : Method rewriten.
* src/NSString.m ([NSString lineRangeForRange:]) : New OPENSTEP
method implemented.
* src/NSString.m ([NSString
getLineStart:end:contentsEnd:forRange:]) : New OPENSTEP method
implemented.
* src/NSString.m ([NSString capitalizedString]) : Take care of
white space characters properly.
* src/NSString.m ([NSString defaultCStringEncoding]) : Changed to
read new _DefaultStringEncoding variable.
* src/NSString.m ([NSString availableStringEncodings]) : New
OPENSTEP method implemented.
* src/NSString.m ([NSString localizedNameOfStringEncoding]) : New
OPENSTEP method implemented.
* src/NSString.m ([NSString
dataUsingEncoding:allowLossyConversion:}) : Number of bug fixes.
* src/NSString.m ([NSString writeToFile:atomically:]) : Attempt to
write in default c string encoding, if failed write in Unicode.
* src/include/GetDefEncoding.h : New file.
* src/include/NSString.h typedef enum _NSStringEncoding
Changed to OPENSTEP spec.
* src/include/NSString.h declare new OPENSTEP methods.
Sat Jan 3 14:05:32 1998 Scott Christley <[email protected]>
* confdefs.h: Delete transient file.
* src/include/Foundation.h: New file.
* src/include/NSEnumerator.h: New file.
* src/GNUmakefile: Install new header files.
* src/include/NSUtilities.h: Move NSEnumerator interface
to NSEnumerator.h file.
* src/NSObject.m (-copyWithZone:): Eliminate semicolon.
* Fix memory allocation function usage. (As reported by
Matthias Klose <[email protected]>).
* src/Connection.m (-_service_forwardForProxy:): Use
function instead of function pointer.
* src/Decoder.m (-decodeClass, -decodeSelectorWithName:): Likewise.
* src/Invocation.m (-initWithReturnType:): Likewise.
(-_initArgframeFrom:withType:retainArgs:): Likewise.
(-_deallocArgFrame): Likewise.
* src/NSAutoreleasePool.m (-reallyDealloc): Likewise.
* src/NSConnection.m (-_service_forwardForProxy:): Likewise.
* src/TextCStream.m (-decodeValueOfCType:at:withName:): Likewise.
* src/include/objc-gnu2next.h (list_cons): Likewise.
(list_remove_head, list_free): Likewise.
* src/include/preface.h.in (OBJC_FREE): Likewise.
Fri Jan 2 13:04:53 1998 Adam Fedor <[email protected]>
* doc/Makefile.postamble: Generate html,texi from tmpl.texi files.
* doc/announce.tmpl.texi: Renamed from announce.texi
* doc/faq.tmpl.texi: Likewise.
* doc/gnustep-base.tmpl.texi: Likewise.
* doc/gnustep-howto.tmpl.texi: Likewise.
* doc/gnustep-zones.tmpl.texi: Likewise.
* doc/coding-standards.tmpl.texi: Likewise.
* doc/install.tmpl.texi: Likewise.
* doc/manual.tmpl.texi: Likewise.
* doc/news.tmpl.texi: Likewise.
* doc/readme.tmpl.texi: Likewise.
* doc/todo.tmpl.texi: Likewise.
* NSZone.texi: Removed.
* STATUS: removed.
* MACHINES: removed.
* doc/status.tmpl.texi: New file.
Wed Dec 31 13:58:51 1997 Adam Fedor <[email protected]>
* STATUS: Updated status on a few classes.
* doc/GNUmakefile (TOP_DOC_FILES): Add GNUstep-HOWTO.
* doc/gnustep-howto.texi: Update documentation.
* doc/gnustep-faq.texi: Likewise.
* doc/install.texi: Likewise.
* doc/readme.texi: Likewise.
Mon Dec 29 09:16:34 1997 Adam Fedor <[email protected]>
* src/Random.m ([Random -randomFloatBetween:and:]): Add lowBound
(Fix suggested by Masatake Yamato <[email protected]>).
Fri Dec 26 10:25:00 1997 Richard Frith-Macdonald <[email protected]>
* src/NSCalendarDate.m:
([-dateByAddingYears:months:days:hours:minutes:seconds:]) Fixed
bug in wrapping months when adding date to december.
* src/NSUserDefaults.m: ([-__createArgumentDictionary]) Fixed to
use command line args beginning with a dash as defaults keys.
Retained old behaviour for -GS and --GS prefixes for backward
compatibility.
Fri Dec 19 13:09:28 1997 Adam Fedor <[email protected]>
* src/NSGeometry.m (NSPointFromString, NSSizeFromString,
NSRectFromString): New functions.
* src/include/NSGeometry.h: New function defs.
* NSCTemplateValue.m (-description): Use them.
Tue Dec 16 22:35:00 1997 Richard Frith-Macdonald <[email protected]>
* src/Decoder.m: Modified to use a single, class-wide dummy object
as a placeholder in cross-reference tables. This gives a slight
speed and memory usage improvement.
* src/MemoryStream.m: Avoid using autorelease where possible in order
to improve efficiency.
* src/NSConnection.m: ([+rootProxyAtPort:]) modified to refrain from
creating a new connection when we already have one for the given
output port.
* src/Random.m: ([-randomDie:]) Fixed to confirm to description in
comments.
* src/TcpPort.m: Changed size field in packets to be 4 bytes long
rather than 2. This allows messages to be more than 64K bytes long
and is essential for things like pasteboard operations.
Thu Dec 18 16:17:22 1997 Yoo C. Chung <[email protected]>
* src/NSProcessInfo.m (_gnu_process_noobjc_args): Use malloc().
(_gnu_noobjc_free_vars): Use free().
Thu Dec 11 13:58:39 1997 Adam Fedor <[email protected]>
* configure.in: Remove unneeded tests.
* GNUmakefile (SUBPROJECTS): Remove checks and examples.
Tue Dec 9 17:47:21 1997 Yoo C. Chung <[email protected]>
* src/include/behavior.h: Include <objc/objc-api.h>.
* src/NSProcessInfo.m: Include <unistd.h>.
* src/NSPipe.m: Include <unistd.h>.
* src/NSPage.m: Include <string.h>.
* src/NSLog.m: Include <unistd.h>.
* src/NSHost.m: Include <unistd.h>.
* src/NSDistributedLock.m: Include <string.h>.
* src/NSDictionary.m: Include <gnustep/base/behavior.h>.
* src/NSBundle.m ([NSBundle
+_bundleResourcePathsWithRootPath:subPath:]): Removed unused
variables.
* src/NSArray.m: Include <gnustep/base/behavior.h>
([NSArrayNonCore -descriptionWithIndent:]): Changed argument to
unsigned.
* src/UnixFileHandle.m: Include <arpa/inet.h> and <string.h>.
* src/UdpPort.m: Include <unistd.h>.
* src/StdioStream.m: Include <string.h>.
* src/Coder.m: Include <gnustep/base/behavior.h>.
* src/NSUser.m (NSHomeDirectoryForUser): Use objc_malloc().
* src/NSData.m ([NSDataMalloc -initWithCoder:]): Check malloc.
([NSMutableDataMalloc -initWithCoder:]): Likewise.
* src/List.m: Removed unused macros.
Sun Dec 7 23:22:07 1997 Stevo Crvenkovski <[email protected]>
* src/NSGCString.m ([NSGMutableCString
-initWithCharactersNoCopy:length:freeWhenDone:]): Changed to
invoke instance of NSGMutableString.
* src/NSGString.m ([NSGMutableString
-initWithCStringNoCopy:length:freeWhenDone:]): Changed to invoke
instance of NSGMutableCString.
* src/NSGString.m ([NSGMutableString
-initWithCharactersNoCopy:length:freeWhenDone:]): Method
implemented. Based on code by Richard Frith-Macdonald
* src/NSGCString.m ([NSGMutableCString
-initWithCStringNoCopy:length:freeWhenDone:]): Changed to fix
memory leak in this method. Code by Richard Frith-Macdonald
* src/NSGCString.m ([NSGCString -dealoc]): Changed to avoid
compiler warning.
* src/NSGCString.m ([NSGCString -initWithCStringNoCopy: length:
freeWhenDone:]): Changed to conform with class cluster definition.
* src/NSGString.m ([NSGString -initWithCharactersNoCopy: length:
freeWhenDone:]): Idem.
* src/NSGCString.m ([NSGMutableCString -initWithCapacity]): Idem.
* src/NSString.m ([NSString -init]): Idem.
* src/NSGCString.m ([NSGCString -init]): Method implemented to
conform with class cluster definition.
* src/NSGCString.m ([NSGMutableCString -init]): Idem.
* src/NSGString.m ([NSGString -init]): Idem.
* src/NSGString.m ([NSGMutableString -init]): Idem.
* src/NSString.m ([NSString -replaceCharactersInRange:
withString:]): Change to be subclass responsibillty. This should
be pimitive method.
* src/NSGString.m ([NSGString -replaceCharactersInRange:
withString:]): Move implementation from NSString here.
* src/NSGCString.m ([NSGCString -replaceCharactersInRange:
withString:]): Idem.
* src/NSString.m ([NSString +stringWithString]): New OPENSTEP
method implemented.
* src/NSString.m ([NSString -substringFromRange]): Method
implemented
* src/NSString.m ([NSString -substringWithRange]): New OPENSTEP
method implemented.
* src/NSString.m ([NSString -hash]): Remove C String
implementation as Unicode implementation now works.
* src/NSString.m ([NSString -getFileSystemRepresentation]) Correct
name of method.
* src/NSString.m ([NSString -_normalizedString]):Bug fixed.
* src/NSString.m ([NSString -mutableCopy]): Implemented to avoid
compiler warning. Why is this warning anyway? Method should be
inherited from NSObject.
* src/NSString.m ([NSString -deleteCharactersInRange:]): Method
implemented.
* src/NSString.m ([NSString -insertString: atIndex:]): Method
implemented.
* src/NSString.m ([NSString -setString:]): Method implemented.
* src/NSString.h ([NSString +stringWithString:]): Method declared.
* src/NSString.h ([NSString -substringWithRange:]): Method
declared.
Fri Nov 28 12:52:06 1997 Scott Christley <[email protected]>
* Tools/GNUmakefile (OBJC_PROGRAM_NAME): Reverse prior change.
* Tools/Makefile.postamble (after-install): Install gdomap
from the proper directory.
* checks/nsattributesstring.m (NSFontAttributeName): New variable.
(NSForegroundColorAttributeName): New variable.
(NSBackgroundColorAttributeName): New variable.
* src/GNUmakefile: Install headers in gnustep not gnustep/base.
* src/Makefile.preamble (ADDITIONAL_INSTALL_DIRS): Likewise.
* src/NSTimeZone.m (LOCALDBKEY, ZONES_DIR): Make NSStrings.
(+getTimeZoneFile:): ZONES_DIR is NSString.
* src/o_map.m (INLINE): Use macro so its easy to un-inline
functions if debugging.
Wed Nov 26 16:08:20 1997 Adam Fedor <[email protected]>
* Tools/GNUmakefile (OBJC-PROGRAM_NAME): Change from underscore.
* checks/GNUmakefile: include new test-tool.make.
* examples/GNUmakefile: Likewise.
* src/Makefile.postamble (FORCE): New target.
* src/ostream.m (_ostream_new_stream_struct): Use "r+" for append
or read/write mode.
Wed Nov 26 11:30:00 1997 Richard Frith-Macdonald <[email protected]>
* Tools/dwrite.m: Fix problem with uninitialised variable.
* src/NSConnection.m: Added [+connectionByOutPort:] and
[+connectionByInPort:OutPort:] methods to lookup connections for
use by other barts of the DO system.
Added [-_service_retain:] and [-retainTraget:] methods to handle
special case of retaining of proxies.
* src/NSDistantObject.m: ([+newWithCoder:]) modified to fix two
problems to do with proxies passed in a triangle -
1. if passed a proxy to an object in a third server, use any
existing connection to that third server if possible rather
than creating a new connection.
2. if passed a proxy to an object in a third server, tell the
third server to retain it's local object for us.
* src/NSUserDefaults.m: various modifications to fix for getting
the defaults for a user other than the logged in user - eg when a
server process runs setuid to a particular user ID and wants to
read the defaults for that user rather than the user who actually
launched it. Also - added code to break the lock on the defaults
database if it is more than five minutes old.
* src/include/DistributedObjects.h: modifications for retaining
objects.
* src/include/NSPortCoder.h: removed unneccessary include.
* src/include/NSUserDefaults.h: minor changes for coping with
tasks runnning setuid to a user other than the person who launched
them.
Fri Nov 21 13:14:31 1997 Adam Fedor <[email protected]>
* src/NSAttributedString.m (-initWIthString:attributes:): Make
designated initializer.
* src/NSGAttributedString.m: (_initWithString): Save value of
textChars.
* src/include/NSAttributedString.h: Update comments, Remove
attribute strings.
Fixes submitted by <[email protected]>.
Tue Nov 18 14:13:13 1997 Adam Fedor <[email protected]>
* src/include/NSNotification.h: Correct placeholder size (bug
submitted by Ville-Pertti Keinonen <[email protected]>.
Wed Nov 12 10:10:33 1997 Adam Fedor <[email protected]>
* src/NSString.m (-initWithFormat:args:): Print a "null string"
when string in format is nil.
* src/objc-load.c: Remove ifdef HAVE_CONFIG_H.
* doc/gnustep-howto.texi: Update for new gdb patch file.
Wed Nov 12 12:30:00 1997 Richard Frith-Macdonald <[email protected]>
* src/Collection.m: ([Enumerator -dealloc]) added call dealloction
method in super class to fix memory leak.
* src/KeyedCollection.m: Removed initialisation and deallocation
methods for KeyEnumerator as these are done in its super class.
* src/NSCharacterSet.m: ([-invertedSet:]) added autorelease for data
object (created by mutableCopy) in order to fix memory leak.
* src/NSData.m: Replaced line accidentally deleted in section only
compiled in for systems without shared memory.
Thu Nov 6 19:00:00 1997 Richard Frith-Macdonald <[email protected]>
* Tools/Makefile.postamble: Modified to install gdomap in cpu/os
specific location.
* src/Dictionary.m: ([-descriptionWithIndent:]) Modified to encode
empty strings as "" so that ascii property lists work when a
dictionary entry is empty.
* src/NSArray.m: ([-descriptionWithIndent:]) Modified to encode empty
strings as "" so that ascii property lists work when a string in the
array is empty.
* src/TcpPort.m: Modified in various places so that we look in the
correct location for gdomap.
Thu Nov 6 10:14:39 1997 Adam Fedor <[email protected]>
* src/GNUmakefile (DEFS): Remove PLATFORM_OS.
* src/NSBundle.m: Change platform to gnustep_target_os.
* src/ostream.m (ostream_getc, ostream_read, ostream_vscanf):
Return EOF if stream_obj returned 0.
* doc/gnustep-howto.texi: Use today's date.
Wed Nov 5 16:10:32 1997 Scott Christley <[email protected]>
* src/Invocation.m (-setArgument:atIndex:): Add OpenStep method.
* src/NSGSet.m (-member:): Delete method.
* src/Set.m (-member:): New method.
* src/NSMethodSignature.m (-methodReturnType): Return value.
* configure.in: Remove check for threads library.
* checks/heap.m: Don't prototype random.
* Remove dependency upon config.h by headers files and include
directly in source files because the config.h file is system
dependent and should not be installed.
* src/Archiver.m: Include config.h.
* src/Array.m: Likewise.
* src/Bag.m: Likewise.
* src/BinaryCStream.m: Likewise.
* src/BinaryTree.m: Likewise.
* src/BinaryTreeNode.m: Likewise.
* src/CStream.m: Likewise.
* src/CircularArray.m: Likewise.
* src/Coder.m: Likewise.
* src/Collection.m: Likewise.
* src/ConnectedCoder.m: Likewise.
* src/Connection.m: Likewise.
* src/Decoder.m: Likewise.
* src/DelegatePool.m: Likewise.
* src/Dictionary.m: Likewise.
* src/Encoder.m: Likewise.
* src/GapArray.m: Likewise.
* src/HashTable.m: Likewise.
* src/Heap.m: Likewise.
* src/IndexedCollection.m: Likewise.
* src/Invocation.m: Likewise.
* src/KeyedCollection.m: Likewise.
* src/LinkedList.m: Likewise.
* src/LinkedListNode.m: Likewise.
* src/List.m: Likewise.
* src/Lock.m: Likewise.
* src/MachPort.m: Likewise.
* src/Magnitude.m: Likewise.
* src/MallocAddress.m: Likewise.
* src/MappedCollector.m: Likewise.
* src/MemoryStream.m: Likewise.
* src/NSAllocateObject.m: Likewise.
* src/NSArchiver.m: Likewise.
* src/NSArray.m: Likewise.
* src/NSAssertionHandler.m: Likewise.
* src/NSAttributedString.m: Likewise.
* src/NSAutoreleasePool.m: Likewise.
* src/NSBitmapCharSet.m: Likewise.
* src/NSBundle.m: Likewise.
* src/NSCTemplateValue.m: Likewise.
* src/NSCalendarDate.m: Likewise.
* src/NSCallBacks.m: Likewise.
* src/NSCharacterSet.m: Likewise.
* src/NSCoder.m: Likewise.
* src/NSConcreteNumber.m: Likewise.
* src/NSConcreteValue.m: Likewise.
* src/NSConnection.m: Likewise.
* src/NSCopyObject.m: Likewise.
* src/NSCountedSet.m: Likewise.
* src/NSData.m: Likewise.
* src/NSDate.m: Likewise.
* src/NSDeallocateObject.m: Likewise.
* src/NSDebug.m: Likewise.
* src/NSDictionary.m: Likewise.
* src/NSDistantObject.m: Likewise.
* src/NSDistributedLock.m: Likewise.
* src/NSEnumerator.m: Likewise.
* src/NSException.m: Likewise.
* src/NSFileHandle.m: Likewise.
* src/NSFileManager.m: Likewise.
* src/NSGArchiver.m: Likewise.
* src/NSGArray.m: Likewise.
* src/NSGAttributedString.m: Likewise.
* src/NSGCString.m: Likewise.
* src/NSGCountedSet.m: Likewise.
* src/NSGDictionary.m: Likewise.
* src/NSGSequence.m: Likewise.
* src/NSGSet.m: Likewise.
* src/NSGString.m: Likewise.
* src/NSGeometry.m: Likewise.
* src/NSHashTable.m: Likewise.
* src/NSHost.m: Likewise.
* src/NSInvocation.m: Likewise.
* src/NSLock.m: Likewise.
* src/NSLog.m: Likewise.
* src/NSMapTable.m: Likewise.
* src/NSMethodSignature.m: Likewise.
* src/NSNotification.m: Likewise.
* src/NSNotificationCenter.m: Likewise.
* src/NSNotificationQueue.m: Likewise.
* src/NSNumber.m: Likewise.
* src/NSObjCRuntime.m: Likewise.
* src/NSObject.m: Likewise.
* src/NSPage.m: Likewise.
* src/NSPipe.m: Likewise.
* src/NSPort.m: Likewise.
* src/NSPortCoder.m: Likewise.
* src/NSProcessInfo.m: Likewise.
* src/NSProxy.m: Likewise.
* src/NSRange.m: Likewise.
* src/NSRunLoop.m: Likewise.
* src/NSScanner.m: Likewise.
* src/NSSerializer.m: Likewise.
* src/NSSet.m: Likewise.
* src/NSString.m: Likewise.
* src/NSThread.m: Likewise.
* src/NSTimeZone.m: Likewise.
* src/NSTimer.m: Likewise.
* src/NSUser.m: Likewise.
* src/NSUserDefaults.m: Likewise.
* src/NSValue.m: Likewise.
* src/NSZone.m: Likewise.
* src/NXStringTable.m: Likewise.
* src/Notification.m: Likewise.
* src/NotificationDispatcher.m: Likewise.
* src/OrderedCollection.m: Likewise.
* src/Port.m: Likewise.
* src/Proxy.m: Likewise.
* src/Queue.m: Likewise.
* src/RBTree.m: Likewise.
* src/RBTreeNode.m: Likewise.
* src/RNGAdditiveCongruential.m: Likewise.
* src/RNGBerkeley.m: Likewise.
* src/Random.m: Likewise.
* src/RawCStream.m: Likewise.
* src/Set.m: Likewise.
* src/SplayTree.m: Likewise.
* src/Stack.m: Likewise.
* src/StdioStream.m: Likewise.
* src/Storage.m: Likewise.
* src/Stream.m: Likewise.
* src/TcpPort.m: Likewise.
* src/TextCStream.m: Likewise.
* src/Time.m: Likewise.
* src/UdpPort.m: Likewise.
* src/Unicode.m: Likewise.
* src/UnixFileHandle.m: Likewise.
* src/behavior.m: Likewise.
* src/externs.m: Likewise.
* src/find_exec.c: Likewise.
* src/md5.c: Likewise.
* src/mframe.m: Likewise.
* src/o_array.m: Likewise.
* src/o_cbs.m: Likewise.