forked from gnustep/libs-gui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangeLog
1831 lines (1341 loc) · 62.2 KB
/
ChangeLog
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
2021-06-17 Riccardo Mottola <rm@gnu.org>
* Source/NSHelpPanel.m: (initWithContentRect)
When initializing the text view do not use the document view
of the scroll view which is not yet set and invalid.
(Fixes exceptions/crashes)
2021-05-20 Gregory John Casamento <greg.casamento@gmail.com>
* Headers/AppKit/AppKit.h: Add NSStackView.h to header.
* Headers/AppKit/NSStackView.h: Header
* MISSING: Remove NSStackView from the list and update others.
* Source/GNUmakefile: Add NSStackView.[hm] to GNUmakefile.
* Source/GSXib5KeyedUnarchiver.m: Add decoders and mappings to decode
NSStackView content.
* Source/NSStackView.m: Implementation of NSStackView.
2021-05-01 Gregory John Casamento <greg.casamento@gmail.com>
* Headers/Additions/GNUstepGUI/GSXibLoading.h: Add declaration
for customClassNames so that we can use that to collect the names
of all of the custom classes and their associations.
* Source/GNUmakefile: Remove classes which are not used.
* Source/GSXib5KeyedUnarchiver.m: In parserDidStartElement...
call isInInterfaceBuilder to determine if we should allocate
custom classes.
* Source/GSXibLoading.m: Add in code in nibInstantiate which uses
[NSClassSwapper isInInterfaceBuilder] to prevent connections
from being established if the XIB is being loaded in IB/Gorm.
2021-04-30 Gregory John Casamento <greg.casamento@gmail.com>
* Headers/Additions/GNUstepGUI/GSModelLoaderFactory.h:
Declaration of canReadData: in the GSModelLoader class and
declaration of modelLoaderForData: in GSModelLoaderFactory.
* Source/GSGModelLoader.m: Prototype method for canReadData:
Implementation of modelLoaderForData:.
* Source/GSGormLoader.m
* Source/GSModelLoaderFactory.m
* Source/GSNibLoader.m
* Source/GSXibLoader.m: Implement -canReadData: method to
determine for each loader if that loader can handle the data
passed into it.
* Source/NSNib.m: Use of [GSModelLoaderFactory modelLoaderForData:]
to more generically implement methods that initialize an archive from
archived data since we have no file extention to rely on to identify
the archive contents.
2021-04-26 Ivan Vucica <ivan@vucica.net>
* ANNOUNCE:
* Documentation/ReleaseNotes.gsdoc:
* Documentation/news.texi:
* NEWS:
Updating documentation for the 0.29.0 release.
* Version:
Bumping requirement to gnustep-base 1.28.0.
2021-04-23 Gregory John Casamento <greg.casamento@gmail.com>
* Source/Functions.m: QuickFix. Remove unecessary warning
about storyboard in NSApplicationMain function.
2021-03-29 Gregory John Casamento <greg.casamento@gmail.com>
* Source/NSGridView.[hm]: Add implementation of NSGridView.
* Source/GSXib5KeyedUnarchiver.m: Add keys to decode NSGridView.
2021-03-27 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSControl.m (-textDidChange:): If there is a binding with
continious update, pass on the changed text.
* Source/GSXibElement.m: Correct the handling of boolean values in attributes.
* Source/GSBindingHelpers.h,
* Source/NSKeyValueBinding.m: Prevent recursion when
reverseSetValue: is used.
* Source/NSTextField.m (-textDidChange:): Remove empty code line.
2021-03-12 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSMenu.m (-_setOwnedByPopUp:): Only update the menu if
there is a new popup.
2021-02-21 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSPasteboard.m (-_pasteboardWithTarget:name:): Correct
wrong order of arguments to NSMapInsert.
* Source/NSPasteboard.m (-generalPasteboard): Simplify
implementation.
2021-02-12 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSSearchFieldCell.m: Correct encoding/decoding that was
broken in last commit of this file.
2021-02-05 Fred Kiefer <FredKiefer@gmx.de>
* Resources/Italian.lproj/Localizable.strings,
* Resources/Esperanto.lproj/Localizable.strings: Readd BOM which
was lost when regenerating these files.
2021-01-22 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSTableView.m (-_numRows): Take column value binding into
consideration.
* Source/NSTableColumn.m (-setValue:forKey:): Reload table data.
2021-01-22 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSWindow.m (GSOrderedWindows): Don't try to handle
already gone windows that may be returned from a slow window manager.
2021-01-16 Fred Kiefer <FredKiefer@gmx.de>
* Source/GSHorizontalTypesetter.m: Small cleanups for nerged pull request.
* Resources: Regenerate translation files.
* Documentation/news.texi,
* Version: Updating documentation for the upcoming 0.29.0 release.
2021-01-15 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSControl.m: Change encoding/decoding to protect
against differences in integer size.
2021-01-08 Fred Kiefer <FredKiefer@gmx.de>
* Headers/AppKit/NSComboBoxCell.h: Correct type of instance variables.
* Source/GSGuiPrivate.h: Add macros for encoding/decoding.
* Source/NSActionCell.m,
* Source/NSButtonCell.m,
* Source/NSCell.m,
* Source/NSComboBoxCell.m,
* Source/NSImageCell.m,
* Source/NSLevelIndicatorCell.m,
* Source/NSPathCell.m,
* Source/NSPopUpButtonCell.m,
* Source/NSSearchFieldCell.m,
* Source/NSSliderCell.m,
* Source/NSStepperCell.m: Change encoding/decoding to protect
against differences in integer size.
2020-12-13 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSSearchFieldCell.m: Use GSTheme to display the popup.
2020-12-12 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSSearchField.m,
* Source/NSSearchFieldCell.m: Small cleanups in formatting and
int types.
2020-12-11 Riccardo Mottola <rm@gnu.org>
* Source/GSToolbarView.m,
Use centerScanRect to correct Items frame and avoid flickering.
2020-12-06 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSToolbarFrameworkPrivate.h,
* Source/GSToolbarView.m,
* Source/NSToolbar.m: Minor changes to format code, remove unused
methods and introduce some new helper methods.
2020-11-29 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSMenuView.m (-mouseDown:): Protect against _window going
away during tracking.
2020-11-23 Riccardo Mottola <rm@gnu.org>
* Source/NSPopUpButtonCell.m (release):
Use standard setMenu: in release and avoid leaking the Menu. (Proposed by Fred)
2020-11-03 Riccardo Mottola <rm@gnu.org>
* Source/NSBitmapImageRep+JPEG.m (_JPEGRepresentationWithProperties:):
Support greyscape output colorspace in JPEG decompression, fix
Alpha output to NO, since JPEGs do not support it.
2020-10-18 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSTableView.m (-validateEditing): Reset _isValidating on
intermediate return.
Patch by Andreas Höschler <ahoesch@smartsoft.de>.
2020-10-04 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSColor.m: Protect against theme colour list missing out
on default colours.
2020-09-14 Fred Kiefer <FredKiefer@gmx.de>
* Source/GSToolTips.m: Revert bogus last commit.
2020-09-12 Gregory John Casamento <greg.casamento@gmail.com>
* Source/GSToolTips.m: Fix issue where setting the theme causes
tooltips to become all black. This is happening on windows and other
platforms.
* Source/NSCell.m: Fix for issue on Windows were contents are reset
when initWithCoder: coder is called. If the contents are set, they
determine the type. Currently investigating why this is occuring
ONLY on Windows.
2020-09-12 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSTextView.m (-initWithCoder:): Make sure text container is
in sync with the text view resize behaviour.
* Source/NSScrollView.m (-initWithCoder:): Add scrollers as
subviews when decoded.
2020-09-11 Fred Kiefer <FredKiefer@gmx.de>
* Source/GSLayoutManager.m
(-glyphRangeForCharacterRange:actualCharacterRange:): Handle zero
length charRagne at end of text correctly.
2020-09-07 Fred Kiefer <FredKiefer@gmx.de>
* Source/GSXib5KeyedUnarchiver.m
(-decodeCellPrototypeForElement:): Fix misuse of setType:.
2020-07-28 Gregory John Casamento <greg.casamento@gmail.com>
* Headers/AppKit/AppKit.h: Add all new headers
* Headers/AppKit/NSTextCheckingClient.h: Protocol for
NSTextCheckingController.m
* Headers/AppKit/NSTextCheckingController.h: New controller
for text checking - spelling/grammar
* Headers/AppKit/NSTextFinder.h: Text finder, currently delegates
all functionality to GSTextFinder.
* Headers/AppKit/NSTextInputClient.h: Protocol
* Headers/AppKit/NSTextInputContext.h: Protocol
* Headers/AppKit/NSTextView.h: Implementation of methods needed
for NSTextFinder.
* Headers/AppKit/NSUserInterfaceValidation.h: Minor changes
* MISSING: Removed these from MISSING list
* Source/GNUmakefile: Add files to be compiled or copied to list.
* Source/NSTextCheckingController.m: Implementation using
NSSpellChecker
* Source/NSTextFinder.m: Implementation using GSTextFinder
* Source/NSTextInputContext.m: Skeleton implementation.
* Source/NSTextView.m: Implementation of methods
2020-08-06 Fred Kiefer <FredKiefer@gmx.de>
* Source/GSStoryboardTransform.h,
* Source/NSPageController.m,
* Source/NSPersistentDocument.m,
* Source/NSSplitViewItem.m,
* Source/NSViewController.m: Fix compiler warnings mit gcc.
2020-07-31 Gregory John Casamento <greg.casamento@gmail.com>
* Headers/AppKit/AppKit.h: Add header
* Headers/AppKit/NSStatusBarButton.h: Declaration
* MISSING: Remove file from list
* Source/GNUmakefile: Add to compilation
* Source/NSStatusBarButton.m: Definition of class.
2020-07-30 Gregory John Casamento <greg.casamento@gmail.com>
* Headers/AppKit/AppKit.h
* Headers/AppKit/NSLayoutAnchor.h
* Headers/AppKit/NSLayoutConstraint.h
* Headers/AppKit/NSLayoutGuide.h
* MISSING: Remove classes from list.
* Source/GNUmakefile
* Source/GSXib5KeyedUnarchiver.m: Add code to decode constraints.
* Source/NSLayoutAnchor.m
* Source/NSLayoutConstraint.m
* Source/NSLayoutGuide.m: Add infrastructure for layouts.
This needs additional work and study. Comitting now so others
can more easily help.
2020-07-28 Gregory John Casamento <greg.casamento@gmail.com>
* Headers/AppKit/AppKit.h: Add includes for splitviewcontroller,
pagecontroller and tabviewcontroller.
* Headers/AppKit/NSPageController.h: Interface for page view controller
* Headers/AppKit/NSSplitViewController.h: Interface for splitview
controller
* Headers/AppKit/NSSplitViewItem.h: Enhancements to splitview item to
add logic for controller
* Headers/AppKit/NSStoryboardSegue.h: Add methods to handle popovers
* Headers/AppKit/NSTabViewController.h: Interface for tabViewController
* Headers/AppKit/NSTabViewItem.h: methods to support NSViewController
* Headers/AppKit/NSToolbar.h: Minor changes to support tabview controller
* Headers/AppKit/NSViewController.h: Additional enum
* MISSING: Remove implemented classes from list
* Source/GNUmakefile: Add new classes
* Source/GSStoryboardTransform.h: Additional methods on proxy
* Source/GSStoryboardTransform.m: Additional methods on proxy
* Source/GSThemeDrawing.m: minor changes
* Source/GSXib5KeyedUnarchiver.m: Handle pagecontroller element,
set certain things to true if abesnt
* Source/NSPageController.m: Implementation of NSPageController
* Source/NSSplitViewController.m: Implementation of NSSplitViewController
* Source/NSSplitViewItem.m: Implementation
* Source/NSStoryboardSegue.m: New methods for segue
* Source/NSTabViewController.m: Implementation of NSTabViewController
* Source/NSTabViewItem.m: New methods implementation
* Source/NSTabView.m: Add methods to handle NSViewController changes
* Source/NSViewController.m: New methods.
* Source/NSView.m: Private methods to insert a view
* Source/NSViewPrivate.h: Private method to insert view, declaration
* Source/NSWindow.m: Minor fixes.
2020-07-19 Gregory John Casamento <greg.casamento@gmail.com>
* Headers/AppKit/AppKit.h: Add include files for NSSegue* and other
classes.
* Headers/AppKit/NSSeguePerforming.h: Protocol for segue performing
so that classes that conform can be queried to determine if the
segue should be performed in the first place.
* Headers/AppKit/NSStoryboard.h: Class which loads the storyboard and
loads the individual scenes and controllers.
* Headers/AppKit/NSStoryboardSegue.h: This class handles the transition
between controllers/scenes.
* Headers/AppKit/NSViewController.h: Modifications to handle segues.
* Headers/AppKit/NSWindowController.h: Modifications to handle segues.
* Headers/AppKit/NSWindow.h: New method to create window controller for
view controllers.
* MISSING: Remove the classes implemented here from the missing list.
* Source/Functions.m: Enhance NSApplicationMain() function to handle the
loading of a storyboard.
* Source/GNUmakefile: Add the new classes to the build and copy the
headers.
* Source/GSStoryboardTransform.[hm]: Class to handle the transformation
of the storyboard file into "XIB" files for loading. Also handles the
intermediate
processes of instantiation of the destination controller.
* Source/NSStoryboard.m: Implementation of the above described class.
* Source/NSStoryboardSegue.m: Implementation of the above described
class.
* Source/NSViewController.m: Implementation of private methods to
handle transitions.
* Source/NSWindowController.m: Implementation of private methods to
handle transitions.
* Source/NSWindow.m: Implementation of method to create window
controller for view controllers.
2020-07-10 Gregory John Casamento <greg.casamento@gmail.com>
* Headers/AppKit/NSOutlineView.h: Formalize protocols for
NSOutlineViewDelegate and NSOutlineViewDataSource.
2020-07-03 Fred Kiefer <FredKiefer@gmx.de>
* Source/GSXib5KeyedUnarchiver.m (alternateName:): Be more careful
when chopping of part of the name.
2020-07-03 Fred Kiefer <FredKiefer@gmx.de>
* Headers/AppKit/NSNib.h,
* Source/NSNib.m: Add missing MacOSX methods.
* Source/GSXibLoader.m: Remove semicolon. Add debug logs.
2020-06-15 Gregory John Casamento <greg.casamento@gmail.com>
* Headers/AppKit/AppKit.h
* Headers/AppKit/NSAccessibilityCustomAction.h
* Headers/AppKit/NSAccessibilityCustomRotor.h
* Headers/AppKit/NSAccessibilityElement.h
* Headers/AppKit/NSAccessibilityProtocols.h
* Source/GNUmakefile
* Source/NSAccessibilityCustomAction.m
* Source/NSAccessibilityCustomRotor.m
* Source/NSAccessibilityElement.m: Add skeletons for
these classes. Future support of accessibility features
will fill these in.
2020-06-12 Yavor Doganov <yavor@gnu.org>
* Headers/AppKit/NSApplication.h: Remove semicolons from the
NSAppKitVersionNumber* definitions.
2020-05-29 Fred Kiefer <FredKiefer@gmx.de>
* TextConverters/RTF/rtfGrammar.y: Correct encoding handling.
* TextConverters/RTF/rtfGrammar.tab.h,
* TextConverters/RTF/rtfGrammar.tab.m: Regenerated.
* TextConverters/RTF/RTFConsumer.m: Add code to handle code page 10000.
2020-05-18 Fred Kiefer <FredKiefer@gmx.de>
* Headers/AppKit/NSColor.h,
* Source/NSColor.m: Add newer Cocoa methods.
2020-05-14 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSWindow.m (-makeFirstResponder, -sendEvent:): Correct
handling of new first responder not becoming first responder.
Patch suggested by Josh Freeman <pikopixel@twilightedge.com>.
2020-05-10 Fred Kiefer <FredKiefer@gmx.de>
* Source/GSXib5KeyedUnarchiver.m: Clean up NSPathCell decoding.
2020-05-09 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSStringDrawing.m: Initialize all the cache entries as
not used.
2020-05-09 Gregory John Casamento <greg.casamento@gmail.com>
* Source/NSPersistentDocument.[hm]: Add implementation of abstract
class for NSPersistentDocument.
2020-05-09 Fred Kiefer <FredKiefer@gmx.de>
* Source/GSHorizontalTypesetter.m (_addExtraLineFragment): Make
sure curParagraphStyle and line_height always have useful values.
2020-05-08 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSWindow.m (-initWithContentRect:...defer:): Call
setFrame:display: to ensure the minium and maximum size gets enforced.
* Source/NSFont.m (-description): Add this method.
2020-05-06 Gregory John Casamento <greg.casamento@gmail.com>
* Headers/Additions/GNUstepGUI/GSTheme.h: Add declarations
for new drawing methods.
* Headers/AppKit/AppKit.h: Add headers to main header
* Headers/AppKit/NSMenu.h: Add method to draw the popup in
the appropriate positin
* Headers/AppKit/NSPathCell.h: Implementation of path cell header
* Headers/AppKit/NSPathComponentCell.h: Component cell
* Headers/AppKit/NSPathControl.h: Control
* Headers/AppKit/NSPathControlItem.h: Control item
* MISSING: Remove NSPath* classes since they have been implemented
* Source/GNUmakefile: Add files to compile and copy
* Source/GSThemeDrawing.m: Add new drawing methods.
* Source/GSXib5KeyedUnarchiver.m: Add new decoding methods
* Source/NSMenu.m: Implement method to position popup
* Source/NSPathCell.m: Implementation path cell.
* Source/NSPathComponentCell.m: Cell representation of each
component
* Source/NSPathControlItem.m: Path items
* Source/NSPathControl.m: Path control to contain path cell and
components.
2020-04-30 Yavor Doganov <yavor@gnu.org>
* Documentation/GSSpeechRecognitionServer.1: Add simplistic
manpage for GSSpeechRecognitionServer.
* Documentation/GNUmakefile: Install it conditionally.
2020-04-26 Gregory John Casamento <greg.casamento@gmail.com>
* Headers/Additions/GNUstepGUI/GSTheme.h: Add declarations
for new drawing methods.
* Headers/AppKit/AppKit.h: Add new headers
* Headers/AppKit/NSAccessibilityProtocols.h
* Headers/AppKit/NSCell.h: Add NSControlStateValue enum
* Headers/AppKit/NSSwitch.h: Header for NSSwitch
* MISSING: Remove NSSwitch
* Source/GNUmakefile: Add .h and .m files
* Source/GSThemeDrawing.m: Add drawing code for knob and
switch basin.
* Source/GSXib5KeyedUnarchiver.m: Add decoding for
NSControlContents. Make sure enabled is YES when not
present.
* Source/NSColor.m: Minor changes
* Source/NSMatrix.m: Remove unneeded code
* Source/NSSwitch.m: Implementation of NSSwitch
* Source/NSToolbarItem.m: Remove unneeded code
2020-04-13 Gregory John Casamento <greg.casamento@gmail.com>
* Headers/AppKit/AppKitErrors.h:
* Headers/AppKit/AppKit.h:
* Headers/AppKit/NSFontAssetRequest.h:
* Headers/AppKit/NSMediaLibraryBrowserController.h:
* Headers/AppKit/NSScrubber.h:
* Headers/AppKit/NSScrubberItemView.h:
* Headers/AppKit/NSScrubberLayout.h:
* Headers/AppKit/NSSharingServicePickerToolbarItem.h:
* Headers/AppKit/NSUserInterfaceCompression.h:
* Headers/AppKit/NSUserInterfaceItemSearching.h:
* Headers/AppKit/NSWindowRestoration.h:
* MISSING: Remove mention of these classes.
* Source/GNUmakefile
* Source/NSFontAssetRequest.m:
* Source/NSMediaLibraryBrowserController.m:
* Source/NSScrubberItemView.m:
* Source/NSScrubberLayout.m:
* Source/NSScrubber.m:
* Source/NSSharingServicePickerToolbarItem.m: Add code to allow
compilation using these classes. These are Mac specific so they
can't be implemented on any other platform due to HW or
service limitations. At some point these might be able to be
implemented, but, for now, they are here to allow apps which
use them to compile.
2020-04-13 Ivan Vucica <ivan@vucica.net>
* Documentation/announce.texi:
* ANNOUNCE:
Normalize the accompanying text for the release announcement across
core packages: standardize chapter name and GPG information.
2020-04-05 Ivan Vucica <ivan@vucica.net>
* ANNOUNCE:
* Documentation/ReleaseNotes.gsdoc:
* Documentation/news.texi:
* NEWS:
Updating documentation for the 0.28.0 release.
2020-04-01 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/NSAlert.m (NSBeginAlertSheet): Restore call to delegate
method which was lost a while ago.
* Source/NSAlert.m (NSBeginCriticalAlertSheet,
NSBeginInformationalAlertSheet): Remove redundant calls to close
method.
* Source/NSAlert.m (NSBeginAlertSheet, NSBeginCriticalAlertSheet,
NSBeginInformationalAlertSheet): Change arguments names to reduce
confusion about the intended use of the corresponding selectors.
2020-03-26 Fred Kiefer <FredKiefer@gmx.de>
* Documentation/news.texi: Started to fill in some details for
pending release.
* .travis.yml: Try to keep up with Niels' changes in base.
2020-03-12 Sergii Stoian <stoyan255@gmail.com>
* Model/GNUmakefile: do not overwrite ADDITIONAL_INCLUDE_DIRS
value to help RPM build. In spec file ADDITIONAL_INCLUDE_DIRS can be sat
to subdirectories which are create by RPM build tool.
2020-03-05 Sergii Stoian <stoyan255@gmail.com>
* Source/NSWindow.m (_applyFrame:): new helper method to do actual
resizing.
(setFrame:display:): use _applyFrame method.
(applicationDidChangeScreenParameters:): Use _applyFrame: because our
origin in OpenStep coordinates might be unchanged and `setFrame:display:`
has check for it.
2020-02-28 Sergii Stoian <stoyan255@gmail.com>
* Source/NSWindow.m (center): always center window on main screen -
monitor where user expects to see window.
2020-02-26 Sergii Stoian <stoyan255@gmail.com>
* Source/NSWindow.m (sendEvent:): removed usage of extra local variables
in GSAppKitWindowMoved code block.
2020-02-23 Sergii Stoian <stoyan255@gmail.com>
* Source/NSWindow.m
(applicationDidChangeScreenParameters:): quit while loop after
screen was found.
(sendEvent:): use `_screen` ivar to get screen befor frame change.
* Source/NSMenu.m (windowDidChangeScreen:): join two if statements.
2020-02-23 Fred Kiefer <FredKiefer@gmx.de>
* Headers/Additions/GNUstepGUI/GSXibLoading.h,
* Source/GSXib5KeyedUnarchiver.m,
* Source/GSXibLoading.m: Move more behaviour from the
IBActionConnection5 and IBOutletConnection5 classes
to the original ones.
2020-02-23 Fred Kiefer <FredKiefer@gmx.de>
* .travis.yml
* travis-deps.sh: Try to keep up with Niels' changes in base.
2020-02-20 Sergii Stoian <stoyan255@gmail.com>
* Source/NSMenu.m (_setGeometry): take into account main screen
origin when calculating horizontal menu postion.
* Source/NSApplication.m (_appIconInit): take into account main screen
origin when placing application icon.
2020-02-13 Sergii Stoian <stoyan255@gmail.com>
* Source/NSWindow.m (setFrame:display:): use _screeForFrame: here
to prevent `_screen` reassign - it will be reassigned in
sendEvent: (GSAppKitWindowMoved event) after call to [self screen].
(setFrameFromString:): removed unused code because _screenForFrame:
never returns `nil`. Do not reassign `_screen` here.
2020-02-12 Sergii Stoian <stoyan255@gmail.com>
* Source/NSWindow.m (sendEvent:): set current screen to ivar and
send WindowDidChangeScreen notification if window was moved to other
screen.
* Source/NSScreen.m (mainScreen): returns screen of main menu if no
key window exists. With this implementation default screen (screen at
index 0 in screens array) should never be returned.
* Source/NSMenu.m (initWithTitle:): observe WindowDidBecomeKey and
WindowDidChangeScreen notifications.
(windowDidChangeScreen:): new method to handle observed notification
added above. Moves menu to screen of key window for both cases: when
key window moved to or activated on different screen.
2020-02-09 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSFontDescriptor.m: Correct key for encoding and decoding.
2020-01-31 Sergii Stoian <stoyan255@gmail.com>
* Source/GSTitleView.m (mouseDown:): limit menu movement to screen
frame for top/left/right edges. Menu can be moved to the bottom until
title is completely visible.
2020-01-27 Sergii Stoian <stoyan255@gmail.com>
* Source/NSWindow.m (applicationDidChangeScreenParameters): take into
account screen origin change during window position recalculation.
2020-01-26 Sergii Stoian <stoyan255@gmail.com>
* Source/NSWindow.m (initWithContentRect:styleMask:backing:defer:):
added observer of NSApplicationDidChangeScreenParametersNotification.
(applicationDidChangeScreenParameters:): callback for added notification -
updates window position, set new screen object and saves frame if
autosave name exists.
2020-01-23 Fred Kiefer <FredKiefer@gmx.de>
* Source/GSXib5KeyedUnarchiver.m: Remove NSWindowTemplate5.
* Source/GSXibLoader.m: Clean up code.
* Headers/Additions/GNUstepGUI/GSXibKeyedUnarchiver.h,
* Source/GSXibKeyedUnarchiver.m: Provide method to load both sorts
of XIB files.
* Source/NSArrayController.m: Add horrible hack to get KVB on
array controller to work.
2020-01-22 Fred Kiefer <FredKiefer@gmx.de>
* Source/GSXib5KeyedUnarchiver.m,
* Headers/Additions/GNUstepGUI/GSNibLoading.h,
* Source/GSXibLoading.m: Move toolbar ivar from NSWindowTemplate5
to NSWindowTemplate.
2020-01-22 Fred Kiefer <FredKiefer@gmx.de>
* TextConverters/RTF/rtfScanner.m: Add RTFansicpg.
* TextConverters/RTF/rtfGrammar.y: Handle encoding and code pages.
* TextConverters/RTF/rtfGrammar.tab.h,
* TextConverters/RTF/rtfGrammar.tab.m: Regenerated.
* TextConverters/RTF/RTFConsumerFunctions.h,
* TextConverters/RTF/RTFConsumer.m: Add code to handle encoding.
2020-01-20 Fred Kiefer <FredKiefer@gmx.de>
* Headers/AppKit/NSAppearance.h,
* Source/NSPDFInfo.m,
* Source/NSWorkspace.m: Fix compiler warnings.
2020-01-19 Fred Kiefer <FredKiefer@gmx.de>
* Source/GSXibKeyedUnarchiver.m: Remove references of XIB 5.
* Headers/Additions/GNUstepGUI/GSNibLoading.h: Add one method definition.
* Source/GSXibLoader.m,
* Source/GSXibLoading.m: Move helper classes to the correct file.
2020-01-19 Fred Kiefer <FredKiefer@gmx.de>
* Source/GSXib5KeyedUnarchiver.m: Handle dictionary elements correctly.
* Source/NSKeyValueBinding.m: Transform each element of an array.
2020-01-18 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSArrayController.m: Only filter if there is a filter predicate.
* Source/NSTableView.m: Use destionationValue instead of
sourceValueFor: to get the row numbers and the display values.
* Source/GSThemeDrawing.m: Don't use the datasource of the table
directly to get the values to display.
* Source/NSTabView.m: Mark for redisplay when removing tab item.
* Source/NSKeyValueBinding.m: Add some debugging logs.
2020-01-12 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSToolbarItem.m (-initWithCoder:): Use decodeSizeForKey:.
* Source/GSBindingHelpers.h,
* Source/NSArrayController.m: Add observable array and use it for arrangeObjects.
* Source/GSXib5KeyedUnarchiver.m: Add generic mechanism to decode
keys that include the class name.
Also add header clip view to subviews of scroller.
2020-01-11 Fred Kiefer <FredKiefer@gmx.de>
* Headers/AppKit/NSRuleEditor.h
* Source/NSRuleEditor.m: Add action and target.
* Source/NSPredicateEditor.m: Add encoding and decoding.
* Source/GSXib5KeyedUnarchiver.m: Decode row templates.
2020-01-10 Fred Kiefer <FredKiefer@gmx.de>
* Headers/AppKit/NSKeyValueBinding.h,
* Source/externs.m: Add some more bindings.
* Source/NSPopUpButton.m,
* Source/NSPopUpButtonCell.m,
* Source/NSTableView.m: Use the new bindings.
2020-01-01 Fred Kiefer <FredKiefer@gmx.de>
* Source/GSXib5KeyedUnarchiver.m,
* Source/GSXibKeyedUnarchiver.m,
* Headers/Additions/GNUstepGUI/GSNibLoading.h,
* Headers/Additions/GNUstepGUI/GSXibElement.h,
* Headers/AppKit/NSCell.h,
* Headers/AppKit/NSWindow.h,
* Source/GSCodingFlags.h,
* Source/GSNibLoading.m,
* Source/GSXib5KeyedUnarchiver.h,
* Source/GSXibElement.m,
* Source/GSXibLoader.m,
* Source/NSButtonCell.m,
* Source/NSCell.m,
* Source/NSMatrix.m,
* Source/NSNibBindingConnector.m,
* Source/NSToolbar.m:
Merge XIB document loading from the old Eggplant branch with lots
of cleanup.
* Headers/Additions/GNUstepGUI/GSXibParser.h,
* Source/GSXibParser.m,
* Source/GNUmakefile: Remove now obsolete class.
2020-01-19 Fred Kiefer <FredKiefer@gmx.de>
* Headers/AppKit/NSNibOutletConnector.h,
* Headers/AppKit/NSNibControlConnector.h,
* Source/NSNibOutletConnector.m,
* Source/NSNibControlConnector.m,
* Source/NSNibConnector.m: Add files missing in last commit from Gregory.
2020-01-10 Sergii Stoian <stoyan255@gmail.com>
* Images/common_StepperDown.tiff,
* Images/common_StepperDownHighlighted.tiff,
* Images/common_StepperUp.tiff,
* Images/common_StepperUpHighlighted.tiff: new images with arrows
similar to scroll view buttons'.
* Source/GSThemeDrawing.m (stepperUpButtonRectWithFrame:),
(stepperDownButtonRectWithFrame:): center buttons horizontally; simplify
and cleanup.
* Source/NSStepper.m (acceptsFirstResponder): return NO. Returning
YES makes sense only if `keyDown:` is implemented.
(acceptsFirstMouse:): return YES.
* Source/NSStepperCell.m (cellSize): initial implementation. Returns
minimum size based on up and button sizes.
2020-01-07 Fred Kiefer <FredKiefer@gmx.de>
* Headers/AppKit/NSDatePicker.h,
* Headers/AppKit/NSDatePickerCell.h,
* Source/NSDatePicker.m,
* Source/NSDatePickerCell.m: Small cleanup.
* Headers/AppKit/AppKit.h
* Headers/AppKit/NSPredicateEditor.h
* Headers/AppKit/NSPredicateEditorRowTemplate.h
* Headers/AppKit/NSRuleEditor.h
* Source/GNUmakefile
* Source/NSPredicateEditor.m
* Source/NSPredicateEditorRowTemplate.m
* Source/NSRuleEditor.m
* Source/externs.m: Add minimal version of predicate editor copied
over from mySTEP.
2020-01-06 Fred Kiefer <FredKiefer@gmx.de>
* Headers/AppKit/NSDatePickerCell.h,
* Headers/AppKit/NSDatePicker.h,
* Source/NSDatePickerCell.m,
* Source/NSDatePicker.m: Add minimal version of date picker copied
over from mySTEP.
2019-12-29 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSBundleAdditions.m (-pathForNibResource:): Report type
not filename while iterating.
2019-12-18 Sergii Stoian <stoyan255@gmail.com>
* Source/NSBrowser.m (frameOfColumn:): shift up column only for browser
with separated columns layout.
(tile): fix column height calculation; moved sanity check of column
height closer to calculation; removed code that duplicates code below.
2019-12-17 Sergii Stoian <stoyan255@gmail.com>
* Source/NSScrollView.m (tile): tweak location and height of vertical
scroller if header or corner view available.
* Source/GSThemeDrawing.m: (drawTableCornerView:withClip:): do not draw
black rectangle because -drawDarkButton:withClip: draws all necessary
elements.
* Source/GSThemeDrawing.m (drawScrollViewRect:inView:): further cleanup
of method implementation. Removed all tweaks of scroller length - all
required calculations must be done in NSScrollView's -tile method. Simplified
caluclations of X and Y positions of scroller.
2019-12-17 Sergii Stoian <stoyan255@gmail.com>
* Source/GSThemeDrawing.m (drawScrollViewRect:inView:): fixed scroller
border positionning and length - do not overlap border if any.
Use [self sizeForBorderType: borderType] to determine border width.
2019-12-12 Sergii Stoian <stoyan255@gmail.com>
* Source/NSFont.m (smallSystemFontSize): return 10 as default value.
Update documention comment regarding default values for NSMiniFontSize
ans NSSmallFontSize.
2019-12-11 Sergii Stoian <stoyan255@gmail.com>
* Source/NSWindow.m
(initialize): use MiniWindowTile image for miniwindow tile.
(drawRect:): adjusted position of title cell to fit tile image.
(setTitle:): disable drawing of title cell background;
use NSMiniControlSize font size for miniwindow title cell.
* Source/NSFont.m (systemFontSizeForControlSize:): increased default font
size for NSMiniControlSize.
2019-12-11 Sergii Stoian <stoyan255@gmail.com>
* Source/GSHorizontalTypesetter.m: removed extra imports left from
last 2 commits.
2019-12-10 Sergii Stoian <stoyan255@gmail.com>
* Headers/Additions/GNUstepGUI/GSLayoutManager.h,
* Source/GSLayoutManager.m: new method -typingAttributes returns default
typing attributes of NSTextView.
* Source/NSLayoutManager.m: override GSLayoutManager's -typingAttributes
- primitive method - provides access to _typingAttributes ivar.
* Source/GSHorizontalTypesetter.m: use new GSLayoutManager's
-typingAttributes method to get paragraph style and font of new empty text
container. Normally `curLayoutManager` is a NSLayoutManager object so,
actually, we get NSLayoutManager's _typingAttributes.
* Source/GSHorizontalTypesetter.m: (_addExtraLineFragment) get paragraph
style and font from NSLayoutManager's typing attributes. Fixes insertion
point height for empty text objects (NSTextView, NSTexField etc.).
2019-12-09 Sergii Stoian <stoyan255@gmail.com>
* Source/NSStringDrawing.m: fixed incorrect string drawing (shortened, misplaced)
in ART backend. It seems that third parameter to `cache_lookup` function
(BOOL useScreenFonts) is valuable for ART but not for Cairo backend.
2019-12-07 Fred Kiefer <FredKiefer@gmx.de>
* .travis.yml
* travis-deps.sh: Try to keep up with Niels' changes in base.
2019-12-06 Fred Kiefer <FredKiefer@gmx.de>
* Headers/AppKit/NSGestureRecognizer.h
* Source/NSGestureRecognizer.m: Restore code by Daniel Ferreira
* Headers/AppKit/NSButtonTouchBarItem.h
* Headers/AppKit/NSCandidateListTouchBarItem.h
* Headers/AppKit/NSClickGestureRecognizer.h
* Headers/AppKit/NSColorPickerTouchBarItem.h
* Headers/AppKit/NSCustomTouchBarItem.h
* Headers/AppKit/NSGroupTouchBarItem.h
* Headers/AppKit/NSMagnificationGestureRecognizer.h
* Headers/AppKit/NSPanGestureRecognizer.h
* Headers/AppKit/NSPickerTouchBarItem.h
* Headers/AppKit/NSPopoverTouchBarItem.h
* Headers/AppKit/NSPressGestureRecognizer.h
* Headers/AppKit/NSRotationGestureRecognizer.h
* Headers/AppKit/NSSharingServicePickerTouchBarItem.h
* Headers/AppKit/NSSliderTouchBarItem.h
* Headers/AppKit/NSStepperTouchBarItem.h
* Headers/AppKit/NSTouchBarItem.h
Clean up after Greg's commit.
2019-12-06 Fred Kiefer <FredKiefer@gmx.de>
* .travis.yml
* travis-deps.sh: Update to match changes in base by Niels Grewe.
2019-12-02 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSBitmapImageRep.m (-_convertToFormatBitsPerSample:...):
Correct division by zero bug in image conversion.
2019-11-03 Riccardo Mottola <rm@gnu.org>
* Headers/AppKit/NSWorkspace.h
Remove fake typedef for NSAppleEventDescriptor since now we have a
stub in Foundation.
2019-07-28 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSSliderCell.m: Fix encoding/decoding as the types don't match.
* Source/NSApplication.m (-targetForAction:to:from:): Warn only in
debug mode about the target not responding to the action.
2019-07-07 Fred Kiefer <FredKiefer@gmx.de>
* Headers/AppKit/NSColor.h,
* Source/NSColor.m: Add tool tip named colours.
* Source/GSToolTips.m (+initialize, -_timedOut:): Get colours from NSColor.
2019-04-17 Sergii Stoian <stoyan255@gmail.com>
* Source/GSDragView.m (_setCursor): Do not hold `cursors` array -
use NSCursor's methods. Do not recolor cursor and just use
[NSCursor greenArrowCursor].
* Headers/AppKit/NSCursor.h:
* Source/NSCursor.m (greenArrowCursor):
Use getStandardCursor() to get GSGreenArrowCursor. New cursor type
GSGreeanArrowCursor was added.
* Images/GSContextualMenuCursor.tiff,
* Images/GSDisappearingItemCursor.tiff,
* Images/GSDragCopyCursor.tiff,
* Images/GSDragLinkCursor.tiff,
* Images/GSGreenArrowCursor.tiff,
* Images/GSOperationNotAllowedCursor.tiff: New cursor images.
* Images/common_ClosedHandCursor.tiff,
* Images/common_OpenHandCursor.tiff,
* Images/common_copyCursor.tiff,
* Images/common_linkCursor.tiff,
* Images/common_noCursor.tiff: Removed from nsmapping.strings.
* Images/GNUmakefile (Images_RESOURCE_FILES): Update resource
list according to cursor images addition/removal.
2019-04-10 Sergii Stoian <stoyan255@gmail.com>
* Source/NSMenuItemCell.m (drawKeyEquivalentWithFrame:inView:):
use NCell's textColor instead of check if we're disabled/enabled.
2019-04-10 Sergii Stoian <stoyan255@ukr.net>
* Source/NSMenuItemCell.m (drawKeyEquivalentWithFrame:inView:):
check if item is disabled/enabled and set color attribute for attributed
key equivalent string.
2019-04-09 Sergii Stoian <stoyan255@gmail.com>
* Source/NSMenuItemCell.m (_keyEquivalentString): if modifier key string
is not defined - set key equivalent font trait: Italic for Alternate modifier
Bold - for Control.
(_sizeKeyEquivalentText:): new method to calculate string size wrt font
set in `_keyEquivalentString:`.
(drawKeyEquivalentWithFrame:inView:): draw key equivalent as attributed
string.
2019-04-08 Sergii Stoian <stoyan255@ukr.net>
* Source/NSApplication.m (becomesKeyOnlyIfNeeded): override NSWindow
methodin appicon to reduce number of order front calls. The source
of the call is NSWindow's sendEvent:.
2019-04-06 Sergii Stoian <stoyan255@ukr.net>
* Headers/Additions/GNUstepGUI/GSDisplayServer.h,
* Source/NSApplication.m,
* Source/GSDisplayServer.m: `hidewindow` method was renamed to
`hideApplication`
* Source/NSApplication.m (hide:): Change comment before call to
`hidewindow`.
* Source/GSDisplayServer.m (hidewindow:): fixes to return value and type.
Change comment.
2019-04-05 Sergii Stoian <stoyan255@gmail.com>
* Headers/AppKit/NSEvent.h: new event subtype `GSAppKitAppHide` was added.
* Source/NSWindow.m (sendEvent:): handle "GSAppKitAppHide" event subtype.
* Headers/Additions/GNUstepGUI/GSDisplayServer.h,
* Source/GSDisplayServer.m (hidewindow:): new methods was added.
* Source/NSApplication.m (hide:): Send -hidewindow: to to the main menu.
If window manager doesn't support _GNUSTEP_HIDE_APP atom - hide windows
by ourself.
2019-04-03 Sergii Stoian <stoyan255@ukr.net>
* Source/NSApplication.m (activateIgnoringOtherApps:):
Optimize `-autolaunch YES` checking code.