forked from gnustep/libs-gui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog.4
10100 lines (7471 loc) · 364 KB
/
ChangeLog.4
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
2009-12-31 Eric Wasylishen <[email protected]>
* Source/NSShadow.m, Headers/AppKit/NSShadow.h:
Added NSShadow implementation; doesn't actually draw anything yet.
2009-12-31 German Arias <[email protected]>
* ColorPickers/Spanish.lproj/StandardPicker.strings,
* Resources/Spanish.lproj/Localizable.strings: Fixed incorrect characters.
2009-12-31 German Arias <[email protected]>
* Resources/Spanish.lproj/Localizable.strings: Added.
* Resources/GNUmakefile: Added Spanish language.
2009-12-30 German Arias <[email protected]>
* Panels/Spanish.lproj/GSDataLinkPanel.gorm,
* Panels/Spanish.lproj/GSPageLayout.gorm,
* Panels/Spanish.lproj/GSToolbarCustomizationPalette.gorm,
* Panels/Spanish.lproj/GSPrintPanel.gorm,
* Panels/Spanish.lproj/GSSpellPanel.gorm: Added.
* Panels/GNUmakefile: Added Spanish language.
2009-12-30 German Arias <[email protected]>
* ColorPickers/Spanish.lproj/StandardPicker.strings: Added.
2009-12-29 Fred Kiefer <[email protected]>
* Headers/AppKit/NSImageView.h: Clean up.
* Source/NSImageView.m: Clean up and addition of cut/copy/paste
methods, based on code by Nikolaus Schaller <[email protected]>.
2009-12-27 Quentin Mathe <[email protected]>
* Headers/NSTableView.h
* Source/NSTableView.m
(-columnIndexesInRect:): Added new Mac OS 10.5 method.
2009-12-26 Riccardo Mottola <[email protected]>
* Source/NSTextView.m: Corrected multi-line string constant
* Source/NSCell.m: Corrected c99-ism
2009-12-23 Wolfgang Lux <[email protected]>
* Source/NSTextView.m (-dealloc, -breakUndoCoalescing,
-shouldChangeTextInRange:replacementString:): Implement coalescing
of undo actions for typing events.
* Source/NSTextView.m (-selectedRange): Prevent crash when the
receiver has no layout manager.
2009-12-23 Wolfgang Lux <[email protected]>
* Source/NSTableView.m (-mouseDown:): A single click into a cell
of an unselected row can now change the cell's state even when the
table view allows dragging.
2009-12-22 17:31-EST Gregory John Casamento <[email protected]>
* Source/NSCell.m: Corrected documentation in GUI to reflect that
this does nothing in the default implementation, according to spec.
2009-12-22 Wolfgang Lux <[email protected]>
* Source/NSWindow.m (-validateUserInterfaceItem):
* Source/NSWindow.m (-validateMenuItem): Generalize user interface
validation for NSWindow.
* Source/NSWindow.m (-undo:, -redo:): Use the first responder's
undo manager if available. Avoids the need for overriding these
methods in any responder class which supports undo/redo and is
compatible with OS X.
2009-12-22 Wolfgang Lux <[email protected]>
* Source/NSAlert.m (makeScrollViewWithRect):
* Source/NSAlert.m (-sizePanelToFit): If the message text is too
wide to fit into the panel wrap its text to the scroll view's
width.
* Source/NSAlert.m (-sizePanelToFit): Limit the width and height
of an alert panel to 60% of the screen's width and height,
respectively.
2009-12-21 Wolfgang Lux <[email protected]>
* Source/NSScrollView.m (-isOpaque): Fix bug where an NSScrollView
incorrectly claimed to be opaque while its clip view is not.
* Source/NSOpenPanel.m (-setCanChooseDirectories): Reset the
current selection of an open panel when directory selection is
disabled. This prevents bogus directories being returned from the
next modal session of the panel.
* Source/NSSavePanel.m (-resetDefaults): Also reset the
allowsOtherFileTypes attribute to its default when a fresh save
panel is requested.
2009-12-21 Fred Kiefer <[email protected]>
* Source/GSIconManager.h,
* Source/GSIconManager.m: New files. Allows to get icon placement
from separate process.
* Source/GNUmakefile: Add new file.
* Source/NSWindow.m,
* Source/NSApplication.m: Move icon handling into new file.
Patch by German Arias <[email protected]>.
2009-12-20 Eric Wasylishen <[email protected]>
* Source/NSColorWell.m: Draw a black-and-white pattern behind
transparent color swatches.
2009-12-20 Eric Wasylishen <[email protected]>
* Source/NSColor.m: -[GSRGBColor isEqual:] was ignoring the alpha
channel when testing equality.
2209-12-20 Eric Wasylishen <[email protected]>
* Source/NSColorWell.m
* Source/GSThemeDrawing.m
* Source/NSColorPanel.m
* Headers/AppKit/NSColorWell.h:
Finish NSColorWell interaction tweaks:
- activation of the now happens on mouseUp, not mouseDown
- non-bordered NSColorWells can't be activated by clicking
- non-bordered NSColorWells start a drag operation upon mouseDown
- disabled NSColorWells don't accept colours being dropped on them
- dropping a colour on the well inside the NSColorPanel now
also updates the active NSColorWell
Also moved the static variable for keeping track of where the mouseDown
occurred to an instance variable.
2009-12-21 Fred Kiefer <[email protected]>
* Source/NSTableColumn.m (-initWithCoder:, -encodeWithCoder:): Add
the keyed encoding/decoding code for Quentin's extensions.
2009-12-20 Eric Wasylishen <[email protected]>
* Source/NSSliderCell.m: Some more changes to NSSliderCell to get
BezierPathLab working, and a test suite in
tests/testsuite/gui/NSSliderCell. Set the doubleValue to 0 in -init,
unarchive the @"NSValue" key and set the floatValue to it when
unarchiving, adjust setObjectValue: so that when minValue > maxValue,
the slider cell takes its value to be minValue.
Also override setContinuous: and isContinuous to use
NSLeftMouseDraggedMask rather than NSPeriodicMask, which makes
the continuous setting of sliders in Nibs work properly in GNUstep.
2009-11-24 David Chisnall <[email protected]>
* Source/NSApplication.m: Replaced two superfluous NSInvocation
construction occurrences with direct calls to the IMP in question.
2009-12-19 Eric Wasylishen <[email protected]>
* Source/NSBezierPath.m: Change default flatness to 0.6 matching OS X
2009-12-19 Fred Kiefer <[email protected]>
* Source/NSCell.m (-setStringValue:): Remove optimisation for
simple string case. Now -setObjectValue: is called in most cases.
* Source/NSButtonCell.m (-attributedTitle, -setAttributedTitle:,
-title, -setTitle:): Replace calls to super implementation with a
simple local implementation.
* Source/NSSliderCell.m: Remove most of the value setter methods,
as they just duplicated super class behaviour.
Move the setContinues: call into the init method.
2009-12-19 Fred Kiefer <[email protected]>
* Headers/AppKit/NSTextTable.h,
* Source/NSTextTable.m,
* Source/NSTextBlock.m,
* Source/NSTextTableBlock.m: First attempt at implementing these classes.
Code mostly by Nikolaus Schaller <[email protected]>.
2009-12-11 Eric Wasylishen <[email protected]>
* Source/NSSliderCell.m:
Rework the handling of maxValue and minValue. The cell's value is now
clamped to the permisible range when it is set, rather than in
floatValue, matching OS X behaviour. setMinValue: and setMaxValue:
also clamp the current value.
Also make NSSliderCell continuous by default when unarchived (matches
OS X).
2009-12-17 Quentin Mathe <[email protected]>
* Source/NSTableView.m (-setDropRow:dropOperation:, -draggingUpdated):
Corrected to support a drop on root with -1 as the drop row as explained
in Cocoa documentation.
2009-12-17 Wolfgang Lux <[email protected]>
* Source/GSThemeDrawing.m (-drawProgressIndicator:withBounds:...):
Prevent division by zero exception if no images are available for
a spinning or indeterminate progress indicator.
* Source/NSProgressIndicator.m (-setIndeterminate): Ensure that a
running animation is stopped when an indeterminate indicator is
changed into a determinate one.
2009-12-17 Wolfgang Lux <[email protected]>
* Source/NSComboBoxCell.m (-drawInteriorWithFrame:inView:): Fix
bug where the field editor of an edited combo box cell overlaps
the cell's ellipsis button.
* Source/NSComboBoxCell.m (-endEditing): Make sure the pop up
window is closed when editing ends.
* Source/NSComboBoxCell.m (-validateSelection): Remove obsolete
workaround code.
2009-12-17 Wolfgang Lux <[email protected]>
* Source/NSCell.m (-wraps, -setWraps:, -setLineBreakMode:,
-initWithCoder:): Phase out the wraps cell attribute since it is
implied by the lineBreakMode attribute. Note that with this change
cells now wrap by default, as has always been the case on OS X.
* Source/NSBrowserCell.m (-initTextCell:, -initImageCell:):
* Source/NSTableColumn.m (-initWithIdentifier): Set default line
break mode to NSLineBreakByTruncatingTail as on OS X.
* Source/NSCell.m (-setUpFieldEditorAttributes:): Set the typing
attributes of the field editor so that it uses the same paragraph
style and in particular the same line break mode as the edited
cell. This fixes an inconsistency where wrapped text would be
displayed in a single line during editing.
2009-12-17 Wolfgang Lux <[email protected]>
* Source/NSCell.m (-_setupTextWithFrame:inView:editor:delegate:range):
* Source/NSCell.m (-endEditing:):
Properly set up the field editor and its text container to handle
cells whose text is wrapped, cells which truncate their text, and
cells with scrollable contents, respectively, and prepare the
field editor and its enclosing clip view to be resizable. Use a
clip view only when necessary.
* Source/NSCell.m (-_drawEditorWithFrame:inView:): Auxiliary
method to update the frame of a cell's editor when the cell has
been resized or moved.
* Source/NSCell.m (-_setInEditing:): Helper method that allows
control views to flag their edited cell.
* Source/NSCell.m (-drawInteriorWithFrame:inView):
* Source/NSTextFieldCell.m (-drawInteriorWithFrame:inView): Do not
draw the interior of an edited cell.
* Source/NSTableView.m (-moveColumn:toColumn:): Update the column
index of the edited cell if necessary.
* Source/NSControl.m (-drawRect:):
* Source/NSTableView.m (-drawRow:clipRect:):
* Source/NSOutlineView.m (-drawRow:clipRect): Remove obsolete
workarounds to prevent an edited cell from being drawn twice.
The preceding changes also should fix #22678.
2009-12-16 Wolfgang Lux <[email protected]>
* Source/NSTextFieldCell.m (-drawInteriorWithFrame:inView:):
Override method and use drawInRect: to draw the string of the
text field so that long text can be wrapped.
2009-12-16 Wolfgang Lux <[email protected]>
* Source/NSOpenPanel.m (-_selectTextInColumn:, _selectCellName:,
-controlTextDidChange:): Do a better job on validating the OK
button. This makes it possible again to use the open panel for
choosing directories. Also replaces the previous fix for bug
#25471, which did not really work.
* Source/NSBrowser.m (-doClick:): Fix NSBrowser so that branch
cells are really deselected when multiple selection is enabled and
allowsBranchSelection is set to NO. Also replace the workaround
for bug #18881 by a better fix.
2009-12-15 Wolfgang Lux <[email protected]>
* Source/NSSavePanel.m (-ok:): Avoid the bogus warning that was
shown when the panel requires a file type extension and the user
has entered a file name without an extension.
* Source/NSSavePanel.m (-filename): Do not replace an existing
file type extension if allowsOtherFileTypes is set.
* Source/NSSavePanel.m (-runModalForDirectory:file,
-runModalForDirectory:file:relativeToWindow:,
-beginSheetForDirectory:file:modalForWindow:modalDelegate:...):
Initially enable the panel's OK button if a file name is provided
to the modal session.
2009-12-15 Riccardo Mottola <[email protected]>
* Source/NSOutlineView.m: removed c99-isms
2009-12-11 Eric Wasylishen <[email protected]>
* Source/GSThemeTools.m: Correct the destination rect coordinates in
scaleFillRect:, and the image slicing in initWithNinePatchImage:
2009-12-12 Eric Wasylishen <[email protected]>
* Source/NSBitmapImageRep.m:
* Source/GSThemeTools.m:
Change the colorAtX:y: and related methods in NSBitmapImageRep
to use flipped coordinates, matching OS X. colorAtX:0 y:0 now
returns the top-left pixel instead of the bottom left.
2009-12-12 Fred Kiefer <[email protected]>
* Source/NSApplication (-setWindowsMenu:): Only add windows that
are either visible or miniaturized.
2009-12-11 13:09-EST Gregory John Casamento <[email protected]>
* Source/GSNibLoader.m: Added logging to help debugging of issues
with nib loading.
* Source/NSTextContainer.m: -[NSTextContainer initWithCoder:]
removed call to unarchive the textview to prevent a leak. Also
don't set the textview as the text container. Currently we
just get the contents of the text container and rebuild it
in NSTextView.m.
2009-12-10 Quentin Mathe <[email protected]>
* Headers/AppKit/NSKeyValueBinding.h:
* Source/externs.m:
* Source/NSWindow.m (+initialize, -bind:toObject:withKeyPath:options:):
Added NSWindow 'title' binding.
2009-12-08 Quentin Mathe <[email protected]>
* Source/NSTableColumn.m (-dealloc): Fixed missing release for
_sortDescriptorPrototype ivar.
2009-12-08 Quentin Mathe <[email protected]>
* Headers/NSTableColumn.h:
* Source/NSTableColumn.m:
Added all new table column methods and constants up to Mac OS X 10.6.
These new additions remain to be fully implemented and the archiving code
to be updated.
2009-12-08 Hans Baier <[email protected]>
* Source/NSColorWell.m (-mouseDragged:, -mouseDown:): Applied
patch from Eric Wasylishen to activate it on click inside the
colored rectangle (same behavior as in OS X)
2009-12-06 Quentin Mathe <[email protected]>
* Source/NSOutlineView.m (-draggingUpdated:):
Fixed drop above as a child in the previous row (when this row is an
empty parent).
(-drawDropAboveIndicatorWithDropItem:atRow:childDropIndex:): Fixed the
drop above indicator drawing when the level doesn't match the previous
row. Done by including an extra row parameter which makes possible to
remove the row computation code that appears to partially duplicate
-parentRowForRow:atLevel:andReturnChildIndex:.
2009-12-05 Quentin Mathe <[email protected]>
* Source/NSTableView.m (-_startDragOperationWithEvent:): Modified to call
-canDragRowsWithIndexes:atPoint: as expected.
2009-12-05 Quentin Mathe <[email protected]>
* Source/NSOutlineView.m (-draggingUpdated): Further simplified.
Wrote detailed code documentation since the overall behavior is pretty
complex.
Fixed to compute the vertical and horizontal positions correctly when
the view is scrolled.
Fixed out of bounds exception when the pointer moves into the empty
area below the rows (was trying to auto-expand the root item).
Implemented drop on root indicator in addition to drop on row and drop
drop above (works the same as Mac OS X).
(-isExpandable:): Modified to always return NO when the item is nil (as
Mac OS X does).
(-drawDropAboveIndicatorWithDropItem:childDropIndex:,
-drawDropOnRootIndicator, -drawDropOnWithDropItem:,
-parentRowForRow:atLevel:andReturnChildIndex:): New methods extracted
from -draggingUpdated.
2009-11-30 Richard Frith-Macdonald <[email protected]>
* Source/NSOutlineView.m: Improve DnD allowing drop on items as well
as inside them. Attempt to mimix OSX behavior. Simplify code.
Use triangular images similar to OSX appearance.
Doubtless needs more polishing.
2009-11-29 Wolfgang Lux <[email protected]>
* Source/NSView.m (-dealloc): Fix bug where -dealloc could break
the key view chain.
* Source/NSSavePanel.m (-ok:): Present a warning when the user has
entered a filename with a wrong extension.
2009-11-29 Richard Frith-Macdonald <[email protected]>
* Source/NSOutlineView.m: Improve display of insertion point for DnD
Add auto-expand/collapse while dragging over expandable items.
2009-11-28 Richard Frith-Macdonald <[email protected]>
* Source/GSNibLoading.m: Fix/improve handling of main menu to be
more intelligent about moving the 'quit' item and 'info' submenu.
2009-11-27 Richard Frith-Macdonald <[email protected]>
* Source/NSSplitView.m: Correct the storing of the splitter locations
in the defaults system (the autosave mechanism) ... was using NSNumber
keys which was causing this to fail.
2009-11-26 Richard Frith-Macdonald <[email protected]>
* Source/NSTableView.m: ([-noteNumberOfRowsChanged]) fixed to redraw
the rectangle in the superview if the receiver shrinks.
2009-11-25 Wolfgang Lux <[email protected]>
* Source/NSCell.m (-_updateFieldEditor:): Don't write back
unchanged strings to the field editor. Should prevent the editor's
selection from changing when -validateEditing is called.
* Source/NSCell.m (-setAttributedStringValue:): Consider the
attributed string a valid object if the cell has no formatter.
* Source/NSTextField.m (-textDidEndEditing:): Fix bug in
textDidEndEditing:.
Patch by Doug Simons <[email protected]>.
2009-11-20 Richard Frith-Macdonald <[email protected]>
* Source/GSTheme.m:
* Headers/Additions/GNUstepGUI/GSTheme.h:
Added support for overriding methods in any class by implementing
a corresponding method in your GSTheme subclass.
2009-11-19 Richard Frith-Macdonald <[email protected]>
* Source/GSTheme.m:
* Source/NSMenuItemCell.m:
* Source/GSThemeDrawing.m:
* Source/NSScrollView.m:
* Headers/Additions/GNUstepGUI/GSTheme.h:
Separate cache control from normal fetching of tiles and colors.
2009-11-19 Richard Frith-Macdonald <[email protected]>
* Headers/Additions/GNUstepGUI/GSTheme.h:
Improve documentation of -activate and -deactivate
2009-11-16 Richard Frith-Macdonald <[email protected]>
* Source/NSMenuItemCell.m:
* Source/GSThemeDrawing.m:
* Headers/Additions/GNUstepGUI/GSTheme.h:
Removed duplicate theming methods...
The ([-arrowImageForMenuItemCell]) method seems to have duplicated the
([-imageNamed:]) method (for the @"NSMenuItem" image) and the
([-backgroundColorForMenuItemCell:state:]) method seemed to have
duplicated the ([colorNamed:state:cache]) method.
We must not introduce extra APIs for getting images and colors or
things will get unmaintainable.
2009-11-16 Fred Kiefer <[email protected]>
* Source/NSSlider.m: Clean up.
* Source/NSSliderCell.m: Remove isFlipped method, correct
copyWithZone:, clean up.
2009-11-16 Fred Kiefer <[email protected]>
* Source/NSCell.m (-setObjectValue:, -setStringValue:): Handle a
value of nil identically in both cases.
* Source/NSActionCell.m (-setObjectValue:, -setStringValue:):
Only mark the cell for redraw when there is no editor.
2009-11-16 Fred Kiefer <[email protected]>
* Source/NSTextView.m (-validateUserIntefaceItem:): Move this
method over from NSTextView_actions.m as the compiler is expecting
it here. Add a few more actions.
2009-11-15 Fred Kiefer <[email protected]>
* Source/NSTextView.m (-validateUserIntefaceItem:): Remove the
dummy implementation of this method as there is now a proper one
in NSTextView_actions.m.
2009-11-15 Fred Kiefer <[email protected]>
* Source/NSButtonCell.m: Change default value for
keyEquivalentModifierMask to 0. Add keyed decoding and encoding of
keyEquivalentModifierMask.
* Source/NSSearchFieldCell.m,
* Source/NSSpellChecker.m: Add explicit keyEquivalentModifierMask setting.
* Source/NSInputManager.m: Add handling of escape character to
call cancelOperation:
* Source/NSTextField.m: Fix textDidEndEditing: to send action
when sendsActionOnEndEditing is set.
Patch by Douglas Simons <[email protected]>.
2009-11-14 Wolfgang Lux <[email protected]>
* Source/NSWindow.m (-sendEvent:): Always shift keyboard focus to
the next and previous key view, respectively, upon receiving
Ctrl-Tab and Ctrl-Shift-Tab keyboard events.
* Source/NSTextView_actions.m (-validateMenuItem:,
-validateUserIntefaceItem:): Implement menu and user interface
item validation for NSTextView. The list of validated actions is
incomplete but at least includes all items from a standard Edit
menu.
* Source/NSCell.m(-_setupTextWithFrame:inView:editor:delegate:range:,
-_updateFieldEditor):
* Source/NSActionCell.m (-setObjectValue:, -setStringValue:):
Fix NSActionCell implementation so that -setObjectValue: and
-setStringValue: have an effect while the cell is edited.
2009-11-14 Hans Baier <[email protected]>
* Source/GSThemeDrawing.m: fix bug introduced in last commit
(progress bar fills the whole area)
2009-11-14 Hans Baier <[email protected]>
* Headers/Additions/GNUstepGUI/GSTheme.h,
* Source/GSThemeDrawing.m: Factor out drawing of progress
indicator's bezel and bar
2009-11-14 Hans Baier <[email protected]>
* Headers/Additions/GNUstepGUI/GSTheme.h,
* Source/GSThemeDrawing.m,
* Source/NSMenuItemCell.m: Make the menu arrow image themeable
2009-11-12 Fred Kiefer <[email protected]>
* Source/NSImage.m (-copyWithZone:): Set the name of the copy to
nil, not that of the original image.
2009-11-12 Richard Frith-Macdonald <[email protected]>
* Source/NSImage.m: fixup copy/dealloc handling of named images
2009-11-12 Fred Kiefer <[email protected]>
* Source/NSWindow.m: Implement isZommed. Move the call to
windowWillResize:toSize: from setFrame:display into setFrameFromString:.
2009-11-09 Fred Kiefer <[email protected]>
* Headers/Additions/GNUstepGUI/GSTheme.h,
* Source/GSThemeDrawing.m,
* Source/NSProgressIndicator.m: Move initialiation and drawing
into GSTheme.
2009-11-09 Fred Kiefer <[email protected]>
* Headers/Additions/GNUstepGUI/GSTheme.h,
* Source/GSThemeDrawing.m,
* Source/NSColorWell.m: Move colour well border drawing into GSTheme.
This change makes the dragable area of the well a bit smaller.
2009-11-09 Fred Kiefer <[email protected]>
* Headers/Additions/GNUstepGUI/GSTheme.h,
* Source/GSThemeDrawing.m,
* Source/NSTableView.m: Move corner view drawing into GSTheme.
* Source/NSTextFieldCell.m: White space changes.
* Headers/AppKit/NSTableHeaderCell.h,
* Source/NSTableHeaderCell.m: Add new 10.3 methods.
2009-11-09 Fred Kiefer <[email protected]>
* Source/NSControl.m,
* Headers/AppKit/NSStepper.h,
* Headers/AppKit/NSStepperCell.h,
* Source/NSStepper.m: White space changes and cleanup.
* Source/NSStepperCell.m,
* Headers/Additions/GNUstepGUI/GSTheme.h,
* Source/GSThemeDrawing.m: Move stepper drawing code into GSTheme.
2009-11-09 Richard Frith-Macdonald <[email protected]>
* Source/NSScroller.m: make offset of buttons inside scroller adjustable
for theming.
2009-11-08 Fred Kiefer <[email protected]>
* Source/NSActionCell.m,
* Source/NSAffineTransform.m
White space changes and cleanup.
* Headers/AppKit/NSAnimation.h: Change to new MacOSX type definitions.
* Source/NSAnimation.m: Remove externs and white space changes.
* Source/externs.m: Move externs from NSAnimation to here.
2009-11-08 Fred Kiefer <[email protected]>
* Source/NSApplication.m (-finishLaunching): Only activate the
application if it isn't hidden.
* Source/Functions.m (NSConvertGlobalToWindowNumber,
NSConvertWindowNumberToGlobal): Add a slightly better implementation.
2009-11-05 Wolfgang Lux <[email protected]>
* Source/NSDocumentController.m (+initialize): Don't ignore types
without an associated document class.
* Source/NSDocument.m (+readableTypes, +writableTypes):
* Source/NSDocumentController.m(-_readableTypesForClass:,
-_writableTypesForClass:): Add the exportable types to the
writable types. Rename private NSDocumentController methods.
* Source/NSDocument.m (-_addItemsToSpaButtonFromArray,
-changeSaveType, _runSavePanelForSaveOperation): Save panel
accessory pop up now allows the user to select one of the
exportable types for NSSaveToOperation.
* KeyBindings/DefaultKeyBindings.dict: Enable Ctrl-l key binding
and add Ctrl-o key binding as in Emacs and Cocoa.
* Source/NSTextView_actions.m (-insertNewlineIgnoringFieldEditor:,
-insertTabIgnoringFieldEditor): Implement NSResponder methods.
* Source/NSWindow.m (-dealloc): Release the toolbar without
updating the window's geometry and thus avoid calling the delegate
during deallocation.
* Source/NSAlert.m (NSBeginAlertSheet, NSBeginCriticalAlertSheet,
NSBeginInformationalAlertSheet): Call the didEndSelector after the
sheet has been closed.
2009-11-04 Fred Kiefer <[email protected]>
* Source/NSColor.m (GSRGBColor -getComponents:): Correct
alpha_component passing.
2009-11-03 Fred Kiefer <[email protected]>
* Source/NSColor.m (-colorUsingColorSpace): Support more color spaces.
* Source/NSColorSpace.m (COLORSPACE): Initialize the static variable.
2009-11-03 Fred Kiefer <[email protected]>
* Source/GSThemeDrawing.m: Add more includes to apeace Riccardo's compiler.
2009-11-03 Fred Kiefer <[email protected]>
* Source/Functions.m (NSConvertGlobalToWindowNumber,
NSConvertWindowNumberToGlobal): Add dummy implementation.
2009-11-02 Fred Kiefer <[email protected]>
* Source/NSApplication.m (-nextEventMatchingMask:...): Only set
the current event when dequeuing and never return the null_event.
2009-11-02 Fred Kiefer <[email protected]>
* Source/GSTheme.m: Remove some compiler warnings.
* Source/NSMenuItemCell.m,
* Source/GSToolbarView.m,
* Source/GSThemeDrawing.m,
* Headers/Additions/GNUstepGUI/GSTheme.h: New theme methods for
toolbar and menu item drawing.
2009-11-01 Fred Kiefer <[email protected]>
* Source/NSImage.m: Switch to the new shared composite and
dissolve code.
2009-10-29 Fred Kiefer <[email protected]>
* Source/NSProgressIndicator.m: Correct flipped drawing.
2009-10-28 Fred Kiefer <[email protected]>
* Source/NSProgressIndicator.m: Fill more methods.
2009-10-27 Fred Kiefer <[email protected]>
* Headers/AppKit/NSProgressIndicator.h,
* Source/NSProgressIndicator.m: Add missing OSX 10.5 methods and
use the pattern colour patch by Uli Kusterer
* Images/common_ProgressSpinning_?.tiff
* Images/common_ProgressIndeterminate_?.tiff
New image files by Uli Kusterer <[email protected]>.
* Images/GNUmakefile: Add the new images.
2009-10-27 Thomas Gamper <[email protected]>
* Source/GSDisplayServer.m
* Headers/Additions/GNUstepGUI/GSDisplayServer.h:
Add cursor position setter (setMouseLocation:onScreen:).
2009-10-25 Fred Kiefer <[email protected]>
* Source/NSGradient.m (-drawInRect:angle:): Correct the math by
adding a call to abs().
2009-10-23 Fred Kiefer <[email protected]>
* Headers/AppKit/NSGraphicsContext.h,
* Source/NSGraphicsContext.m: Define empty gradient methods.
* Source/NSGradient.m: Use these methods.
* Source/NSColor.m (-colorUsingColorSpace): Don't use isEqual: on
color space.
2009-10-23 Fred Kiefer <[email protected]>
* Source/NSGradient.m: Add context savig/restore and first attempt
at geometry maths.
2009-10-23 Riccardo Mottola <[email protected]>
* Headers/AppKit/NSBezierPath.h: added some documentation
2009-10-22 Riccardo Mottola <[email protected]>
* Images/common_3DArrowRightH.tiff: Made background transparent,
allows for better theming
2009-10-22 Nicolas Roard <[email protected]>
* Source/GSThemeTools.m: Switched back extracting the individual
images in GSDrawTiles, fixing the problem with the matrix style
and allowing the nine patch style to work.
2009-10-21 Fred Kiefer <[email protected]>
* Source/NSColor.m (-colorUsingColorSpace): Add some dummy
implementation for this method.
* Source/NSColorSpace.m: Correct indention.
* Header/AppKit/NSGradient.h,
* Source/NSGradient.m: New files implementing the gui part of
colour gradients.
* Headers/AppKit/AppKit.h: Add include for NSGradient.h
* Source/GNUmakefile: Add new files.
2009-10-20 Wolfgang Lux <[email protected]>
* Source/NSDocumentController.m(-openDocumentWithContentsOfURL:display:,
-openDocumentWithContentsOfURL:display:error:): Call
-noteNewRecentDocument: instead of -noteNewRecentDocumentURL:.
* Source/NSDocumentController.m (-_updateOpenRecentMenu): Fix an
off by one error which would crash programs with an open recent
menu.
2009-10-19 Riccardo Mottola <[email protected]>
* Source/GSWindowDecorationView.h: add method declaration
so that certain compilers pick up the correct signature
2009-10-19 Richard Frith-Macdonald <[email protected]>
* Source/GSThemeTools.m: Fix broken drawing due to error in
the ([-validateTilesSizeWithImage:]) method.
Fix broken ([-drawCornersRect:]) too.
2009-10-19 Richard Frith-Macdonald <[email protected]>
* Source/GSThemeTools.m: Fix last changes to compile again (variable
declarations not at startof block only work on some compilers).
* Source/GSTheme.m: Functions for working with fill style names.
* Source/NSApplication.m: Fixup to show suppressed icon when app is
deactivated. Fix uninitialisaed variable causing crashes on failing
to use document controller to open an untitled document.
Drop non-standard method (which didn't work) for determining whether
we have a document based app.
* Source/NSDocumentController.m: Rewrite code for determining
whether the current app is document based. Cache singleton information
in static variables rether than ivars.
2009-10-19 Nicolas Roard <[email protected]>
* Source/GSTheme.m:
* Source/GSThemeTools.m:
* Source/GSThemePrivate.h:
Added the 'NinePatch' drawing style, and modified GSDrawTiles
to save the corresponding nine images from an original image,
instead of only remembering the rects... The other styles need
to be modified accordingly in a future patch.
2009-10-18 Richard Frith-Macdonald <[email protected]>
* Source/GSTheme.m:
* Source/GSThemeTools.m:
* Source/GSThemeDrawing.m:
* Source/GSThemePrivate.h:
* Headers/Additions/GNUstepGUI/GSTheme.h:
Allow theme to control how interior of tiled rect is filled.
2009-10-18 Nicolas Roard <[email protected]>
* Source/GSTheme.m,
* Source/GSThemeTools.m,
* Source/GSThemePrivate.h,
* Headers/Additions/GNUstepGUI/GSTheme.h: Refactoring of
GSDrawTiles, splitting fillRect:withTiles:background:fillStyle:
in smaller methods, letting GSDrawTiles be in charge of its own
drawing. Also added a 'nine patch' init method, to create
a GSDrawTiles from a specially crafted image (see comments).
2009-10-17 Wolfgang Lux <[email protected]>
* Source/NSApplication.m (-_windowWillClose:): When using MS
Windows style menus terminate an application by default when its
last window is closed.
In addition, fix a bug where the application was not terminated
when the last window is closed while the application is in the
background.
2009-10-17 Wolfgang Lux <[email protected]>
* Source/NSApplication.m (-finishLaunching): Open a new document
by default when a document based application is started and there
is no file to open.
2009-10-17 Richard Frith-Macdonald <[email protected]>
* Source/NSWindow.m:
* Source/NSApplication.m:
* Headers/AppKit/NSEvent.h:
Changes to unhide app when a suppressed app icon is deminiaturised.
Code conditional on defining MINI_ICON to 1 in NSApplication.m
Currently doesn't work because the backend is not notifying the gui
when a window is deminiaturised :-(
2009-10-17 Richard Frith-Macdonald <[email protected]>
* Source/NSApplication.m: Make GSSuppressAppIconhide the icon window
(leave it ordered out) rather than making it not exist at all.
Add new default GSBackgroundApp for an application which should not
display the window at all.
* Soure/NSWindow.m: Don't order any windows in if this is a background
application.
* Source/NSEvent.m: fix missing comma causing comple fail.
2009-10-17 Sheldon Gill <[email protected]>
* Source/NSApplication.m: centralise GSGuiBundle() routine
2009-10-16 Sheldon Gill <[email protected]>
* Source/NSEvent.m: add default for unknown events
* Source/NSApplication.m: Move saving defaultExceptionHandler to
when it is required (in _init) rather than early in +[initialize]
2009-10-13 Fred Kiefer <[email protected]>
* Source/GSTextStorage.m (-initWithCoder:): Display the warning
only when we load an old .gorm file.
2009-10-12 Fred Kiefer <[email protected]>
* Source/NSScroller.m (-mouseDown:): In NSWindows95InterfaceStyle
don't track the knob
2009-10-12 Fred Kiefer <[email protected]>
* Source/NSApplication.m (-runModalForWindow:, -runModalSession:):
Use NSModalPanelRunLoopMode instead of NSDefaultRunLoopMode.
2009-10-12 Fred Kiefer <[email protected]>
* Source/NSScroller.m: Handle NSMacintoshInterfaceStyle the same
as NSNextStepInterfaceStyle.
2009-10-12 Fred Kiefer <[email protected]>
* Source/NSColor.m (-hash): Turned Richards specific hash method
into a generic one.
2009-10-12 Fred Kiefer <[email protected]>
* Source/NSColor.m: Remove special proxy handling introduced in
last change.
2009-10-11 Richard Frith-Macdonald <[email protected]>
* Source/GSTheme.m: Implement -description for proxies.
* Source/NSColor.m: Fix theme activation to recache catalogue colors.
Write code to unique catalogue color instances.
Add locking to make catalogue colors thread-safe.
2009-10-11 Fred Kiefer <[email protected]>
* Source/GSStandardWindowDecorationView.m
(-resizeWindowStartingWithEvent:): restructure event handling code
and add periodic event.
2009-10-11 Richard Frith-Macdonald <[email protected]>
* Source/NSApplication.m: ([stopModalWithCode:]) correct the check to
see if a modal session is running. This fixes the breakage caused by
the recent change sending -stopModal to invisible windows (like open
panels ordered out at the end of their modal loop).
2009-10-11 Fred Kiefer <[email protected]>
* Source/GSStandardWindowDecorationView.m (-dealloc): Remove from
the notification centre.
2009-10-10 Fred Kiefer <[email protected]>
* Source/GSStandardWindowDecorationView.m,
* Headers/Additions/GNUstepGUI/GSTheme.h,
* Source/GSThemeDrawing.m: Move all the window border drawing code
into GSTheme.
2009-10-10 Fred Kiefer <[email protected]>
* Source/NSEvent.m,
* Source/NSImage.m,
* Source/GSTextStorage.m: Remove usage of NSDeallocateObject.
2009-10-10 Fred Kiefer <[email protected]>
* Source/NSApplication.m (-endModalSession:): Bring the window of
the next modal session to the front.
* Source/NSApplication.m (-runModalSession:): Better check whether
the current session window is gone.
* Source/NSPrintPanel.m (-_pickedButton:): Remove bogus log statement.
2009-09-27 Richard Frith-Macdonald <[email protected]>
* Source/NSImage.m: ([-setName:]) fix bug which was removing the
wrong name when given an image which already had a name.
Make named images thread-safe using a lock.
Add private method to update names on theme change.
* Source/GSTheme.m: Use new method to update theme images.
2009-09-26 Fred Kiefer <[email protected]>
* Source/NSApplication.m (-setApplicationIconImage:,
-finishLaunching): Move the set name code to finishLaunching, as
the image called NSApplicationIcon should stay the same all the time.
2009-09-26 Fred Kiefer <[email protected]>
* Source/NSTextContainer.m (init): Add this method as suggested
by Derek Fawcus <[email protected]>.
2009-09-21 Fred Kiefer <[email protected]>
* Source/NSWindow.m (+standardWindowButton:forStyleMask:): Add
support for toolbar button.
* Source/NSWindow.m (-toggleToolbarShown:): Reorder the code.
* Source/NSToolbar.m (_setVisible:broadcast:): Add code to really
make the toolbar visible.
* Source/NSToolbar.m (_window): New helper method for this.
2009-09-19 Fred Kiefer <[email protected]>
* Source/GSHorizontalTypesetter.m (-_cacheMoveTo:): Use default
paragraph style when none is set.
2009-09-19 Fred Kiefer <[email protected]>
* Headers/Additions/GNUstepGUI/GSTextConverter.h,
* TextConverters/RTF/RTFConsumer.m,
* TextConverters/RTF/RTFProducer.h,
* TextConverters/RTF/RTFProducer.m,
* Source/NSAttributedString.m: Unify the text converter handling.
* Headers/AppKit/NSAttributedString.h,
* Source/NSAttributedString.m (-itemNumberInTextList:atIndex:,
-rangeOfTextBlock:atIndex:, -rangeOfTextList:atIndex:): Correct
interface and add implementation for these methods.
2009-09-16 Fred Kiefer <[email protected]>
* Source/GSToolbarView.m (-drawRect:): Also correct the only use
of this method.
2009-09-16 Hans Baier <[email protected]>
* Headers/Additions/GNUstepGUI/GSTheme.h,
* Source/GSThemeDrawing.m: fix typo in method name:
drawToobarRect -> drawToolbarRect
2009-09-14 Hans Baier <[email protected]>
* Headers/AppKit/NSWorkspace.h,
* Source/NSWorkspace.m: ([-launchAppWithBundleIdentifier:])
add method and dummy implementation
2009-09-14 Fred Kiefer <[email protected]>
* Source/NSScroller.m,