-
Notifications
You must be signed in to change notification settings - Fork 24
/
ChangeLog.3
10418 lines (7874 loc) · 390 KB
/
ChangeLog.3
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
2004-12-30 Quentin Mathe <[email protected]>
* Source/GSToolbarView.m: Modified to be more compliant with GNUstep
coding standards.
(-draggingEntered:):
(-draggingUpdated:): Prevents the user to customize the toolbar when
-allowsUserCustomization returns NO (bug #11393).
* Source/NSToolbarItem.m: Modified to be more compliant with GNUstep
coding standards.
(-mouseDown:): Prevents the user to customize the toolbar when
-allowsUserCustomization returns NO (bug #11393).
2004-12-23 05:38 Gregory John Casamento <[email protected]>
* Images/MagnifyGlass.tiff: Added. The NSColorPanel class uses
this image.
2004-12-13 Quentin Mathe <[email protected]>
* Source/NSComboBoxCell.m: Modified the code to be clearer
Renamed internal class GSFirstMouseTableView to GSComboBoxTableView
Removed GSComboWindow _localSelection ivar which is not needed, because
the user selection is now handled in -clickItem and not in
-tableViewSelectionDidChange: which is now reserved to the internal (aka
local) selection support.
(-[GSComboWindow selectItem:]): Renamed the method name to -clickItem:
(-[GSComboWindow clickItem:]): Reworked to the method to be used by the
NSTableView (or NSBrowser) action to track the user clicks.
(-[GSComboWindow validateSelection:]): Rewritten the method to handle
itself the selection, the method updates now the cell object value and
sends the action bound to the cell.
(-selectItemAtIndex:): Updated the method to match the Cocoa
specification which states that this method should adjust the selection
in the combo box list but not simulate a user click.
2004-12-09 Fred Kiefer <[email protected]>
* Source/NSCursor.m (getStandardCursor()): If not standard cursor
is available, try an image cursor with an image of the same name.
* Images/common_OpenHandCursor.tiff
* Images/common_ClosedHandCursor.tiff: New cursor image files by
Fabien Vallon <[email protected]>.
* Images/GNUmakefile: Install the new files.
* Images/nsmapping.strings: Register the new cursor files for the
names used in NSCursor.m.
2004-11-11 Adam Fedor <[email protected]>
* Source/GSDragView.m ([GSDragView -_setCursor]): Initialize variable.
* Source/NSMatrix.m: Rename vaguely-named macro.
(Based on Patch #3499 from Patrick Middleton).
2004-11-11 Adam Fedor <[email protected]>
* Version: Add numeric value for runtime versioning.
* Souce/GNUmakeifle: Add resource set install.
* Source/GNUmakefile.postamble (Info-gnustep.plist): New target.
2004-11-11 Adam Fedor <[email protected]>
* Model/GMAppKit.m ([NSPopUpButton -encodeWithModelArchiver:]):
More robust method for getting title (works on OPENSTEP, from
George Fleischmann).
2004-11-11 Fred Kiefer <[email protected]>
* Headers/AppKit/NSMenu.h
* Source/NSMenu.m (-setMain:): New internal method to set the main
menu of an application. Uses code from [NSApplication
setMainMenu:] plus a display call for the new main menu.
* Source/NSApplication.m (-setMainMenu:): Use the new method on
NSMenu to flag a menu as main and cleaned up the logic.
2004-11-11 15:08 Alexander Malmberg <[email protected]>
* Source/NSCell.m (-_setupTextWithFrame:inView:editor:): Reduce the
maximum size. Explicitly set the size of the text view, and make it
not resizable.
* Source/NSLayoutManager.m (-rectArrayForGlyphRange:
withinSelectedGlyphRange:inTextContainer:rectCount:): Fix check for
whether the starting index is inside a line frag rect.
* Source/NSTextView.m (-sizeToFit): Don't increase the size if we
have no inset.
(-updateInsertionPointStateAndRestartTimer:): Force the insertion
point rect to be inside the text view.
(-scrollRangeToVisible:): If we are a non-rich-text field editor,
adjust the scrolling to make the auto-scrolling more useful.
Fixes bug #9279.
2004-11-10 Matt Rice <[email protected]>
* Headers/Additions/GNUstepGUI/GSDisplayServer.h (-iconSize): New method
declaration.
(-iconTileImage): Ditto.
* Source/GSDisplayServer.m (-resolutionForScreen:): Fix Typo in Docs.
(-boundsForScreen:): Ditto.
(-windowBounds:): Ditto.
(-iconSize): Implement new method.
(-iconTileImage): Ditto.
* Source/NSApplication.m (NSAppIconView): Remove
useWindowmakerIconBackground variable.
(scaledIconSizeForSize): New function.
([NSAppIconView +initialize]): Dont set a default image here. Remove
usage of GSUseWindowmakerIconBackground default. Use backend tile and
scale it to the backend icon size.
([NSAppIconView -drawRect:]): Remove usage of
useWindowmakerIconBackground. Draw cells with the backend icon size.
([NSAppIconView -setImage:]): Set the image to a scaled copy.
setNeedsDisplay instead of drawing directly.
([NSApplication -_appIconInit]): Use backend icon size.
* Source/NSWindow.m: Remove useWindowmakerIconBackground variable.
(scaledIconSizeForSize): New function.
([NSMiniWindowView +initialize]): Remove usage of
GSUseWindowmakerIconBackground default. Use backend tile image and scale
it to the backend icon size.
([NSMiniWindowView -drawRect:]): Remove usage of
useWindowmakerIconBackground. Draw cells with the backend iconSize.
([NSMiniWindowView -setImage:]): Set the image to a scaled copy.
setNeedsDisplay instead of drawing directly.
([NSMiniWindowView -setTitle:]): setNeedsDisplay instead of drawing
directly.
([NSWindow -miniaturize:]): Use backend icon size.
* Documentation/GuiUser/DefaultsSummary.gsdoc: Remove docs for
GSUseWindowmakerIconBackground.
2004-11-09 Adrian Robert <[email protected]>
* Source/NSTabView.m (-insertTabViewItem:): Update display.
(-removeTabViewItem:): Same.
(-selectTabViewItem:): Fix erroneous comment.
(-selectTabViewItemAtIndex:) Check index in range.
(-drawRect:) Don't try to select first tab if there are no tabs.
* Source/NSColorList.m (-initWithNameFromFile:) Treat filename
given as full path, not directory (but support this previous
behavior in case apps are relying on it). Also, if fail to read
file as an archive, try text format.
(+loadAvavailableColorLists:) Adjust code for change to
-initWithName:fromFile:.
(-_readTextColorFile:) New utility method to support
-initWithNameFromFile:.
* Headers/AppKit/NSColorList.h: Document above changes.
2004-11-09 22:36 Alexander Malmberg <[email protected]>
* Source/GSInfoPanel.m (_value_from_info_plist_for_key): Rename to
value_from_info_plist_for_key.
(_nil_or_not_of_class): Rename to nil_or_not_of_class.
Update callers.
(-initWithDictionary:): Fix comment typo.
* Source/NSAlert.m: Whitespace cleanups.
* Source/NSPrinter.m: Whitespace cleanups.
2004-11-09 22:08 Alexander Malmberg <[email protected]>
* Source/GSHorizontalTypesetter.m (-layoutLineNewParagraph:):
Implement NSLineBreakByClipping. Set outside_line_frag and dont_show
attributes for every glyph.
2004-11-09 18:55 Alexander Malmberg <[email protected]>
* Source/NSPasteboard.m (+_pbs): Give gpbs a --GSStartupNotification
argument. Listen for the notification and connect immediately if it
arrives. Clarify the user message. Fixes bug #10876.
2004-11-08 Quentin Mathe <[email protected]>
* Source/NSButtonCell.m (-setImage:): Added overriden NSCell method in
order to have the cell switched to an image cell (with the NSImageOnly
position) when you call -setImage:. With the previous commit, when the
cell is a text cell and you call -setImagePosition: after -setImage:,
the cell image is released.
2004-11-07 Quentin Mathe <[email protected]>
* Source/NSCell.m (-type): Now returns NSNullCellType when the image
value is nil and the cell type is NSImageCellType, in order to match the
documented Cocoa behavior.
* Source/NSButtonCell.m (-setImagePosition:): Finished to commit the
patch (not fully applied) associated with the revision 1.90, the bug
#10595 is now corrected.
2004-11-07 Quentin Mathe <[email protected]>
* Source/NSWindow.m (-constrainFrameRect:toScreen:): Modified the method
to match the specification and the constraints used when the user
moves/resizes the window with the cursor. That makes possible to have
resizable windows which extends below the bottom of the screen as long
as you can move them up to take back the resize control on the screen.
(-setFrame:display:): Modified the method to remove the possibility to
have the window title bar positioned over the top of the screen when
using -gui window decorations.
2004-11-06 08:34 Gregory John Casamento <[email protected]>
* Source/GSNibTemplates.m: Removed nibInstantiate. This method
should only be defined and used inside the GUI builder application
according to specs.
2004-11-04 Adrian Robert <[email protected]>
* Documentation/GuiUser/KeyboardSetup.gsdoc: Describe the new
"GSModifiersAreKeys" default.
2004-10-31 12:04 Gregory John Casamento <[email protected]>
* GNUmakefile.postamble: Removed the after-clean clean section
which is attempting to remove directories which existed prior to
the change which moved all of the headers. While this is not
causing an issue on Linux, some other environments fail when
attempting to "make distclean".
2004-10-30 Alex Perez <[email protected]>
* Headers/AppKit/NSImage.h (+_standardImageWithName:): New method.
* Source/NSImage.m (+_standardImageWithName:): New method.
* Source/NSWorkspace.m (_getImageForName:alternate:): Remove. Update
callers to use +_standardImageWithName: instead.
2004-10-25 Quentin Mathe <[email protected]>
* Source/NSWorkspace.m: Moved the code which looks for the application
icons in the method -iconForFile: to the method -appIconForApp:. As
a side effect, it fix the bug introduced by my last commit which caused
a nil exception when the application info.plist contains no NSIcon
entry.
2004-10-24 Quentin Mathe <[email protected]>
* Source/NSWorkspace.m (-appIconForApp:): Fixed code to be more
generic by using -[NSBundle pathForImageResource:]. Now the method
works with NSIcon value not path based like "MyApplication.tiff".
2004-10-22 08:26 Gregory John Casamento <[email protected]>
* Source/NSStepperCell.m: Corrected issue with [NSStepperCell
initWithCoder:] for encoding issue with gcc 3.4.
* Header/AppKit/NSStepperCell.h: Took out defines which use
the bitfields in NSCell.h. These now are BOOL variables.
2004-10-21 Fred Kiefer <[email protected]>
* Source/NSResponder.m (-initWithCoder:): Set missing default
value for menu to nil.
* Source/NSButtonCell.m (-initWithCoder:): Hack around Apple NIB
bug and decode some of the flags.
2004-10-17 Gregory John Casamento <[email protected]>
* Source/NSCell.m: Added code to [NSCell initWithCoder:] which
properly retains the formatter and menu.
* Source/GSNibCompatibility.m: Changed comment.
* Source/NSResponder.m: Added keyed archiving implementation in
initWithCoder:
* Source/NSTextView.m: Improved implementation of keyed coding
for NSTextView. Also preparing to add details discovered about
the flag settings.
* Source/NSView.m: Improved NSView keyed decoding. Also made
sure that [super initWithCoder:] is called in that method for both
the keyed and non-keyed archiving (as it should be).
* Source/NSWindow.m: Added implementation of undo: and redo: to
NSWindow.m.
2004-10-17 Adrian Robert <[email protected]>
* Source/Functions.m (NSBestDepth): Check outarg exactMatch is
non-null before setting.
* Source/NSFont.m (getNSFont): Use defaultSize for 'fontSize'
args of <0 as well as ==0; documented.
2004-10-11 Georg Fleischmann
* Model/GMAppKit.m [-encodeWithModelArchiver:] remove title
bar and resize bar from 'minSize'.
2004-10-15 07:33 Matt Rice <[email protected]>
* Source/NSApplication.m ([NSAppIconView -mouseDown:]): order front
possibly obscured windows if not hidden.
2004-10-11 Fred Kiefer <[email protected]>
* Source/NSActionCell.m (-initWithCoder:):
* Source/NSBitmapImageRep.m (-initWithCoder:):
* Source/NSImage.m (-initWithCoder:): Implemented keyed decoding.
* Source/NSMatrix.m (-initWithCoder:): Don't use methods to set
the cell size and intercell spase, as this will change the frame.
* Source/NSFormCell.m (-initWithCoder:): Set the string value
later, as the decoding is super gets used for the title.
* Source/NSButtonCell.m (-initWithCoder:): Set fields only when
value is provided and fake NSImageLeft until flag decoding is there.
2004-10-08 22:08 Chad Hardin <[email protected]>
* Printing/GNUmakefile: Now goes in and build GSCUPS (Work in progress!)
* Printing/GSCUPS/GNUmakefile: Added
* Printing/GSCUPS/GNUmakefile.postamble: Added
* Printing/GSCUPS/GNUmakefile.preamble: Added
* Printing/GSCUPS/GSCUPSPageLayout.h: Added
* Printing/GSCUPS/GSCUPSPageLayout.m: Added
* Printing/GSCUPS/GSCUPSPrincipalClass.h: Added
* Printing/GSCUPS/GSCUPSPrincipalClass.m: Added
* Printing/GSCUPS/GSCUPSPrintInfo.h: Added
* Printing/GSCUPS/GSCUPSPrintInfo.m: Added
* Printing/GSCUPS/GSCUPSPrintOperation.h: Added
* Printing/GSCUPS/GSCUPSPrintOperation.m: Added
* Printing/GSCUPS/GSCUPSPrintPanel.h: Added
* Printing/GSCUPS/GSCUPSPrintPanel.m: Added
* Printing/GSCUPS/GSCUPSPrinter.h: Added
* Printing/GSCUPS/GSCUPSPrinter.m: Added. GSCUPS is a work in
progress. Some changes still need to be made to NSPrinter,
NSPrinterInfo. Additionally, NSPrintPanel needs to be improved
to take advantage of the new features that GSCUPS will provide.
2004-10-08 Fred Kiefer <[email protected]>
* Source/NSFormCell.m: (-initWithCoder:):
* Source/NSMatrix.m: (-initWithCoder:): Implemented keyed decoding.
* Source/NSColor.m: (-initWithCoder:): Corrected handling of alpha
values (use 1 instead of 0)
* Source/NSCell.m: (-initWithCoder:): Added some more flag
handling and rearranged code.
2004-10-08 09:17 Chad Hardin <[email protected]>
* Printing/GSLPR/GSLPRPageLayout.m: Fixed a #define
* Printing/GSLPR/GSLPRPrintInfo.m: Made it so the code calls
NSPrinter's printerWithName rather than GSLPR's, because the former
caches NSPrinter objects.
* Printing/GSLPR/GSLPRPrinter.h: Moved a method out of a (Private)
catagory and place it into the header file, directly into the class.
* Printing/GSLPR/GSLPRPrinter.m: Simplified the class by taking out
an unnecesary initializer.
2004-10-08 Chad Hardin <[email protected]>
* Printing/GSLPR/GSLPRPrintOperation: Removed useless #defines and
did a minor format cleanup.
* Printing/GSLPR/GSLPRPrinter.m: Took out a few PS specific methods so
that they can be put into the parent class, NSPrinter.
* Source/NSPrinter: Received PS specific methods from GSLPRPrinter so
that they can be used by GSCUPS as well. Also removed some useless
NSDebugs.
2004-10-05 Adam Fedor <[email protected]>
* Source/GNUmakefile.postamble (libgnustep-gui.def): Search for both
T and R symbols to work with multiple mingw/cygwin flavors.
2004-10-01 Adam Fedor <[email protected]>
* Documentation/ReleaseNotes.gsdoc: Format fixes.
* Source/DocMakefile (before-clean, after-clean): Move obj out of the
way so it isn't removed when cleaning docs.
2004-10-01 Adam Fedor <[email protected]>
* Source/GNUmakefile.preamble: Add filter out flags for
compilation of some files on Solaris.
2004-09-27 17:49 Alexander Malmberg <[email protected]>
* Source/GSServicesManager.m (NSPerformService): Check whether the
service provider is remote by checking the class of the object.
2004-09-26 22:18 Alexander Malmberg <[email protected]>
* Source/NSTabViewItem.m (-drawLabel:inRect:): Adjust the label
position to match the text height change (of 2004-09-21).
2004-09-25 Matt Rice <[email protected]>
* Source/NSScrollView.m: Remove corner view when we have one, but no
vertical scroller. (Fixes #10501).
2004-09-24 Adam Fedor <[email protected]>
* Documentation/GNUmakefile.postamble: Clean up files properly
* Source/DocMakefile: Fix up for moved files
* Documentation/Gui/Gui.gsdoc,
Documentation/GuiAdditions/GuiAdditions.gsdoc: Move up one level.
2004-09-24 Fred Kiefer <[email protected]>
* Headers/AppKit/NSControl.h
Added new MacOSX delegate methods.
* Source/NSControl.m (-validateEditing, -currentEditor,
-abortEditing, -calcSize): Implemented these methods.
(-mouseDown:): Use method to check if mouse is inside cell.
2004-09-24 Fred Kiefer <[email protected]>
* Source/NSMenuView.m (-setMenu:): Only call update when the new
menu is not nil.
* Source/NSMenu.m (-setMenuRepresentation:): Unset the menu of the
old view.
(-dealloc): Unset the menu of the view.
(-initWithTitle:): Use setMenuRepresentation: to set the view.
2004-09-24 Adam Fedor <[email protected]>
* Version 0.9.4
* Documentation/General/OpenStepCompliance.gsdoc: Updates
* Documentation/ReleaseNotes.gsdoc, Documentation/news.texi: Idem.
2004-09-24 Fred Kiefer <[email protected]>
* Source/NSView.m (-initWithCoder:): Added keyed decoding of
"hidden" flag.
* Source/NSCell.m (-initWithCoder:): Added the first bit of
keyed flags decoding. Values provided by Adrian Robert
2004-09-23 22:33 Alexander Malmberg <[email protected]>
* Source/NSTableView.m (-mouseDown:): Fix the check that detects
when an unselected row is being dragged.
2004-09-23 18:01 Alexander Malmberg <[email protected]>
* Printing/GSLPR/GSLPRPrintOperation.m (-createContext): Always use
the path from the info dictionary if it's set.
2004-09-21 23:57 Alexander Malmberg <[email protected]>
* Source/NSCursor.m (_getStandardCursor): Rename to
getStandardCursor and make static and non-inlined. Update callers.
* Source/NSTableView.m (computePeriod): Make static.
2004-09-21 18:53 Alexander Malmberg <[email protected]>
* Source/GSFontInfo.m (-defaultLineHeightForFont): Adjust line
height calculation.
* Source/NSButtonCell.m (-drawInteriorWithFrame:inView:): Always
initialize imageRect and titleRect. Adjust the calculations to match
the new line height.
(-cellSize): Always initialize imageRect and titleRect.
* Headers/AppKit/NSCell.h (-_drawImage:inFrame:isFlipped:): Remove.
* Source/NSCell.m (-_drawImage:inFrame:isFlipped:): Remove. Move code
back ...
(-drawInteriorWithFrame:inView:): ... here.
* Source/NSToolbarItem.m (+initialize): Remove.
(+cellClass): Add.
2004-09-18 15:15 Alexander Malmberg <[email protected]>
* Source/GSServicesManager.m (_serviceFromAnyLocalizedTitle): Rename
to serviceFromAnyLocalizedTitle and make static.
* Source/tiff.m (NSTiffWarning): Log tiff warnings using NSDebugLLog
instead of NSLog.
2004-09-17 Fred Kiefer <[email protected]>
* Source/NSTextFieldCell.m (-initWithCoder:): Moved special
handling of action mask into non-keyed decoder branch.
2004-09-16 Fred Kiefer <[email protected]>
* Source/NSCell.m (-setStringValue:, -setFont:, -setImage:): Use
method call to change cell type. (Readded this change)
* Source/NSButtonCell.m (-setType:): Overwrite super method with
empty implementation. Patch by Quentin Mathe <[email protected]>.
* Source/NSView.m (-initWithCoder:): Added the first bit of
keyed flags decoding.
2004-09-16 Matt Rice <[email protected]>
* Source/NSTextFieldCell.m (+initialize): Bump class version.
(-initWithCoder:): When decoding the previous version of NSTextFieldCell
replace the old default _action_mask with the new default value.
(Fixes #9609 for .gorm files)
2004-08-02 Adrian Robert <[email protected]>
* Documentation/Gui/Gui.gsdoc: Update to reflect slight rearrangement
of material to initiate a GUI programming manual. This partially
reverts a change that was accidentally undone earlier.
2004-09-13 Matt Rice <[email protected]>
* NSScrollView.h: Declare new ivar _cornerView and private method
-_synchronizeCornerAndHeaderView
* NSScrollView.m (tile): Call _synchronizeCornerAndHeaderView method
from here. Replace local cornerView variable with _cornerView.
(-setDocumentView:): Remove code to set the corner and header views.
(-_synchronizeCornerAndHeaderView): Implement new method.
* NSTableView.m (-setHeaderView:, -setCornerView:): call tile on the
scroll view we're in. Remove comments and warnings for cases which are
now implemented.
2004-09-12 Matt Rice <[email protected]>
* Headers/AppKit/NSCell.h (-_sendsActionOn:): New method.
* Source/NSCell.m (-_sendsActionOn:): Implement it.
* Source/NSTextFieldCell.m (-initTextCell:): Change _action_mask to a
key press.
* Source/NSTableView.m (-mouseDown:): Use _sendsActionOn: to only modify
the object value and send the event to the cell if the cell works on
mouse events. (Fixes #9609).
2004-09-12 Gregory John Casamento <[email protected]>
* Headers/NSDataLinkPanel.h: Added new attributes.
* Source/NSDataLinkPanel.m: Implemented some
methods.
* Panels/English.lproj/GSDataLinkPanel.gorm: Updated
graphics and added link to new ivar.
* Source/NSDataLink.m:
* Source/NSDataLinkManager.m: Code cleanup.
2004-09-11 Gregory John Casamento <[email protected]>
* Source/NSCell.m: Reverted previous change.
The change was causing an issue where if the font was
changed on an NSButtonCell which contains both an image and text.
The title was being, incorrectly, reset to "title".
* Source/NSDataLinkPanel.m: Renamed the shared variable to something
more standard.
2004-09-09 Fred Kiefer <[email protected]>
* Source/NSCell.m (-setStringValue:, -setFont:, -setImage:): Use
method call to change cell type.
2004-09-07 Adam Fedor <[email protected]>
* Source/GNUmakefile: Specify INTERFACE_VERSION explicitly.
* Documentation/ReleaseNotes.gsdoc, Documentation/news.texi: Update
for new release.
2004-09-05 Quentin Mathe <[email protected]>
* Headers/Additions/GNUstepGUI/GSToolbarView.h: Changed
_heightFromLayout from unsigned int to float.
* Source/GSToolbarView.m (-initWithFrame:displayMode:sizeMode:): Removed
the local variable toolbarViewHeight to use the ivar _heightFromLayout
in order to have a toolbar height which is not equal to zero when the
toolbar is empty. (the toolbar height now matches initially the height
associated with the selected size mode)
(-_handleBackViewsFrame): Added a local variable newHeight to store the
highest caculated height for a toolbar item in order to not have
_heightFromLayout set to zero when the toolbar is empty (no toolbar
items).
* Source/GSToolbar.m (-setDelegate:, -_setDelegate:broadcast:,
-setToolbarView:): Deactived the delegate
synchronization with broadcast set to NO for the method
-_setDelegate:broadcast: because it could produce strange segmentation
faults or exceptions with Cocoa applications which haven't been written
with this delegate synchronization behavior in mind.
(-setSelectedItemIdentifier:, -_build,
-_insertItemWithItemIdentifier:atIndex:broadcast:,
-_setDelegate:broadcast:): Added the nil delegate check because a nil
delegate could happen more easily without the delegate synchronization,
moreover it wasn't handled correctly before.
2004-09-05 10:30 Matt Rice <[email protected]>
* Source/NSTableView.m: [NSTableView mouseDown:] removed code which
copied and subsequently DESTROYs dataCell. This was causing a
SIGSEGV.
2004-09-05 06:23 Matt Rice <[email protected]>
* Source/GSServicesManager.m: new method -activateIgnoringOtherApps:
* Source/NSWorkspace.m (-launchApplication:showIcon:autolaunch:):
call -activateIgnoringOtherApps: on the remote connection to an already
running app.
2004-09-04 23:32 Alexander Malmberg <[email protected]>
* Source/GSHorizontalTypesetter.m (-layoutLineNewParagraph:):
Pass the right glyph position to cells.
* Headers/AppKit/NSTextAttachment.h: Clarify documentation.
2004-09-04 01:34 Alexander Malmberg <[email protected]>
* PrinterTypes/GNUmakefile, PrinterTypes/GNUmakefile.postamble:
Revert removal of rules to install .ppd:s.
* PrinterTypes/English.lproj/Generic-PostScript_Printer-Postscript.ppd:
New file.
* Printing/GSLPR/GNUmakefile: Set GNUSTEP_INSTALLATION_DIR.
* Printing/GSLPR/GNUmakefile.preamble: Compile with -Wall.
* Printing/GSLPR/GSLPRPrinter.m (+printerWithName:): Remove
ppdContents variable.
(+printersDictionary): Only warn once if a printer hasn't been set
in the defaults. Change the type of the fallback printer to
Generic-PostScript_Printer-Postscript. Check that the ppd for this
printer is found.
2004-09-04 01:06 Alexander Malmberg <[email protected]>
* Source/GSToolbarView.m (-_insertionIndexAtPoint:): Remove spurious
';'.
2004-09-02 Quentin Mathe <[email protected]>
* Headers/AppKit/NSToolbarItem.h: Added GSMovableToolbarItemPboardType
declaration.
* Source/NSToolbarItem.m: Added the toolbar items rearranging
possibility by implementing the dragging source methods.
* Source/GSToolbar.m: Added or reworked some methods to support model
updates without direct view effects to manipulate the toolbar items when
a dragging session happens.
* Source/GSToolbarView.m: Added the toolbar items rearranging
possibility by implementing the dragging destination methods. And added
a method -_insertionIndexAtPoint: to support the insertion index
calculation based on the mouse location.
2004-09-01 Adam Fedor <[email protected]>
* Source/NSPrintInfo.m ([NSPrintInfo -paperSize]): Avoid returning
a nil object return value into a struct.
* Printing/GSLPR/GNUmakefile.preamble: Add
Source/$(GNUSTEP_TARGET_DIR) includes
* Tools/GNUmakefile.preamble: Likewise.
2004-09-02 00:17 Alexander Malmberg <[email protected]>
* Source/NSView.m (-replaceSubview:with:): Clarify documentation.
(-scrollRectToVisible:): Implement correctly, patch from Andrew
Ruder. Document.
2004-08-30 Quentin Mathe <[email protected]>
* Headers/AppKit/NSCell.h:
* Source/NSCell.m:
Make the code a bit more modular with a distinct private method to
implement the image drawing (the text drawing is already located in a
separate method), see -_drawImage:inFrame:isFlipped:,
previously implemented in -drawInteriorWithFrame:inView:
* Source/NSButtonCell.m: Moved code specific to NSButtonCell
-drawInteriorWithFrame:inView: in a new method
-_drawImage:inFrame:isFlipped to match the method added to NSCell. Also
reverted the 2004-08-11 21:35 Alexander Malmberg commit to have identical
margin between the border and the text with every image positions.
Source/NSToolbarItem.m:
Added -_drawImage:inFrame:isFlipped and _drawAttributedText:inFrame:
to override the superclasses behavior, it permits to have the
GSToolbarButtonCell layout not dependent on the NSButtonCell code.
2004-08-29 02:48 Matt Rice <[email protected]>
* Source/NSTableView.m (-draggingUpdated:): Return
currentDragOperation.
2004-08-28 10:34 Gregory John Casamento <[email protected]>
* Source/GSNibTemplates.m: Added implementation of method
shouldSwapClass to GSClassSwapper. This method checks for the
implementation of isInInterfaceBuilder and returns whether or
not the template should perform the class swap or whether it
should retrieve the superclass.
* Headers/Additions/GNUstepGUI/GSNibTemplates.h: Added
declaration for -[GSClassSwapper shouldSwapClass].
2004-08-23 17:29 Alexander Malmberg <[email protected]>
* Source/NSWindow.m (-setFrameFromString:): Don't change the size
of the window if it isn't resizable.
2004-08-21 Fred Kiefer <[email protected]>
* Source/NSComboBoxCell.m (-completedString:): Handle a nil
substring by returning nil directly without trying to find a
match. Patch by Andreas Hoeschler <[email protected]>.
Changed data source error messages to consistent wording.
2004-08-13 Quentin Mathe <[email protected]>
* Source/NSComboBoxCell.m -(runModalPopUpWithComboBoxCell:): Remove the
observer only for the variable onWindow, then it is not needed anymore
to reset the table view delegate.
(-deselectItemAtIndex:): Added a _localSelection flag, the result is now
the method still triggers -[GSComboWindow tableViewSelectionDidChange:]
call but the _localSelection variable in -validateSelection
avoids to have -selectItemAtIndex: wrongly called.
(-trackMouse:inRect:ofView:untilMouseUp:): Fixed broken combo box
behavior introduced June 17 with version 1.27, which produced wrong
tracking in the button cell and extra mouse down call in the NSComboBox
superclass. Now the rewritten version is also documented.
* Source/NSComboBox.m (-mouseDown:): Reverted the use of the variable
clicked (that contributes to fix the bug explained above) and renamed it
buttonClicked.
* Headers/AppKit/NSComboBoxCell.h: Added the method
-trackMouse:inRect:ofView:untilMouseUp to have the documentation
generated for this overriden method , it shouldn't be needed( it is a
temporary hack until we have the root problem corrected).
2004-08-12 01:42 Alexander Malmberg <[email protected]>
* Source/NSLayoutManager.m
(-textStorage:edited:range:changeInLength:invalidatedRange:):
Adjust the selected range even if there's no length change. Change
the handling of the in/in case. Set the selected range using a text
view if we have any attached.
* Source/NSTextView.m (-insertText:): Don't set the selected range.
(-setSelectedRange:affinity:stillSelecting:): Clamp the old range
to the length of the text.
* Source/NSTextView_actions.m (-deleteForward:, -deleteBackward:):
Don't set the selected range.
2004-08-11 21:35 Alexander Malmberg <[email protected]>
* Source/NSButtonCell.m (-drawInteriorWithFrame:inView:): Move
text back down by 2 points for NSImageAbove.
2004-08-10 02:01 Alexander Malmberg <[email protected]>
* Source/GSLayoutManager.m (-usedRectForTextContainer:): Fix
the calculation of the used rectangle.
2004-08-10 00:47 Alexander Malmberg <[email protected]>
* Source/NSAttributedString.m (cache_init, cache_init_real): Add
missing void:s.
2004-08-10 00:06 Alexander Malmberg <[email protected]>
* Source/GSHorizontalTypesetter.m: Formatting cleanups.
(-_reuseSoftInvalidatedLayout): New method. Contains soft invalidated
layout info handling, moved here from ...
(-layoutLineNewParagraph:): ...here. Cache the imp for
-advancementForGlyph: and send it directly to the fontInfo.
2004-08-09 21:45 Alexander Malmberg <[email protected]>
* Headers/Additions/GNUstepGUI/GSLayoutManager_internal.h: Add
usedRect and usedRectValid fields to textcontainer_t.
* Source/GSLayoutManager.m (-_doLayout): Set usedRectValid to NO
when setting complete to YES.
(-usedRectForTextContainer:): Optimize the calculation of the used
rect. Use usedRect and usedRectValid.
2004-08-09 14:38 Alexander Malmberg <[email protected]>
* Headers/AppKit/NSWindow.h: _frame is the window frame.
(+screenRectForFrameRect:styleMask:,
+frameRectForScreenRect:styleMask:): New methods.
* Source/GSDisplayServer.m (-window:::, -styleoffsets:::::):
Update documentation.
* Source/GSStandardWindowDecorationView.m
(+screenOffsets::::forStyleMask:): Implement new method.
* Source/GSWindowDecorationView.h (+screenRectForFrameRect:styleMask:,
+frameRectForScreenRect:styleMask:): New methods.
* Source/GSWindowDecorationView.m (+screenOffsets::::forStyleMask:,
+screenRectForFrameRect:styleMask:,
+frameRectForScreenRect:styleMask:): Implement them.
* Source/NSWindow.m (+screenRectForFrameRect:styleMask:,
+frameRectForScreenRect:styleMask:): Implement new methods.
(-_initBackendWindow): Always update _wv's frame.
2004-08-08 Quentin Mathe <[email protected]>
* Source/NSComboBox.m:
* Source/NSComboBoxCell.m:
Fixed the class description markup errors which caused text
truncations in the documentation.
2004-08-08 01:19 Chad Hardin <[email protected]>
* Source/NSPageLayout.m: Ensure that the units on the panel
are set. Using -viewWithTag:, I had to make sure I called
the view immediately above the view I was loking for.
2004-08-08 00:43 Chad Hardin <[email protected]>
* config.make.in: Added CUPS specific make variables.
* configure: Regenerated.
* configure.ac: Added code to detect the presence of
cups for the new GSCUPS printing backend bundle.
Detects cups but the GSCUPS bundle is not ready yet
so it does not actually try to build anything related
to cups.
* Headers/AppKit/NSPrinter.h:
* Source/NSPrinter.m:
* Printing/GSLPR/GSLPRPrinter.m:
NSPrinter no longer assumes it is PPD specific. However,
it does include a catagory named PPDParsing, which the
backend printing bundles can call to have a PPD file parsed
and placed into NSPrinter's tables. All the PPD parsing code
was taken out of GSLPRPrinter.m. Also, a lot of code format
cleanup was done.
* Printing/GSLPR/GSLPRPrintInfo.m:
* Source/AppKit/NSPrintInfo.m: Moved initWithDictionary: code
out of GSLPR's GSLPRPrintInfo implementation into here.
* Printing/GSLPR/GSLPRPrincipalClass.h: Correct copyright.
* Printing/GSLPR/GSLPRPrincipalClass.m: Correct copyright.
* Printing/GSLPR/GSLPRPrintInfo.h: Fixed reference to NSPrintInfo.
* Printing/GSLPR/GSLPRPrintOperation.h: Fixed referece to
NSPrintOperation.
* Printing/GSLPR/GSLPRPrinter.h: Fixed reference to NSPrinter.
* Panels/English.lproj/GSPageLayout.gorm/objects.gorm: Increased the
size of the panel's title and made it bold.
* Printing/GNUmakefile: Added code to optionally build the (upcoming)
GSCUPS printing backend bundle. Currently it's disabled.
2004-08-07 13:18 Alexander Malmberg <[email protected]>
* Source/NSTextView.m (-mouseDown:): Remove -containsAttachments
call.
2004-08-06 14:13 Alexander Malmberg <[email protected]>
* Source/NSPasteboard.m (-pasteboard:provideDataForType:): Print
a warning instead of crashing in NSMapFile handling.
(+_pasteboardWithTarget:name:): Update the local changeCount.
2004-08-02 Adrian Robert <[email protected]>
* Documentation/GuiUser/DefaultsSummary.gsdoc: Clarify the role of
NSGlobalDomain; explain that NSShowNonLocalizedStrings is a developer
option (in absence of a document specifically documenting developer
defaults, the doc will go here).
2004-08-02 16:32 Alexander Malmberg <[email protected]>
* Headers/AppKit/NSCell.h, Source/NSMenuView.m: Rename xDist and
yDist to GSCellTextImageXDist and GSCellTextImageYDist.
* Source/NSMenuItemCell.m: Rename xDist and yDist.
(titleRectForBounds:): Reindent.
* Source/NSButtonCell.m (-drawInteriorWithFrame:inView:, -cellSize):
Adjust size calculations, make them more forgiving before clipping
text, and make -cellSize and -drawInteriorWithFrame:inView: match
each other again. Update xDist and yDist references.
2004-08-01 14:55 Alexander Malmberg <[email protected]>
* Source/GSStandardWindowDecorationView.m (-drawTitleBar): Fix
the centering of the title.
2004-08-01 14:28 Alexander Malmberg <[email protected]>
* TextConverters/RTF/RTFProducer.m (-_addAttributesString:): Only add
attachmentFileWrapper to the attachments array if it isn't nil.
2004-07-30 Adrian Robert <[email protected]>
* Documentation/GuiUser/GNUMakefile.postamble: Remove an unwanted
level of hierarchy when installing GSdoc generated under
Documentation/GuiUser.
2004-07-30 15:52 Alexander Malmberg <[email protected]>
* Headers/AppKit/NSGraphicsContext.h (-GSReadRect:): Document.
* Source/NSBitmapImageRep.m (-initWithFocusedViewRect:): Update for
new key names from GSReadRect:.
* Source/NSGraphicsContext.m (-GSReadRect:): Return nil.
2004-07-29 Adrian Robert <[email protected]>
* Documentation/GuiUser/DefaultsSummary.gsdoc: Added some explanation
of how to set defaults and description of domains, since this isn't
readily accessible elsewhere. Also, documented
NSShowNonLocalizedStrings default.
2004-07-28 Adam Fedor <[email protected]>
* PrinterTypes/: Remove PPD files
* PrinterTypes/GNUmakefile: Don't install them.
2004-07-28 19:52 Alexander Malmberg <[email protected]>
* Source/GSWindowDecorationView.h, Source/GSWindowDecorationView.m
(-setBackgroundColor:): New method.
* Source/NSWindow.m (-setBackgroundColor:): Pass the call along to
_wv.
(-orderWindow:relativeTo:): Use -setFrame:display: to change the
frame after contstraining it.
(-constrainFrameRect:toScreen:): Fix the check of whether the bottom
of the window is off the screen.
(-_sendEvent:becomesKeyOnlyIfNeeded:): Clean up handling of
GSAppKitWindowResized.
(-initWithCoder:): Destroy _miniaturizedImage before setting it to
the decoded image.
2004-07-27 Quentin Mathe <[email protected]>
* Headers/Additions/GNUstepGUI/GSToolbarView.h:
* Source/GSToolbarView.m:
* Source/NSToolbarItem.m:
Moved static const and enum declarations from GSToolbarView.h to
GSToolbarView.m and NSToolbarItem.m.
* Source/NSWindow+Toolbar.m:
Fixed non correct toolbar view visibility when [NSToolbar -setVisible:]
is called before [NSWindow -setToolbar:](bug reported by Yen-Ju Chen
2004-07-24 22:47 Alexander Malmberg <[email protected]>
* Source/NSToolbarItem.m: Use the predefined variables instead of
inline string literals for attribute names.
([GSToolbarButton -layout], [GSToolbarBackView -drawRect:],
[GSToolbarBackView -layout]): Release attrStr/attrString.
(-copyWithZone:): Return new, not self.
2004-07-23 01:54 Matt Rice <[email protected]>
* Documentation/GuiUser/DefaultsSummary.gsdoc: Document
GSUseWindowmakerIconBackground.
* Source/NSApplication.m ([NSAppIconView +initialize],
[NSAppIconView -drawRect:]): If the GSUseWindowmakerIconBackground
default is YES, do a clear composite of the background instead
of using the tile.
* Source/NSWindow.m ([NSMiniWindowView +initialize],
[NSMiniWindowView -drawRect:]): Idem.
2004-07-22 04:46 Chad Hardin <[email protected]>
* Headers/AppKit/NSPageLayout.h: Changed to MVC and a whole new UI.
* Headers/AppKit/NSPrintInfo.h: Format cleanup.
* Headers/AppKit/NSPrintOperation.h: Format cleanup.
* Headers/AppKit/NSPrintPanel.h: Format cleanup.
* Headers/AppKit/NSPrinter.h: Format cleanup.
* Panels/English.lproj/GSPageLayout.gorm/data.classes: New UI.
* Panels/English.lproj/GSPageLayout.gorm/objects.gorm: New UI.
* Printing/GSLPR/GSLPRPrintInfo.m: Format cleanup.
* Printing/GSLPR/GSLPRPrintOperation.m: Format cleanup.
* Printing/GSLPR/GSLPRPrintPanel.m: Format cleanup.
* Printing/GSLPR/GSLPRPrinter.m: Format cleanup.
* Source/GSEPSPrintOperation.m: Format cleanup.
* Source/GSPDFPrintOperation.m: Format cleanup.
* Source/GSPrintOperation.m: Format cleanup.
* Source/GSPrinting.m: Format cleanup.
* Source/NSPageLayout.m: Changed to MVS and a whole new UI.
* Source/NSPrintInfo.m: Format cleanup.
The big thing changed here is that NSPageLayout has a whole new
UI and is MVC based. I have not yet implemented the ability
to create and edit custom papers, that is next.
2004-07-22 00:18 Gregory John Casamento <[email protected]>
* Source/GSNibContainer.m: Corrected spelling mistake in comment.
2004-07-22 00:59 Alexander Malmberg <[email protected]>
* Source/GSStandardWindowDecorationView.m (-setDocumentEdited:,
-setTitle:): Pass the calls along to super.
2004-07-21 19:53 Alexander Malmberg <[email protected]>
* Source/NSFontPanel.m (-_trySelectSize:updateSizeField:): Add
updateSizeField argument. Update callers.
2004-07-20 01:24 Alexander Malmberg <[email protected]>
* Source/NSScroller.m (-rectForPart:): Use floor() instead of
floorf().
2004-07-18 Gregory John Casamento <[email protected]>
* Source/GSNibTemplates.m: Removed some commented out code.
2004-07-14 Adam Fedor <[email protected]>
* Documentation/General/OpenStepCompliance.gsdoc: Update.
* Documentation/Gui/Gui.gsdoc: Add compliance and release links
* Source/NSSavePanel.m: Remove extraneous ';' at end of some methods
* Source/NSTableView.m: Idem.
2004-07-15 02:28 Alexander Malmberg <[email protected]>
* Source/NSBezierPath.m (point_on_curve): New function.
(-_recalculateBounds): Rewrite. Calculate bounds analytically.
2004-07-13 02:54 Alexander Malmberg <[email protected]>
* Source/NSImageRep.m (+_imageRepsWithData:): New method.
(+imageRepsWithContentsOfURL:): Use +_imageRepsWithData:.
(+imageRepsWithContentsOfFile:): If the filename has no extension,
use +_imageRepsWithData: to load it.
2004-07-13 01:15 Alexander Malmberg <[email protected]>
* Source/NSWindow.m (+_handleAutodisplay:, +_addAutodisplayedWindow:,
+_removeAutodisplayedWindow:): New methods.
Rename _handleWindowNeedsDisplay: to -_handleAutodisplay.
([NSWindow +initialize]): Don't initialize modes.
(-dealloc, -orderWindow:relativeTo:): Use +_addAutodisplayedWindow:
and +_removeAutodisplayedWindow: instead of adding/removing a runloop
performer.
2004-07-13 00:23 Alexander Malmberg <[email protected]>
* Source/NSSound.m: Only declare the_server if HAVE_AUDIOFILE_H
is defined.
2004-07-13 00:21 Alexander Malmberg <[email protected]>
* Headers/AppKit/NSMovieView.h: Make loopMode ivar an unsigned int.
2004-07-13 Serg Stoyan <[email protected]>
* Source/NSButtonCell.m:
(_init): Set default values of _gradient_type and
_image_dims_when_disabled.
(drawGradientWithFrame:inView:): Implemented. Draws gradient
according to the _gradient_type ivar value.
(drawInteriorWithFrame:inView:): Call drawGradientWithFrame:inView
if _gradient_type was set and cell is no highlighted. Dissolve
image if cell is disabled and _image_dims_when_disabled was set.