forked from bethp0413/gnustep-gui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog.2
6440 lines (4981 loc) · 246 KB
/
ChangeLog.2
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
2001-11-02 Adam Fedor <[email protected]>
* Source/NSSavePanel.m (-_resetDefaults): Set directory only
if nil (otherwise keep the current directory).
2001-11-02 Fred Kiefer <[email protected]>
* Headers/gnustep/gui/NSSlider.h
* Headers/gnustep/gui/NSSliderCell.h
* Source/NSSlider.m
* Source/NSSliderCell.m
Added methods to handle ticks with a dummy implementation.
* Source/NSTextView.m
Added include for NSScrollView to avoid compiler warning.
[_blink] don't call [NSApp updateWindows], just redisplay our
window.
[mouseDown:] replaces all [_window flushWindow] with [self
displayIfNeeded].
* Headers/gnustep/gui/NSGraphicsContext.h
Added APPKIT_DECLARE for GSCurrentContext().
* Headers/gnustep/gui/NSGraphics.h
Replaced APPKIT_EXPORT with APPKIT_DECLARE for all functions and
added some missing APPKIT_DECLARE.
* Headers/gnustep/gui/NSPanel.h
Added APPKIT_DECLARE for all functions.
Wed Oct 31 01:23:16 2001 Nicola Pero <[email protected]>
Implemented blinking insertion point (Work done with Ludovic
Marcotte <[email protected]>).
* Headers/gnustep/gui/NSTextView.h (_drawInsertionPoint): New
ivar.
(_insertionPointTimer): New ivar.
* Source/NSTextView.m ([-initWithFrame:textContainer:]): Set
selected range to 0, 0.
([-initWithCoder:]): Set selected range to 0, 0.
([-_blink]): New method.
([-dealloc]): Invalidate then destroy the insertion point blinking
timer.
([-shouldDrawInsertionPoint]): Don't draw the insertion point if
we are not first responder.
([-setEditable:]): Start/stop insertion point blinking.
([-setSelectedRange:affinity:stillSelecting:]): Stop the insertion
point blinking if the selected range is not of zero length.
([-updateInsertionPointStateAndRestartTimer:]): Start/stop
blinking as appropriate.
([-becomeFirstResponder]): Start blinking if appropriate.
([-resignFirstResponder]): Stop blinking if appropriate.
([-drawRect:]): Only draw the insertion point if we are in the
`on' phase of blinking.
([-becomeKeyWindow]), ([-resignKeyWindow]): Removed.
([-_illegalMovement:]): Stop blinking if appropriate.
2001-10-29 Pierre-Yves Rivaille <[email protected]>
* Headers/gnustep/gui/NSTableView.h:
* Source/NSTableView.m:
[-sizeLastColumnToFit], [-sizeToFit], [-setAutoresizesAllColumnToFit],
[-autoresizesAllColumnsToFit] implementation
sizeToFit now behaves like OS4.2 (it did not)
Various changes for speed improvements ([-drawRect], [-updateCell])
New internal method ([-superviewFrameChanged:]) called by NSClipView
(conforms to OS4.2)
[-initWithCoder]: support for previously archived NSTableView
* Source/NSClipView.m: [-dealloc] and [-setDocumentView:]
Support for NSTableView superviewFrameChanged method
2001-10-28 Pierre-Yves Rivaille <[email protected]>
* Source/NSStepper.m:
* Source/NSStepperCell.m: Major rewrite so that it behaves properly
Now NSStepper does not contain a textfield anymore and can be linked
to any control using the take*ValueFrom: methods
Thu Oct 25 16:42:00 2001 Gregory John Casamento <[email protected]>
* Source/NSSelection.m implemented bodies of methods for NSSelection.
The behaviour implemented is identical to that observed when testing
NSSelection under OPENSTEP with the exception that I have replaced
the word "NeXT" with "GNUstep" in the selection marker descriptions.
* Source/NSOutlineView.m implelemented a skeletal version of this
class to be filled in later.
* Headers/NSOutlineView.h created a skeletal version of this header
to be filled in later.
* Headers/AppKit.h added #include for NSOutlineView.h.
* Source/GNUmakefile added reference to NSOutlineView.h and
NSOutlineView.m
Wed Oct 24 11:01:33 2001 Nicola Pero <[email protected]>
* Source/NSBrowser.m ([NSBrowser -_getTitleOfColumn:]): Make sure
we never return nil. (Suggestion by Ludovic Marcotte
2001-10-24 Pierre-Yves Rivaille <[email protected]>
* Source/NSButtonCell.m ([NSButtonCell -_init]):
set the alternate title and the keyEquivalent to @""
(by default this was nil)
Tue Oct 23 04:16:57 2001 Nicola Pero <[email protected]>
Patch by Ludovic Marcotte <[email protected]>:
* Source/NSTextView.m ([-mouseDown:]): Check if the click was on a
text attachment cell only if the text storage contains text
attachments, rather than only if the text view imports graphics.
Tue Oct 23 15:06:57 2001 Nicola Pero <[email protected]>
Patch by Ludovic Marcotte <[email protected]>:
* Source/NSOpenPanel.m ([-_selectTextInColumn:]): Updated calls
to setStringValue: for last change.
* Source/NSSavePanel.m ([NSSavePanel -selectText:]): Idem.
Tue Oct 23 10:32:18 2001 Nicola Pero <[email protected]>
* Source/NSCell.m ([-setStringValue:]): Check with an assertion
that the string value is not nil - for Mac OS-X
compatibility. (Suggested by Ludovic Marcotte
Mon Oct 22 01:10:24 2001 Nicola Pero <[email protected]>
* Source/NSWindow.m ([NSWindow -dealloc]): Remove all subviews
from this window before releasing them. This fixes crashes when
some views were deallocated after the window.
2001-10-21 Fred Kiefer <[email protected]>
* Source/NSScrollView.m
Implemented [setRulerViewClass:] and preset to NSRulerView. Cache
the scrollerWidth in a class var, use this in all methods.
Use _sizeForBorderType() from NSCell to determine the border size
in all methods that handle borderType. Replaced all uses of
AUTORELEASE with explicit RELEASE calls. In [setContentView:]
don't RETAIN the content view, as this is handled by the normal
subview mechanism. (Don't RELEASE it in [dealloc] and
[removeSubview:]) Added dummy method [scrollWheel:].
Implemented the ruler methods, but this are still not handled in
[tile] and [drawRect:].
* Header/gnustep/gui/NSScroller.h
Added some MacOSX methods.
* Source/NSScroller.m
Dummy implementation for those methods.
Thu Oct 18 16:21:37 2001 Nicola Pero <[email protected]>
* Source/NSClipView.m ([-dealloc]): Remove us from observing the
document view notifications. (Suggestion by Ludovic Marcotte
* Source/NSTextContainer.m ([-dealloc]): Remove us from observing
the text view notifications. (Suggestion by Ludovic Marcotte
2001-10-17 Adam Fedor <[email protected]>
* Source/NSMenuItemCell.m (calcSize): Set size to 0 if image does
not exist.
Wed Oct 17 04:30:25 2001 Nicola Pero <[email protected]>
* Source/NSTabView.m ([NSTabView -dealloc]): Do not release the
selected tab view item (Patch by Ludovic Marcotte
Wed Oct 17 18:18:54 2001 Nicola Pero <[email protected]>
* Source/NSTableView.m ([-setDataSource:]): Do not release the old
data source; do not retain the new one.
([-dealloc]): Do not release the data source.
(Suggested by Ludovic Marcotte <[email protected]>)
* Source/NSTableView.m ([-initWithCoder:]): Do not retain the data
source when decoding it.
2001-10-16 Adam Fedor <[email protected]>
* GNUmakefile.postamble (before-install): Remove extra /
* TextConverters/RTF/GNUmakefile: Add BUNDLE_LIBS on mingw32/cygwin
(bug report from [email protected]).
* Source/NSMenuItemCell.m (calcSize): Check that images exist
before asking for their size (assigning structs from nil objects
crashes Solaris).
* Make sure classes are linked in when shared=no
* Source/linking.m: New file.
* Source/extern.m (__objc_gui_force_linking): Linking function.
2001-10-16 Pierre-Yves Rivaille <[email protected]>
* Source/NSTableView.m ([selectColumn:byExtendingSelection]):
Do not send NSTableViewSelectionDidChangeNotification when selection
is not changed (was not always working with flag=NO)
* Source/NSTableView.m ([selectRow:byExtendingSelection]): Likewise
2001-10-15 Adam Fedor <[email protected]>
* Headers/gnustep/gui/DPSOperators.h: New functions DPSPrintf,
DPSWriteData
* Headers/gnustep/gui/GSMethodTable.h: Likewise.
* Headers/gnustep/gui/NSGraphicsContext.h: Likewise.
* Source/NSGraphicsContext.m: Implement.
* Headers/gnustep/gui/NSPageLayout.h: Change some ivars.
* Headers/gnustep/gui/NSPrintOperation.h: Add an ivar.
* Headers/gnustep/gui/NSPrintPanel.h: Remove outlets, use tags instead.
* Panels/GNUmakefile: Add GSPageLayout gorm files.
* Source/NSPageLayout.m: Rewrite (set NSPrintInfo, use gorm files).
* Source/NSPrintOperation.m (_print): Start of implementation. Use
NSView to add PS headers, etc.
* Source/NSPrintPanel.m: Rewrite using tags not outlets. Document.
* Documentation/gsdoc/NSPrintPanel.gsdoc: Regenerate
* Documentation/gsdoc/NSPageLayout.gsdoc: Likewise.
* Model/GNUmakefile: Add OBJC_LIB to DEPENDS_UPON line.
* Source/NSFontPanel.m (init): setBecomesKeyOnlyIfNeeded to YES.
2001-10-14 Fred Kiefer <[email protected]>
* Source/NSPopUpButtonCell.m
Added methods [setAction:] and [setTarget:], which call the super
implementation and also update the menu.
Thu Oct 11 13:53:22 2001 Nicola Pero <[email protected]>
* Source/NSMatrix.m ([-setTarget:]): Do not retain the target
(patch by Ludovic Marcotte <[email protected]>)
* Source/NSMatrix.m ([-textShouldEndEditing:]): Access _target
ivar directly.
2001-10-08 Adam Fedor <[email protected]>
* Source/NSPrintOperation (_runOperation): New internal method.
(runOperation): Use it.
(-runOperationModalForWindow:delegate:didRunSelector:contextInfo:):
Implement.
(-createContext): Use our context if already created. Set the
path from the NSPrintInfo object if available.
* Source/NSPrintPanel.m
(beginSheetWithPrintInfo:modalForWindow:delegate:didEndSelector:
contextInfo:): Implement.
Remove coding methods.
Mon Oct 8 14:50:44 2001 Nicola Pero <[email protected]>
* Tools/wgetopt.h: New file copied from base/Testing/wgetopt.h.
* Tools/example.m: Include wgetopt.h.
* Tools/gpbs.m: Include wgetopt.h.
Mon Oct 8 15:05:34 2001 Nicola Pero <[email protected]>
* Source/NSWindowController.m ([-setDocument:]): Set the window to
be released when closed if document is non nil, and not to be if
document is nil.
([-loadWindow]): Idem after loading the nib.
([-initWithWindow:]): Call setDocument: nil.
* Source/NSWindowController.m ([-_windowWillClose:]): Do nothing
if the window is not to be released when closed (suggestion by
Ludovic Marcotte <[email protected]>).
2001-10-08 Fred Kiefer <[email protected]>
* Source/NSPopUpButtonCell.m
[insertItemWithTitle:atIndex:] don't set the action and target for
the item, so it will use the action from the popup button.
2001-10-08 Fred Kiefer <[email protected]>
* Headers/gnustep/gui/NSMenu.h
Replace ivar _isBeholden_byPopup with _popUpButtonCell. Change
method [_setOwnedByPopUp:] to take an NSPopUpButtonCell instead
of a Bool.
* Source/NSMenu.m
Adopted to changes in header. In [update] check for popup buttons
also the action of the popup itself, if there is non for the item.
In [performActionForItemAtIndex:] if we are owned by a popup
button, send this action, if the menu item does not have an action.
* Source/NSPopUpButtonCell.m
Changed all calls to [NSMenu _setOwnedByPopUp:] and added missing
one in [setMenu:].
2001-10-08 Fred Kiefer <[email protected]>
* Headers/gnustep/gui/NSScreen.h
Added method [resetScreens].
* Source/NSScreen.m
Removed function _screenNumbers. Moved class method to front. Use
[screens] in method [mainScreen]. Cache screens in mehtod
[screens]. Use the context from NSApp instead of the current
context in all calls. In [deepestScreen] replace NSScreen by self.
Added method [resetScreens].
2001-10-06 Adam Fedor <[email protected]>
* Headers/gnustep/gui/NSPrintPanel.h: Define ivars.
* Panels/GNUmakefile: add GSPrintPanel.gorm
* Source/NSPrintPanel.m: Implement.
* Source/NSPopUpButtonCell.m (initWithCoder:): Make menu owned
by popup.
* Source/NSPrintOperation.m
(-initWithView:insideRect:toData:printInfo:): set showPanel to YES.
* Source/NSView.m (displayRectIgnoringOpacity:): Move unlockFocus
after drawing subviews (fix from [email protected]).
* Source/libgnustep-gui.def: Remove NSMenuWindow.
* Model/GNUmakefile (libgmodel_BUNDLE_LIBS): New var.
(fix suggested by [email protected]).
2001-10-06 Fred Kiefer <[email protected]>
* Header/gnustep/gui/NSCell.h
Added enumerator NSControlSize.
* Header/gnustep/gui/NSProgressIndicator.h
Prefixed all ivars with an underscore and added ivars for
indeterminate progress. Added some constant definitions and
control size and tint methods.
* Source/NSProgressIndicator.m
Adopted to changes in header and added some code for displaying
indeterminate progress.
* Header/gnustep/gui/NSRulerMarker.h
* Header/gnustep/gui/NSRulerView.h
Added copyright notice and defined some ivars.
* Source/NSRulerMarker.m
* Source/NSRulerView.m
Some basic implementation of these classes.
* Source/GNUmakefile
Compile NSRulerMarker and NSRulerView.
* Source/NSAttributedString.m
Protected all initXXX methods so that for empty input nil will be
returned.
Sat Oct 6 17:23:49 2001 Nicola Pero <[email protected]>
* Source/NSWindowController.m ([-initWithWindowNibName:owner:]):
Raise and exception on nil nib name or on nil owner.
([-init]): Call initWithWindow: rather than initWithWindowNibName:
because the latter can't accept a nil argument.
([-initWithWindow:]): Assign to self the result of [super init].
2001-10-03 Adam Fedor <[email protected]>
* Headers/gnustep/gui/NSNibLoading.h: New GSCustomView class.
* Source/NSBundleAdditions.m: Implement it.
2001-10-02 Adam Fedor <[email protected]>
* Source/NSWindow.m (-orderWindow:relativeTo:): setFrame: to the
new constrained rect (if changed).
2001-09-28 Fred Kiefer <[email protected]>
* Header/gnustep/gui/NSPopupButton.h
Removed all ivars and cleaned up the rest.
* Source/NSPopupButton.m
Removed the specific coding code.
[mouseDown:] and [keyDown:] don't send notification, as this is
done by the cell. Also don't send our action, as the action of the
menu item is already send. Changed call order of [dismissPopUp]
and [synchronizeTitleAndSelectedItem].
In [keyDown:] send item action via [NSMenu performActionForItemAtIndex:]
* Header/gnustep/gui/NSPopupButtonCell.h
Removed unneeded ivars.
* Source/NSPopupButtonCell.m
In [encodeWithCoder:] and [initWithCoder:] also encode the menu.
* Testing
Removed this directory.
* Tools/Functions.m
Removed this file.
* Tools/GNUmakefile
Removed references to Functions.m
Wed Sep 26 23:04:57 2001 Nicola Pero <[email protected]>
* Source/NSFileWrapper.m
([-writeToFile:atomically:updateFilenames:]): Use only the last
part of the path when saving it into the filename (patch by
Ludovic Marcotte <[email protected]>).
2001-09-25 Adam Fedor <[email protected]>
* Source/NSView.m: Add viewIsPrinting "class" variable.
(-lockFocusInRect:): Add special code when printing
(-unlockFocusNeedsFlush:): Likewise.
(-dataWithEPSInsideRect:): Set/reset viewIsPrinting.
2001-09-16 Georg Fleischmann
* Source/NSPrintOperation.m
[NSPrintOperation -destroyContext:]: remove context from the context
list. Otherwise we will never get dealloced.
[NSPrintOperation -_print:]: use displayRectIgnoringOpacity to avoid
drawing of our ancestors.
[GSEPSPrintOperation -createContext:]: create a context.
[GSEPSPrintOperation -deliverResult:]: add contents of written file
to data object.
2001-09-24 Fred Kiefer <[email protected]>
* Header/gnustep/gui/NSWindow.h
Added three BOOL flags for subclasses.
* Header/gnustep/gui/NSPanel.h
Defined additional window masks. Removed all unneeded ivars and
replaced the others by the superclass additional flags.
* Source/NSPanel.m
Implemented coding for NSPanel. For GSAlertPanel reoranised the
initXXX code. Moved the GModel methods into a separate category,
removing [createObjectForModelUnarchiver:] as this was (incorrectly)
duplication code from the super class.
Implemented NSBeginAlertSheet(), NSBeginCriticalAlertSheet() and
NSBeginInformationalAlertSheet().
2001-09-23 Fred Kiefer <[email protected]>
* Source/NSMenu.m
[insertItem:atIndex:] set the menu of the item after the insert
notification has been send. [initWithCoder:] send change
notifications as one block.
2001-09-23 Fred Kiefer <[email protected]>
* Source/GSSimpleLayoutManager.m
[GSSimpleLayoutManager boundingRectForGlyphRange:inTextContainer:]:
Use lineFragmentRect instead of usedRect, so that the full line
gets cleared. This still is not correct for all cases.
* Header/gnustep/gui/NSPageLayout.h
Removed ivar _new added ivar _accessoryView. Added sheet method.
* Source/NSPageLayout.m
Small layout improvements.
* Tools/.cvsignore
Ignore all services.
* Model/.cvsignore
Ignore the bundle
* TextConverter/RTF/.cvsignore
New file to ingore all temporary files.
2001-09-20 Fred Kiefer <[email protected]>
* Source/NSMenu.m
[initWithCoder:] make sure the supermenu of a submenu is nil
before adding it to an item. This resolves drag problem for
"format" menu in Gorm.
Mon Sep 17 11:17:46 2001 Nicola Pero <[email protected]>
* Documentation/gnustep-gui.texi (Keyboard Modifiers): Updated for
the change in xgps/xdps, where we now use Mode_switch as default
for ALTERNATE if Alt_R is not on the keyboard.
2001-09-17 Fred Kiefer <[email protected]>
* Header/gnustep/gui/NSApplication.h
Added some new MacOSX methods.
* Source/NSApplication.m
Dummy implementation for [hideOtherApplications:] and
[unhideAllApplications:]. Simple implementation for
[runModalForWindow:relativeToWindow:], [endSheet:] and [beginSheet:...].
Removed various uneeded [update] and [sizeToFit] calls for menu operations.
* Header/gnustep/gui/NSSavePanel.h
Added some new MacOSX methods. Removed ivar _selfHasShowExtensionFilter.
* Source/NSSavePanel.m
Implemented [URL]. New methods [_setupForDirectory:file:] and
[_shouldShowExtension:isDir:]. Removed check for extension filter
in [init]. Simplified [runModalForDirectory:file:]. Implemented
[runModalForDirectory:...relativeToWindow:] and
[beginSheetForDirectory:...]. In [browser:createRowsForColumn:inMatrix:]
allways call [_shouldShowExtension:isDir:].
* Header/gnustep/gui/NSOpenPanel.h
Added some new MacOSX methods.
* Source/NSOpenPanel.m
Implemented [URLs]. New method [_setupForDirectory:file:]. Simplified
[runModalForDirectory:file:types:]. Implemented
[runModalForDirectory:...relativeToWindow:] and [beginSheetForDirectory:...].
Declare all needed private methods from NSSavePanel.
* Header/gnustep/gui/NSAttributedString.h
Added method [NSMutableAttributedString
readFromURL:options:documentAttributes:].
* Source/NSAttributedString.m
Implemented [readFromURL:options:documentAttributes:]. In
[applyFontTraits:range:] use [NSFontManager
convertFont:toHaveTrait:] instead of explicit font creation.
2001-09-16 Adam Fedor <[email protected]>
* Source/NSImage.m (-initByReferencingFile:): set archiveByName.
* Source/NSPopUpButtonCell.m (-encodeWithCoder:): Implement
(-initWithCoder:): Likewise.
2001-09-15 Fred Kiefer <[email protected]>
* Source/NSMenuItemCell.m
Added [dealloc]. In [setMenuView:], if the menu belongs to a popup
set the ivar _mcell_belongs_to_popupbutton.
* Source/NSPopupButtonCell.m
Removed additional method on NSMenuItemCell. Removed code in
[insertItemWithTitle:atIndex:] to set the NSMenuItemCell to belong
to a popup. Simplified [attachPopUpWithFrame:inView:] and [selectItem:]
* Header/gnustep/gui/NSMenuView.h
Removed [_setCellSize:].
* Source/NSMenuView.m
Added [dealloc]. [setWindowFrameForAttachingToRect:...] now
expects the screenRect to be the frame of the cell to attach to.
Removed [_setCellSize:].
2001-09-12 Fred Kiefer <[email protected]>
* Source/NSMenu.m
Remove function title_height(), replaced calls to it with
[NSMenuView menuBarHeight]. [setSubmenu:forItem:] moved code
to [NSMenuItem setSubmenu]. [update] use _changedMessagesEnabled
to prevent recursion. [sizeToFit] call [setNeedsDisplay:] instead
of [display]. [locationForSubmenu:] moved code to [NSMenuView
locationForSubmenu:].
Added [NSMenuWindowTitleView rightMouseDown:], so the main menu
is not shown in a menu.
* Source/NSMenuItem.m
Call [NSMenu itemChange:] in all setXX methods. [setSubmenu:] set
the title of the submenu to our title.
* Header/gnustep/gui/NSMenuView.h
Removed ivar meunv_menu and reuse _menu from NSResponder.
Renamed all the ivars.
* Source/NSMenuView.m
Adopted to changes in header.
[menuBarHeight] use code from title_height(). Added dummy
[initAsTearOff]. Added a lot of code to support horizontal menus,
still unfinished. [setHighlightedItemIndex:] don't display items
only mark them as needing display. [locationForSubmenu:] moved
code from NSMenu to here. [mouseDown:] simplified code.
2001-09-09 Michael Hanni <[email protected]>
* Source/Functions.m (NSDrawButton): rearrange the order of
coloring to take into account the nature of NSDrawTiledRects;
fixes visual irregularities (most noticeably in NSMenu).
2001-09-08 Michael Hanni <[email protected]>
* Source/NSBrowser.m (-matrixInColumn:): Return nil if caller
requests column '-1'. Allows NSSave/OpenPanel to function. Hacky
though, why are we requesting column '-1' anyways?
2001-09-06 Adam Fedor <[email protected]>
* Source/NSView.m (-lockFocusInRect:): Switch back to gsave/grestore
syntax, use rectclip instead of rectviewclip.
(-unlockFocusWithFlush:): Likewise.
2001-09-03 Adam Fedor <[email protected]>
* Source/tiff.m (NSTiffWrite): Set EXTRASAMPLES even if 0.
2001-09-02 Adam Fedor <[email protected]>
* Source/NSView.m (-lockFocusInRect:) Properly mark the save object.
Do a rectviewclip in (sortof) the right place.
2001-08-31 Georg Fleischmann
* Source/NSView.m
[NSView lockFocusInRect:]: DPSsave(ctxt) added
[NSView unlockFocusWithFlush:]: DPSrestore(ctxt) added
* Headers/gnustep/gui/DPSOperators.h
DPSrestore() and DPSsave(): new
* Headers/gnustep/gui/GSMethodTable.h
DPSrestore and DPSsave added
* Headers/gnustep/gui/NSGraphicsContext.h
-DPSrestore and -DPSsave added
* Source/NSGraphicsContext.m
[NSGraphicContext _inittializeMethodTable]:
DPSrestore and DPSsave added
[NSGraphicsContext DPSrestore]: new
[NSGraphicsContext DPSsave]: new
2001-09-01 Adam Fedor <[email protected]>
* Source/NSImage.m ([NSImage -initWithCoder:]): Create _reps array
before adding representations.
* Source/tiff.m (NSTiffWrite): Archive alpha info.
2001-09-01 Fred Kiefer <[email protected]>
* Headers/gnustep/gui/NSMenuItemCell.h
Removed ivars mcell_highlighted and mcell_has_submenu.
Renamed all ivars.
* Source/NSMenuItemCell.m
Replaced use of mcell_highlighted with _cell.is_highlighted.
Removed this ivar and mcell_has_submenu from the coding methods.
Removed method [highlight:withFrame:inView:]. in
[drawBorderAndBackgroundWithFrame:inView:] moved duplicated out of
if clause. in [calcSize] use cached arrow image for submenu sizing and
changed image size code. Change all composite operators from
NSCompositeCopy to NSCompositeSourceOver. Use the cached colour if
it is computed otherwise ignore it. In [drawWithFrame:inView:] allways call
[drawBorderAndBackgroundWithFrame:inView:] and check for border there.
Moved lockfocus calls down one level. In [drawInteriorWithFrame:inView:]
removed some of the checks already done in [drawWithFrame:inView:].
Replaced all the highlight/state logic with the one used in
NSButtonCell.
2001-08-31 Adam Fedor <[email protected]>
* Source/NSBitmapImageRep.m (-encodeWithCoder:): Encode data correctly.
* Source/tiff.m (NSTiffWrite): Fix type, use ==.
Fri Aug 31 12:06:24 2001 Nicola Pero <[email protected]>
* Source/GSSimpleLayoutManager.m ([_GNULineLayoutInfo
-description]): Print the usedRect.
2001-08-30 Adam Fedor <[email protected]>
* Source/NSImage.m (-initWithCoder:): Fix encode typo.
* Source/tiff.m (NSTiffWrite): Don't set JPEG quality if not
doing JPEG compression
Thu Aug 30 18:23:08 2001 Nicola Pero <[email protected]>
* Source/NSBitmapImageRep.m ([+canInitWithData:]): Do not call
NSTiffClose if the image is NULL (Suggested by Ludovic Marcotte
Thu Aug 30 10:30:22 2001 Nicola Pero <[email protected]>
* Source/NSTableColumn.m ([-dataCellForRow:]): Return
[self dataCell], rather than nothing.
2001-08-28 Fred Kiefer <[email protected]>
* Source/NSMenu.m
[insertItemWithTitle:...atIndex:] autorelease the return value.
[mouseDown:] when we create the location directory, autorelease it.
In [_locationKey] and [display] remove unneeded checks for popup.
In [copyWithZone:] set the autoenable property before adding items.
* Source/NSPopUpButtonCell.m
In [insertItemWithTitle:atIndex:] use action and target from the
cell for menu item.
2001-08-27 Fred Kiefer <[email protected]>
* Headers/gnustep/gui/NSMenuItem.h
Changed includes. Defined new method
[userKeyEquivalentModifierMask]. Removed all the methods
definitions from NSMenuItem. Dropped the mi prefix of the
ivars. Removed ivar for backend.
* Source/NSMenuItem.m
Adopted to changes in header. Implemented class for
separator. Exchanged role of the methods [init] and
[initWithTitle:...]. Simplified [setTitle:] and
[setKeyEquivalent:]. Implemented [userKeyEquivalentModifierMask]
and [setTitleWithMnemonic]. Reimplemented [copyWithZone:] to use
NSCopyObject().
* Source/NSMenu.m
Cache the notification center. Simplified all the item handling
methods, e.g [insertItem:atIndex:], [insertItemWithTitle:...],
[removeItemAtIndex:], [indexOfItemWithSubmenu:].
Implemented [setMenuRepresentation:], [isEqual:] and [copyWithZone:].
Wed Aug 22 10:16:42 2001 Nicola Pero <[email protected]>
* Source/NSTableView.m ([-_autosaveTableColumns]): Use
"NSTableView Columns %@" rather than "Table Columns %@" as key in
the user defaults to be consistent with NSWindow, which uses
"NSWindow Frame %@".
([-_autoloadTableColumns]): Idem.
2001-08-22 Fred Kiefer <[email protected]>
* Headers/gnustep/gui/NSMenu.h
Made method [_rightMouseDisplay:] public.
* Headers/gnustep/gui/NSResponder.h
Added method [scrollWheel:].
* Source/NSResponder.m
Added dummy implementation of [scrollWheel:].
Moved menu display code in [rightMouseDown:] to NSApplication.
* Source/NSApplication.m
Implemented [rightMouseDown:] with code from NSResponder.
* Source/NSWindow.m
Cache the default notification center. In [sendEvent:] handle case
of NSScrollWheel event.
* Source/NSMenu.m
Removed class NSMenuWindow, use aconfigured NSPanel instead.
New method [_createWindow] to create this.
Removed unused ivars of NSMenuWindowTitleView and renamed the
methods. Corrected the create/retain logic of the button handling
methods, the old code kept on creating buttons which where never released.
[NSMenu _setTornOff:] now calls addCloseButton or releaseCloseButton.
Replaced [NSMenuWindowTitleView titleHeight] with inline function
title_height().
* Headers/gnustep/gui/NSTableView.h
Check in of this file was forgotten.
Tue Aug 21 19:38:00 2001 Nicola Pero <[email protected]>
* Headers/gnustep/gui/NSTableView.h: Added ivars for autosaving of
table columns.
* Source/NSTableView.m ([-autosaveName]): Implemented.
([-autosaveTableColumns]): Implemented.
([-setAutosaveName:]): Implemented.
([-setAutosaveTableColumns:]): Implemented.
([-_autoloadTableColumns]): New method.
([-_autosaveTableColumns]): New method.
([-moveColumn:toColumn:]): Invoke _autosaveTableColumns.
([-dealloc]): Release _autosaveName if needed. Remove self from
observing notifications about column resizings.
(Patches by Marko Mikulicic <[email protected]> mostly
rewritten)
Tue Aug 21 18:28:39 2001 Nicola Pero <[email protected]>
* Source/NSTableView.m ([-moveColumn:toColumn:]): Use the cached
notification center.
2001-08-21 Adam Fedor <[email protected]>
* Source/NSAttributedString.m (converter_bundles): New function
to find bundles that do text conversion.
(converter_class): Use it.
* Source/GNUmakefile: Update to remove Parsers files
* TextConverters/RTF/*: New files moved from Source/Parsers.
Builds bundle for RTF text conversion.
2001-08-21 Pierre-Yves <[email protected]>
* Source/NSTableColumn.m
* Headers/gnustep/gui/NSTableColumn.h
added MOSX method [NSTableColumn -dataCellForRow:]
* Source/NSTableView.m : various change to take [-dataCellForRow]
into account, including
[NSTableView -updateCell:] redefined, now only redraw the part of the
table that uses the updated cell.
* Source/NSTableView.m : redefinition of [-setFrame:]: it now calls
[self sizeToFit]
2001-08-20 Pierre-Yves Rivaille <[email protected]>
* Source/NSStepper.m
* Headers/gnustep/gui/NSStepper.h
new NSStepper class, basic implementation
* Source/NSStepperCell.m
* Headers/gnustep/gui/NSStepperCell.h
new NSStepperCell class, basic implementation
* Source/GNUmakefile : NSStepper and NSStepperCell addition
* Headers/gnustep/gui/AppKit.h :
NSStepper.h and NSStepperCell.h addition
2001-08-20 Pierre-Yves Rivaille <[email protected]>
* Source/NSBrowser.m ([NSBrowser -_performLoadOfColumn:]):
improved performance when loading previously unloaded column
with a passive delegate
* Source/NSMatrix.m ([NSMatrix -sizeToFit]):
This method now assumes that all cells have the same size (this
is what specification says). If it is not the case, weird behaviour
can happen ... Performance is better when loading large matrices.
2001-08-19 Adam Fedor <[email protected]>
* Source/NSTextView.m (-setSelectedRange:affinity:stillSelecting:):
Prevent NSTextView from asking a text storage of zero length
for attributes (Patch from [email protected]).
2001-08-20 Fred Kiefer <[email protected]>
* Headers/gnustep/gui/NSMenu.h
Moved the declaration of NSMenuWindow and NSMenuWindowTitleView
into the file NSMenu.m, making this private classes.
Removed unused ivars and renamed the remaining ivars to fit the
GNUstep sheme of underscore prefixes.
Added new method [popUpContextMenu:withEvent:forView:].
Made the methods [_ownedByPopUp] and [_setOwnedByPopUp:] public.
* Source/NSMenu.m
Adopted to changes in the header file.
* Source/NSMenuView.m
In [setWindowFrameForAttachingToRect:...popUpSelectedItem:]
replaced reference to NSMenuWindow with NSWindow.
2001-08-18 Fred Kiefer <[email protected]>
* Headers/gnustep/gui/GSTextConverter.h
New file with two protocols for text converters.
* Source/GNUmake
Install GSTextConverter.h.
* Source/NSAttributedString.m
Include GSTextConverter.h. New function converter_class() to load
the class for a given text converter format. Use this function in
the RTF methods and use new protocol there.
* Source/Parser/RTFProducer.h
Renamed RTFProducer into RTFDProducer, with new subclass
RTFProducer. Both implement the protocol GSTextProducer.
* Source/Parser/RTFProducer.m
Renamed methods to fit the GSTextProducer protocol. Adopted to
changes in header. Implementation for RTFProducer.
* Source/Parser/rtfConsumer.h
RTFConsumer implements the protocol GSTextConsumer. New subclass
RTFDConsumer.
* Source/Parsers/attributedStringConsumer.m
Renamed methods to fit the GSTextConsumer protocol. Adopted to
changes in header. Perliminary implementation for RTFDConsumer.
2001-08-18 Fred Kiefer <[email protected]>
* Headers/gnustep/gui/NSInputServer.h
Declaration of this class and of the protocols
NSInputServerMouseTracker and NSInputServiceProvider.
* Headers/gnustep/gui/NSInputManager.h
Declaration of this class and of the protocol NSTextInput.
* Source/NSInputServer.m
Dummy implementation.
* Source/NSInputManager.m
Dummy implementation.
* Source/GNUmake
Install NSInputServer.h + NSInputManager.h and compile
NSInputServer.m + NSInputManager.m.
2001-08-15 Fred Kiefer <[email protected]>
* Source/NSImageRep.m
[initialize] removed obsolete check for default setting of
ImageComposition. In [copyWithZone:] copy the colour space, it
might be mutable.
* Source/Functions.m
NSEventMaskFromType() added case of NSScrollWheel.
Impelemented missing NSShowSystemInfoPanel().
* Source/GSServicesManager.m
Implemented missing NSUpdateDynamicServices().
2001-08-13 Pierre-Yves Rivaille <[email protected]>
* Source/NSTableView.m
* Source/NSTableHeaderView.m
* Headers/gnustep/gui/NSTableHeaderView.h
New implementation of column resizing.
Implementation of column reordering.
2001-08-13 Pierre-Yves Rivaille <[email protected]>
* Source/NSSavePanel.m ([-runModalForDirectory:file:])
* Source/NSOpenPanel.m ([-runModalForDirectory:file:types:])
Moved functionality from NSOpenPanel to NSSavePanel: the "ok"
button is shown as enabled or not at the beginning depending
on whether the given file is valid.
* Source/NSPopUpButton.m ([-keyDown:]): send selected item related
action when using the keyboard.
* Source/Functions.m
Esthetic corrections to NSDrawGrayBezel and NSDrawWhiteBezel
Sun Aug 12 05:46:32 2001 Nicola Pero <[email protected]>
* Source/NSBezierPath.m
([-appendBezierPathWithArcWithCenter:radius:startAngle:endAngle:
clockwise:]): If the bezier path had already some elements, draw a
line from the current point to the start point of the arc. (Patch
from Georg Fleischmann).
Sun Aug 12 04:25:20 2001 Nicola Pero <[email protected]>
* Source/NSTextView.m ([-replaceCharactersInRange:withString:]):
If the textview supports rich text and the text storage is empty,
use the attributes from the typing attributes when inserting the
new string.
Sun Aug 12 03:42:30 2001 Nicola Pero <[email protected]>
* Source/NSImage.m ([NSImage -setName:]): Fixed bug in last change
- btw change not documented in ChangeLog - make sure we don't
accidentally release self when removing it from the dictionary of
names. That was crashing apps with an icon on startup.
2001-08-12 Fred Kiefer <[email protected]>
* Headers/gnustep/gui/NSImageCell.h
Removed already inherited protocols.
* Source/NSImageCell.m
Removed [initImageCell:], [dealloc], [cellSizeForBounds:] and
[copyWithZone:], which where only super calls.
In [drawWithFrame:inView:] lockFocus only around drawing
code and check for invalid window.
In [drawInteriorWithFrame:inView:] lockFocus only around drawing
code, check for invalid window, use NSCompositeSourceOver instead
of NSCompositeCopy and show first responder state.
Sat Aug 11 07:41:45 2001 Nicola Pero <[email protected]>
* Source/NSMatrix.m ([NSMatrix -getRow:column:forPoint:]): Fixed
case of no rows or no columns in the matrix; return NO and set row
and column to -1 if needed.
Sat Aug 11 07:41:44 2001 Nicola Pero <[email protected]>
* Source/NSMatrix.m ([NSMatrix -getRow:column:forPoint:]):
Consider points on the boundaries of cells to be inside cells.
(Patch from Georg Fleischmann <[email protected]>).
2001-08-11 Fred Kiefer <[email protected]>
* Headers/gnustep/gui/NSImage.h
Added declaration of
[compositeToPoint:fromRect:operation:fraction:],
[compositeToPoint:operation:fraction:],
[drawAtPoint:fromRect:operation:fraction:] and
[drawInRect:fromRect:operation:fraction:]
* Source/NSImage.m
Dummy implementation of new methods.
[dissolveToPoint:fromRect:fraction:] Move the drawing rectangle
to the origin of the image rep before the intersection of the two
rects.
[TIFFRepresentationUsingCompression:factor:] and
[TIFFRepresentation] call method on NSBitmapImageRep.
List explicit flag settings in [init].
Moved background drawing to [drawRepresentation:inRect:].
Restructured [_doImageCache] and [_cacheForRep:].
* Source/NSBitmapImageRep.m
Implemented [TIFFRepresentationOfImageRepsInArray] and
[TIFFRepresentationOfImageRepsInArray:usingCompression:factor:]
Fri Aug 10 11:00:00 2001 Nicola Pero <[email protected]>
* Source/Parsers/attributedStringConsumer.m (GSRTFcolorbg): set
color to white if index is out of bounds.
Fri Aug 10 10:59:00 2001 Georg Fleischmann <[email protected]>
* Source/Parsers/attributedStringConsumer.m (GSRTFcolorfg): set
color to black if index is out of bounds.
Tue Aug 7 05:08:01 2001 Nicola Pero <[email protected]>
* Testing/GNUmakefile: Simplified, removed unused bloat, removed
all references to the test applications which are no longer there.
* Testing/GNUmakefile.postamble (after-distclean): Do nothing.
* Testing/README: New file saying that this directory is obsolete.
2001-08-06 Fred Kiefer <[email protected]>
* Headers/gnustep/gui/NSApplication.h
Removed [showHelp:] and [activateContextHelpMode:] as they are
declared in NSHelpManager.h
* Source/NSApplication.m
Removed [showHelp:] and [activateContextHelpMode:] as they are
implemented in NSHelpManager.m. Use [showHelp:] in old method [].
* Source/NSHelpManager.m
In [NSApplication showHelp:] added a check for the existence of
the help file.
* Headers/gnustep/gui/GSHelpManagerPanel.h
Added Header, changed includes and removed [init] method.
* Source/GSHelpManagerPanel.m
Added Header, changed includes, small restructuring of [init] and
removed [isFloatingPanel].
2001-08-04 Fred Kiefer <[email protected]>
* Headers/gnustep/gui/NSGraphicsContext.h
Added new class methods [currentContextDrawingToScreen],
[graphicsContextWithAttributes:], [graphicsContextWithWindow:],
[restoreGraphicsState], [saveGraphicsState], [setGraphicsState:]
and new instance methods [attributes], [flushGraphics] and
[graphicsPort].
* Source/NSGraphicsContext.m
Dumy implementations for new class methods and implementations for
new instance methods.
* Headers/gnustep/gui/NSFormCell.h
Delcare the methods [attributedTitle], [setAttributedTitle:] and
[setTitleWithMnemonic:].
Removed methods already declared for super classes.
* Source/NSFormCell.m
Implemented the new methods and [titleWidth:]. In method
[titleWidth] use [cellSize] to compute the width.
In [drawWithFrame:inView:] lock focus only if there is something
to draw.
2001-08-03 Gregory John Casamento <[email protected]>
* Panels/SpellPanel.gmodel
Made changes to nextKeyView so that the user can tab between
the buttons
* Source/NSBrowser.m [NSBrowser keyDown:] added check after call to
[NSBrowser selectedColumn] so that the rest of the method is skipped
if the value is -1 (no column selected). This was producing a
segmentation fault.
* Source/NSTextView.m
[NSTextView checkSpelling:] to call [NSSpellChecker
checkSpellingOfString: startingAt:language:wrap:
inSpellDocumentWithTag:wordCount:]
so that the spell document tag can easily be passed in.
* Source/NSSpellChecker.m