-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathChangeLog
8709 lines (6467 loc) · 314 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
2009-07-31 Adam Fedor <fedor@gnu.org>
* Version 0.17.1
2009-07-30 15:43-EDT Gregory John Casamento <greg.casamento@gmail.com>
* Source/GSThemeTools.m: -[GSThemeTools drawRoundBezel:withColor:]
add code to draw highlights for rounded buttons to give them a
better 3D look.
2009-07-28 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSDocument.m (-setFileName:): Set the file name to the
absolute file path.
Patch by Jonathan Gillaspie <jonathan.gillaspie@testplant.com>.
2009-07-27 12:18-EDT Gregory John Casamento <greg.casamento@gmail.com>
* Headers/AppKit/NSWindow.h: Comment out _attachedSheet ivar.
* Source/NSAlert.m: Change code to use hightlightWithLevel: method
in resetWindow method.
* Source/NSApplication.m: Stub out setAttachedSheet method.
* Source/NSWindow.m: Remove new ivar for next release and stub out
attachedSheet method.
2009-07-26 Fred Kiefer <FredKiefer@gmx.de>
* Headers/AppKit/NSFontDescriptor.h,
* Headers/AppKit/NSFont.h: Add missing interface method from 10.5.
* Source/NSFontDescriptor.m,
* Source/NSFont.m: Small fixes for font descriptor handling.
2009-07-25 22:54-EDT Gregory John Casamento <greg.casamento@gmail.com>
* Source/NSAlert.m: Offset color by less in -resetWindow. Remove
redundant logic for calling the "didEnd" method in the NSBeginSheet...
functions.
* Source/NSApplication.m: Add code to reset parent window in
beginSheet:... method. Also added check to make sure the
modalDelegate is not nil.
2009-07-25 20:54-EDT Gregory John Casamento <greg.casamento@gmail.com>
* Source/NSAlert.m: Remove category for setAttachedSheet method.
* Source/NSApplication.m: Added private category to add
setAttachedSheet: to NSWindow. Modified beginSheet:... method
to call the new method with the sheet that is associated with it.
2009-07-25 20:25-EDT Gregory John Casamento <greg.casamento@gmail.com>
* Source/NSAlert.m: GSAlertSheet - removed unecessary parentWindow
and container ivars in interface declaration. Removed uneeded
accessors for parentWindow and contentRect. Added check in
frameFromParentWindowFrame to check to see if parent is initialized
prior to using it. Removed NSBox in the init.. method since it
could cause issues with drawing. Added code to lighten the
color of the background of the sheet relative to the parent window.
2009-07-24 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSTextView.m (-initWithCoder:, -setTextContainer:):
Attempt to resolve the memory issues when coding a text container.
2009-07-21 15:06-EDT Gregory John Casamento <greg.casamento@gmail.com>
* Headers/AppKit/NSFontDescriptor.h: Correct mispelling pointed
out by David Chisnall.
2009-07-17 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSPrintOperation.m: Add include needed for Windows.
2009-07-16 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSPrintOperation.m (-_printPaginateWithInfo:knowsRange:, -_print):
Try to handle not set print information more graceful.
2009-07-14 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSPrintOperation.m (-_printPaginateWithInfo:knowsRange:):
Use scale 1.0 if none is given.
Patch by Georg Fleischmann <G.Fleischmann@vhf.de>.
2009-07-13 14:12-EDT Gregory John Casamento <greg.casamento@gmail.com>
* Source/NSAlert.m: Implementation of GSAlertSheet.
* Source/NSApplication.m: Change order in which setWindowParent:
and runModalForWindow: are called in beginSheet:... method.
* Source/NSDrawer.m: Remove notifications when drawer is closed
in dealloc.
2009-07-06 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSTableView.m (-_editPreviousEditableCellBeforeRow:column:,
-_editNextEditableCellAfterRow:column:): Comment out the loop
around of the last change. This leads to wrong results, when the
table view isn't the only view in the window.
2009-07-06 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSView.m (-_setNeedsDisplayInRect_real:) Set the window
views as needing display, even when the invalidated rectangle
didn't change.
2009-07-05 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSTableView.m (-_editPreviousEditableCellBeforeRow:column:,
-_editNextEditableCellAfterRow:column:): Try to handle all cases
of changing the current edited cell correctly.
2009-07-05 Riccardo Mottola <rmottola@users.sf.net>
* Source/NSTableHeaderView.m
Removed c99-ism
2009-07-05 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSTableView.m (_editPreviousEditableCellBeforeRow:column:):
Compare row against _numberOfRows not _numberOfColumns.
Patch by Tim Schmielau <tim@smmo.org>.
2009-06-30 Nicolas Roard <nicolas@roard.com>
* Source/NSTableHeaderView.m: Apply patch from Eric
Wasylishen <ewasylishen@gmail.com>, add live resize and
live moving for table columns if GSUseGhostResize is
set to NO.
2009-06-28 23:46-EDT Gregory John Casamento <greg.casamento@gmail.com>
* Source/NSTextView.m (-initWithCoder:): Retain the text
container and storage to prevent a crash since both are
autoreleased by the archiver.
2009-06-29 Fred Kiefer <FredKiefer@gmx.de>
* Headers/AppKit/NSKeyValueBinding.h,
* Source/externs.m: Add NSContentObjectBinding.
* Source/NSObjectController.m: Add more implementation to this
class.
Patch by Andy Balholm <andy@balholm.com>.
2009-06-28 Fred Kiefer <FredKiefer@gmx.de>
* Headers/AppKit/AppKit.h : Addd NSFontDescriptor.h.
2009-06-22 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSUserDefaultsController.m (-initWithCoder:): Retain the
shared controller before returning it.
2009-06-22 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSKeyValueBinding.m (GSKeyValueBinding+initialize):
Correc the setup of the map tables.
* Source/NSKeyValueBinding.m (GSKeyValueBinding+unbindAllForObject):
Use a copy of the keys for the enumerator.
2009-06-05 18:21-EDT Gregory John Casamento <greg.casamento@gmail.com>
* Headers/AppKit/NSSpeechSynthesizer.h:
* Source/NSSpeechSynthesizer.m: Implementation of
NSSpeechSynthesizer.
Patch by David Chisnall <theraven@sucs.org>
2009-06-02 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSDocument.m (-runModalSavePanelForSaveOperation:...):
Check whether there is a returned save panel, this wont be the case
when the user cancels the save operation.
2009-05-31 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSApplication.m (detachDrawingThread:toTarget:withObject:):
Replace a call to a now longer existing extension on NSInvocation
with the correct method calls.
2009-05-31 Fred Kiefer <FredKiefer@gmx.de>
* Source/GSDisplayServer.m (+initialize,
-_setWindowOwnedByServer:(), -dealloc): Set the windowmaps
variable in the initialize method and protect all usages.
2009-05-23 22:17-EDT Gregory John Casamento <greg.casamento@gmail.com>
* Source/NSWorkspace.m: Improve handling of CFBundleType...
constants in the private method _extIconForApp:info:.
2009-05-23 11:48-EDT Gregory John Casamento <greg.casamento@gmail.com>
* Source/GSStandardWindowDecorationView.m: Live window resize changes
for when using GNUstep decorations in resizeWindowStartingWithEvent:.
* Source/NSLayoutManager.m: Unarchive the text containers into an
array in initWithCoder:.
* Source/NSTextContainer.m: Get the layout manager in initWithCoder:.
* Source/NSTextView.m: Changes to include text container from nib
file into the nib loading process in initWithCoder:.
2009-05-22 Nicolas Roard <nicolas@roard.com>
Add a live resize for splitviews. Users can revert to the old behaviour
by doing: defaults write NSGlobalDomain GSUseGhostResize YES
* Source/NSSplitView.m: Added live resize of splitviews
2009-05-14 Riccardo Mottola <rmottola@users.sf.net>
* Source/NSApplication.m: fixed allocation of Mutable array instead of
Array
2009-05-14 14:15-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* Headers/AppKit/NSWindow.h: Added ivar to contain attachedSheet.
* Source/NSAlert.m: New class GSSheetPanel. Initial changes for
sheet implementation.
* Source/NSWindow.m: Added code to return value of new ivar.
2009-05-10 Adam Fedor <fedor@gnu.org>
* Version 0.17.0
2009-05-02 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSMenu.m (-_updateUserDefaults:): Fix small memory leak.
* Source/GSTitleView.m (+height: Get height from NSMenuView.
* Source/GSTitleView.m (-addCloseButtonWithAction:,
-addMiniaturizeButtonWithAction:): Get buttons from NSWindow.
* Source/GSTitleView.m: Clean up a bit.
2009-04-27 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSBezierPath.m (-appendBezierPathWithRoundedRect:xRadius:
yRadius:):
Small rearangment of code.
Patch by Fred Morcos <fred.morcos@gmail.com>
2009-04-25 Fred Kiefer <FredKiefer@gmx.de>
* Headers/AppKit/NSBezierPath.h,
* Source/NSBezierPath.m (+bezierPathWithRoundedRect:xRadius:yRadius:,
-appendBezierPathWithRoundedRect:xRadius:yRadius:):
New 10.5 methods.
Patch by Fred Morcos <fred.morcos@gmail.com>
2009-04-24 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSColorWell.m: Only send action if color changes ... fix
for bug #26277
2009-04-19 00:46-EDT Gregory John Casamento <greg.casamento@gmail.com>
* Headers/AppKit/NSSearchFieldCell.h: Give the values assigned in
Cocoa to the enum. Patch by: doug@riverrock.org
* Source/NSSearchFieldCell.m: Implemented search menu template and
recent items. Patch by: doug@rivverrock.org
* Source/NSSearchField.m: Call cell methods to use search menu.
Patch by: doug@riverrock.org
2009-04-19 00:23-EDT Gregory John Casamento <greg.casamento@gmail.com>
* Source/NSApplication.m: Make certain that a sheet is always placed
above the window it's supposed to appear relative to. Change
to runModalForWindow:relativeToWindow:.
2009-04-18 23:21-EDT Gregory John Casamento <greg.casamento@gmail.com>
* Source/NSScrollView.m: If the scrollview has scrollers,
don't pay attention to the hidden flag in nib loading.
* Source/NSTableView.m: if the table has a cornerview, don't
pay attention to the hidden flag in nib loading.
NOTE: In both instances it appears that Cocoa sets the hidden flag
when autohide is set to true. GNUstep handles this case differently,
so it's okay to ignore this flag when the scroller is in an
NSScrollView.
2009-04-16 16:05-EDT Gregory John Casamento <greg.casamento@gmail.com>
* Source/NSAlert.m: Revert last change.
2009-04-16 15:02-EDT Gregory John Casamento <greg.casamento@gmail.com>
* Source/NSAlert.m: Order front regardless to prevent reported
cases of problems when sheets/panels bring up additional
sheets/panels.
2009-04-14 21:24-EDT Gregory John Casamento <greg.casamento@gmail.com>
* Source/GSHorizontalTypesetter.m: Use thread dictionary to hold
the instance of the typesetter for that thread.
* Source/NSStringDrawing.m: Add locks to methods to prevent
modification of static variables by separate threads from
causing applications to get glyph generation errors.
NOTE: These changes based on suggestions/ideas from Doug
Simons <doug@riverrock.org>.
2009-04-12 15:16-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* Source/GSWindowDecorationView.m: initialize offsets to prevent
negative value warnings suggested by Doug.
2009-04-12 15:11-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSSearchFieldCell.m: Correct issue displaying images for
search field. Fix in initWithCoder: to reset image names.
2009-04-11 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSPopUpButtonCell.m (-_popUpItemAction:): New method used
by Apple NIB files.
Patch by Doug Simons <doug@riverrock.org>.
2009-04-10 15:30-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSApplication.m: Follow the NSApplication responder
chain.
2009-04-10 15:00-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSSplitView.m: Set subviews to resize when loaded from
the nib.
* Source/NSView.m: Partial revert of previous change.
2009-04-10 14:27-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSView.m: Autoresize subviews since it is not pulling it
from the nib correctly. Will come back and fix this issue.
2009-04-10 14:05-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSSplitView.m: Autoresize subviews when loaded from the nib.
2009-04-10 14:03-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSTabView.m: Autoresize subviews when loaded from the nib
and set the mask to the make height and width resizable when the
tab is selected.
2009-04-10 13:31-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSDrawer.m: Correction for NSDrawer issues with draw
temporarily showing up above the window and not syncing with
window position.
2009-04-10 10:24-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSAlert.m: in the method _initWithoutGModel add a call
to setLevel: to set the level to NSModalPanelWindowLevel. This was
not previously being done and was causing alert panels to get lost
behind other application windows.
2009-04-10 01:32-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSMenuView.m: Removed adjustment to Y coords in the
setWindowFrame... method. This adjustment is only supposed to be
done when a popup is under "restrictive screen conditions" which
is currently unimplemented.
2009-04-10 01:15-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSMenuView.m: In the method
- (void) setWindowFrameForAttachingToRect:... test if the view
is flipped and make the adjustment.
2009-04-10 00:53-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSMenuView.m: In the method
- (void) setWindowFrameForAttachingToRect:... changed how
popup/pulldown buttons handle the preferred edge.
Per Cocoa documentation, the selected cell should always show up
over the button for popups. For pull down menus, the preferred
edge is relevant. This is also apparent from testing under Cocoa.
2009-04-09 22:55-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSRulerMarker.m: Changes suggested by Doug Simons for
allowing markers to be set on an NSMouseDown event.
2009-04-07 22:21-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSDocumentController.m: Return default type if the
URL is not a file URL and the call to typeFromFileExtension: returns
nil in typeForContentsOfURL:.
2009-04-07 18:43-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* Headers/AppKit/NSSpeechSynthesizer.h: Added _module ivar.
* Source/NSDrawer.m: Don't set the timer since it eats a lot of CPU.
* Source/NSPasteboard.m: Retain the path since it's autoreleased.
* Source/NSTextView.m: Set the textview to allow undos by default.
2009-04-07 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSAlert.m (NSBeginAlertSheet, NSBeginCriticalAlertSheet,
NSBeginInformationalAlertSheet): Correct the calling of delegate
methods. This should fix #26101.
2009-04-07 Fred Kiefer <FredKiefer@gmx.de>
* Headers/AppKit/NSSplitView.h
(-maxPossiblePositionOfDividerAtIndex:,
-minPossiblePositionOfDividerAtIndex:,
-setPosition:ofDividerAtIndex:): New MacOSX 10.5 methods.
* Source/NSSplitView.m: Basic implementation of these methods.
* Headers/AppKit/NSSplitView.h: Add ivars, will break binary compatibility.
* Source/NSSplitView.m (-isPaneSplitter, -setIsPaneSplitter:):
Implement these methods.
2009-04-07 Sergii Stoian <stoyan255@gmail.com>
* Source/NSSplitView.m (-mouseDown:): When checking if divider
position also check orientaion for _isVertical == NO situation.
This fix avoids situation when split view is vertical, postion
changed but method exists after next 'else if' check.
2009-03-26 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSView.m (-setNeedsDisplay:, -setNeedsDisplayInRect:):
Warn about the GNUstep secondary thread behaviour not being
portable to Cocoa.
* Source/NSApplication.m
(-nextEventMatchingMask:untilDate:inMode:dequeue:):
Use distantPast instead of distantFuture as default of expiration.
2009-03-25 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSGraphicsContext.m (-restoreGraphicsState,
-saveGraphicsState:) Try to deal with the case when there is no
current context. May happen in secondard threads. Fixes #25943.
2009-03-25 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSTextView.m (-initWithFrame:textContainer:,
-initWithCoder:): Set values for minSize, maxSize,
horizontallyResizable and verticallyResizable consistently.
* Source/NSTextView.m (-encodeWithCoder:) : Release the temporary
shared data object.
2009-03-23 12:13-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSSpeechSynthesizer.[hm]: Add code to tell the developer
that certain methods need to be overriden.
2009-03-23 02:36-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* Headers/AppKit/AppKit.h: Add include for NSSpeechSynthesizer.h
* Headers/AppKit/NSSpeechSynthesizer.h: Declarations.
* Source/GNUmakefile: Add new files.
* Source/NSSpeechSynthesizer.m: Add initial skeleton for
NSSpeechSynthesizer class.
2009-03-22 23:57-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* Panels/English.lproj/GSToolbarCustomizationPalette.gorm: Add
connection to _doneButton outlet.
* Source/GSToolbarCustomizationPalette.m: Added code in init
to set the state of the size checkbox.
2009-03-21 12:27-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* Panels/English.lproj/GSToolbarCustomizationPalette.gorm: Added
size: method to class in gorm file. Added connection to size: method
from the switch.
* Source/GSToolbarCustomizationPalette.m: Added size: method
implementation.
* Source/NSToolbar.m: Added code to save and load sizeMode attribute
for toolbar.
2009-03-21 12:13-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* Panels/English.lproj/GSToolbarCustomizationPalette.gorm: Changed
formatting. Added text field and buttons.
* Source/GSToolbarCustomizationPalette.m: Added reset button and
done button.
* Source/NSToolbarFrameworkPrivate.h: Added _resetConfig method.
* Source/NSToolbar.m: Added _resetConfig method.
2009-03-21 09:57-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* Panels/English.lproj/GSToolbarCustomizationPalette.gorm: Add
Default item to popup and make the connection to the show: method
to allow setting the toolbar display mode.
* Source/GSToolbarCustomizationPalette.m: Enable changing of
text, text & icon, icon only on the toolbar.
* Source/NSToolbar.m: Change _build method to load the
displayMode setting.
2009-03-20 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/gopen.m: Extend to open URLs as well as files.
* Source/GSServicesManager.m:
* Source/NSSworkspace.m:
Additions so that any app using a document controller can open a URL
(also any app where its delegate implements -application:openURL:).
2009-03-20 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSOutlineView.m (-drawRow:clipRect:): Changed order of
expresions in condition to avoid possible access to uninitialized
memory.
* Source/NSScrollView.m (-initWithCoder:): Don't set _hasCornerView.
* Source/GSNibLoading.m (NSClassSwapper-initWithCoder:): Don't
reference freed memory.
2009-03-18 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSWorksace.m: ([openURL:]) fix to open some app which
supports the URL scheme.
2009-03-18 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSView.m (-beginPageInRect:atPlacement:): Add parentheses
to stop compiler from complaining.
2009-03-16 03:29-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* Source/GSToolbarView.m: Added code to save the configuration when
deleting an item as well as saving an item.
* Source/NSToolbarFrameworkPrivate.h: removed old _loadConfig method
added new methods to track changes to toolbars.
* Source/NSToolbar.m: Added check for items already in the toolbar,
removed calls to _loadConfig which were commented out, implemented
setConfigurationFromDictionary: as described in the documentation,
changed _build to get dictionary from defaults if it's there.
Implemented new method _containsItemWithIdentifier: and
_itemsFromConfig.
2009-03-16 01:22-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* Source/GSToolbarView.m: Call the _insertItemWithItemIdentifier:..
method to add items when they are not being dragged from within
the toolbar and are being added from the palette.
* Source/NSToolbarItem.m: Added information to the description
to help with debugging.
2009-03-15 18:37-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSScrollView.m: Fix for infinite notification loop which
happens with some nib files.
2009-03-15 22:09-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSScrollView.m: Use the flags in initWithCoder:
2009-03-15 20:28-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSScrollView.m: Added more flags for nib loading.
2009-03-15 15:09-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSScrollView.m: Remove FIXME comment and provided an
explaination for why a cast wasn't used. Added nonDynamic flag
as well as other flags from the nib file.
2009-03-15 Fred Kiefer <FredKiefer@gmx.de>
* Source/GSInfoPanel.m: Use setTitle: instead of setStringValue:
for theme button.
2009-03-13 01:01-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* Source/GSToolbarView.m:
* Source/NSToolbar.m: Partial fix for toolbar drag and drop issues.
2009-03-12 19:47-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSPrintOperation.m: Correct issues with handling of
rectangle passed back from rectForPage: callback in NSView
subclasses. This rect should override existing calculations
when it is passed in.
* Source/NSView.m: Change to use NSPrintPaperBounds if and only if
aRect is passed in as a blank rect. Previously the code was
using the NSPrintPaperBounds value and ignoring the passed in
value.
2009-03-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSMatrix.m: GC fixups ... change code that was attempting
to use the old GSAtomicMallocZone() function.
2009-03-11 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSApplication.m (-setApplicationIconImage:): Copy the new
application image before assigning the name "NSApplicationIcon" to
it. This solves bug #25793.
2009-03-05 Fred Kiefer <FredKiefer@gmx.de>
* Resources/GNUmakefile: Add French localisation.
* Resources/French.lproj/Localizable.strings: New localisation file.
Patch by Philippe Roussel <p.o.roussel@free.fr>.
2009-03-04 Xavier Glattard <xavier.glattard@online.fr>
* Headers/NSView.h,
Source/NSView.m: Add a flag 'ignoresBacking' that indicates the
receiver do not draw on the backing store, and so prevent the
backing store to be flushed by [-unlocFocus:]
* Headers/NSView.h,
Source/NSView.m,
Source/externs.m: Define NSViewGlobalFrameDidChangeNotification that
should be catched by NSOpenGLView (To Do)
* Headers/NSOpenGL.h,
Headers/NSOpenGLView.h: Some improvements, compatibility and/or bug
fix. NSOpenGLView catches NSViewGlobalFrameDidChangeNotification.
2009-03-02 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSSliderCell.m,
* Source/NSTableHeaderView.m,
* Source/NSWindow.m,
* Source/GSStandardWindowDecorationView.m,
* Source/NSControl.m,
* Source/NSScroller.m,
* Source/NSTextView.m,
* Source/NSComboBoxCell.m,
* Source/NSStepperCell.m,
* Source/NSCell.m: Replace nil with [NSDate distantFuture] in
calls to nextEventMatchingMask:...dequeue:.
2009-03-01 20:17-EST Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSApplication.m: Fix bug #24643. Application icon is no
stored correctly.
2009-03-01 Fred Kiefer <FredKiefer@gmx.de>
* Resources/English.lproj/Localizable.strings: Regenerate this file.
* Resources/German.lproj/Localizable.strings: Regnerate and add
translation and escaping of non-ASCII characters.
* Source/NSColor.m
* Source/NSColorSpace.m
* Source/NSPrintInfo.m
* Source/NSAlert.m,
* Source/NSWindow.m,
* Source/GSPrintOperation.m,
* Source/GSInfoPanel.m,
* Source/GSNibLoading.m,
* Source/NSToolbarItem.m,
* Source/NSAttributedString.m,
* Source/NSMenu.m: Add include of GSGuiPrivate.h for correct localization.
* Source/NSAttributedString.m: Better handling of localization of
error strings.
2009-02-26 00:35-EST Gregory John Casamento <greg_casamento@yahoo.com>
* Source/GSLayoutManager.m: do not return (0,0) when a zero length
range is passed into glyphRangeForCharacterRange:
actualCharacterRange:. Tests on Mac OS X indicate that this is
a valid case.
* Source/GSNibLoading.m: Fixed some memory leaks.
* Source/NSRulerMarker.m: Use the bounds of the containing view
instead of markersRect. I will revisit if the _markersRect method
needs to be corrected, but this code seems to correct problems
observed when dragging markers in and out of the rulerView.
2009-02-23 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSSavePanel.m (-directory): Optimize last change.
2009-02-22 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSButtonCell.m: Changed all title methods to use the
super string value methods and redefine the local string value
methods to work with the object value.
Patch by Matt Rice <ratmice@gmail.com>.
* Source/GSThemeDrawing.m (-cellForScrollerKnobSlot:): Use
setTitle: instead of setStringValue:.
2009-02-20 12:08-EST Gregory John Casamento <greg_casamento@yahoo.com>
* Source/GSToolbarCustomizationPalette.m: Look up default items before
calling the delegate like in NSToolbar.m. This was causing an
exception which prevented the panel from showing.
2009-02-18 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSServicesManager.m: Clean up update of services menu,
removing useless check and obsolete code.
2009-02-18 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSApplication.m (NSAppIconView-setImage:): Protect
against the item being nil.
2009-02-18 02:45-EST Gregory John Casamento <greg_casamento@yahoo.com>
* Source/GSNibLoading.m: Rollback of previous change. Found a
minor problem.
* Source/NSDrawer.m: Improvements to NSDrawer handling.
2009-02-17 23:09-EST Gregory John Casamento <greg_casamento@yahoo.com>
* Source/GSNibLoading.m: use the new code committed to NSMenu to
lay out the menu when vertical. Get rid of the duplicate code here.
* Source/NSDrawer.m: set the child window position when opening.
* Source/NSMatrix.m: -_selectCell:atRow:column: Check to make
sure the selectedRow and selectedColumn are > -1. This check is
done elsewhere and was not done here. This was causing a crash.
2009-02-17 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSImageView.m (-initWithFrame:): Set non-editable as
default. Fixes #25484.
2009-02-17 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSMenu.m (-_organizeMenu): Try to better switch between
Apple menu layout and ours.
2009-02-17 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSRulerView.m (+initialize): Correct version to be an integer.
2009-02-16 Adam Fedor <fedor@gnu.org>
* configure.ac: Look for libpng/png.h
* Source/NSBitmapImageRep+PNG.m: Use found loction of png.h
(Fixes #24111).
2009-02-16 Riccardo Mottola <rmottola@users.sf.net>
* Source/NSCell.m (-setStringValue): Try to fix bugs in last change.
Optimize in case of common string and check for nil.
2009-02-16 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSCell.m (-setStringValue:, -setObjectValue:): Try to fix
bugs in last change.
2009-02-15 22:21-EST Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSOpenPanel.m: Corrects bug #25471. Only enable
the OK button when a file the application can open is selected.
2009-02-15 19:38-EST Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSCell.m: Change to implement 10.3 and later behavior for
the method setStringValue: as documented in Apple's documentation
for the method. This behavior was observed on Cocoa under
Mac OS 10.5.
2009-02-12 Riccardo Mottola <rmottola@users.sf.net>
* Source/NSSavePanel.m: Return autoreleased copy of the directory
string
2009-02-12 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/make_services.m: Fix error parsing CFBundleURLTypes
2009-02-11 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/make_services.m: Check applications for CFBundleURLTypes
(see http://developer.apple.com/documentation/MacOSX/conceptual/BPRuntimeConfig/Articles/PListKeys.html)
* Source/NSWorkspace.m: ([-openURL:]) try to open non-file URLs using
an app found based on CFBundleURLTypes, and if that fails try to use
any available 'OpenURL' service.
2009-02-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSTheme.m: Fix typo in include
* Source/NSTableView.m: Fix to compile with GC (reported by Lu Liyi)
2009-02-11 00:49-EST Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSBundleAdditions.m:
-[NSNibOutletConnector establishConnection] report exceptions when
establishing a connection, but don't fail to load.
2009-02-10 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSToolbarFrameworkPrivate.h: Add method
_setCustomizationPaletteIsRunning:.
* Source/NSToolbar.m: (-runCustomizationPalette:): Code to run
customization palette.
* Source/NSToolbarItem.m (-copyWithZone:): Try to copy the view.
* Source/GSToolbarCustomizationPalette.h
* Source/GSToolbarCustomizationPalette.m: New files.
* GNUmakefile: Add new files.
* Panels/English.lproj/GSToolbarCustomizationPalette.gorm
* Panels/English.lproj/GSToolbarCustomizationPalette.gorm/data.info
* Panels/English.lproj/GSToolbarCustomizationPalette.gorm/data.classes
* Panels/English.lproj/GSToolbarCustomizationPalette.gorm/objects.gorm
* Panels/GNUmakefile: Add new panel.
This is a stripped down version of the toolbar customization
branch by Quentin Mathe <qmathe@club-internet.fr>.
2009-02-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSThemePrivate.h:
* Source/GSTheme.m:
* Source/NSImage.m:
Move/rename new proxy code to GSTheme.m and declare it in
GSThemePrivate.h so that all code in the GUI can use it
(we will need to allow other resources to automatically update
to the current theme, not just images).
2009-02-09 20:16-EST Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSToolbar.m: (-windowDidUpdate:): Automatically update
the toolbar on every window update. This makes sure that
no matter what window an event happens in the toolbar gets
properly updated for ALL windows.
2009-02-08 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/NSWorkspace.m (-findApplications): Retain cached path of
make_services tool.
* Tools/GSspell.m (-init): Initialize language configuration
variable used by the aspell checker. This prevents a crash of
the spelling server during its initialization.
* Source/NSSavePanel.m (-browser:createRowsForColumn:inMatrix:):
Make sure the contents of the initial directory is always shown.
This should fix bug #25363.
2009-02-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSImage.m: Fix missing header.
2009-02-08 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSBundleAdditions.m (NSNibOutletConnector
-establishConnection): Use KVC call setValue:forKey: to establish
the outlet connection. This will result in ivars being properly retained.
2009-02-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSImage.m: WARNING ... this change may have unforseen
consequences. Named images are replaced by proxies to the images
so that all image drawing the the gui updates instantly when the
theme changes. It's possible that sme code uses the image in an
unexpected way that the proxy does not support ... plase look out
for that and report any problems so I can fix them.
2009-02-08 01:17-EST Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSApplication.m: Added code to handle exceptions in
-[NSApplication run]. Rudimentary implementation of default
NSExceptionHandlerMask.
2009-02-07 Fred Kiefer <FredKiefer@gmx.de>
* Headers/Additions/GNUstepGUI/GSTheme.h,
* Source/GSTheme.m (-drawToobarRect:frame:borderMask:): New method
for toolbar view drawing
* Source/GSToolbarView.m (-drawRect:): Use new theme method.
Clean up use of colours.
2009-02-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSThemeTools.m: Add a few checks for tile sizes
* Source/GSTheme.m: Limit icon size to 48x48
2009-02-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSTheme.m:
* Source/GSThemeTools.m:
* Source/GSThemePrivate.h:
Improve tiling for matrix and for rectangles in flipped views.
2009-02-04 17:51-EST Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSWindow.m: Correct compilation error.
2009-02-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSApplication.m: Don't attempt to set app icon until
creating the window (if we are going to create it).
Fix size checks when setting image to cope if window does not
exist (was previously the normal case) to avoid streams of X
errors on most systems and segmentation fault on sparc.
2009-02-04 01:53-EST Gregory John Casamento <greg_casamento@yahoo.com>
* Source/GSNibLoader.m: Correct the message to indicate an issue
loading a nib, not a gorm, file.
* Source/GSNibLoading.m: Uncomment the release in the dealloc
method.
* Source/NSApplication.m: Restrict the icon size to the size of the
miniwindow if it's larger, but don't expand it, if it's smaller.
* Source/NSLayoutManager.m: -initWithCoder: Initialize when
loading a nib in the same way that we initialize when loading
a gorm file.
2009-02-03 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSCell.m (-_sendActionFrom:): New helper method for
action sending.
2009-02-03 Fred Kiefer <FredKiefer@gmx.de>
* Source/GSNibLoading.m (NSButtonImageSource -initWithCoder:): Add
missing retain of the named image.
2009-02-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSTextContainer.m: Add some frame size checks.
* Source/NSScrollView.m: ditto
* Source/NSHelpPanel.m: Make sure we create with a reasonable size.
2009-02-01 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSTextView.m (-dragSelectionWithEvent:...): Correct
computation of attachment cell frame.
* Source/NSParagraphStyle.m (NSMutableParagraphStyle
-setParagraphStyle:): Set only existing text blocks and text lists.
2009-01-31 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSDisplayServer.m: Fix typo
* Headers/Additions/GNUstepGUI/GSDisplayServer.h: ditto
* Source/NSWindow.m: ditto
* Source/GSTheme.m: Make color handling more efficient
* Headers/Additions/GNUstepGUI/GSTheme.h: ditto
* Source/GSThemeDrawing.m: ditto
* Source/NSScrollView.m: ditto
2009-01-31 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSToolTips.m: Fix retain/release problem.
* Source/NSToolbar.m: Add exception handler round unsafe code.
2009-01-30 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSThemeTools.m: Add checks to prevent problems in the case
where the control being drawn is actually smaller than the tiles used.
* Headers/AppKit/NSScreen.h:
* Source/NSScreen.m: Cache device description dictionary ... when
debugging the problem with theme tools (which caused a loop to
repeatedly composite the tile image instead of doing it once), I
noticed that almost every time I stopped the app in gdb, it was in
the process of creating a device description, strongly suggesting
that this is actually quite a time consuming part of drawing
images.
2009-01-30 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSApplication.m: Try to get behavior to match MacOS-X
by moving call to -updateWindows to be done before getting the
next event. Updating is done only if it was flagged as needing
to be done since the last update, but if we are in NSDefaultRunLoopMode
or NSModalRunLoopMode we automatically set the flag before handling
each event ... so unless the application explicitly turns it off,
it's always done in these modes.
Might fix #25384
* Source/NSView.m: Invalidate tracking rects when they are removed
from the view.
Might fix #25385
2009-01-29 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSParagraphStyle.m: Fix all copying code to handle
textBlocks and textLists correctly.
2009-01-29 Fred Kiefer <FredKiefer@gmx.de>
* Headers/Additions/GNUstepGUI/GSDisplayServer.h
(-setPartentWindow:forChildWindow:),
* Source/GSDisplayServer.m (-setPartentWindow:forChildWindow:):
New method.
* Source/NSWindow.m (-setParentWindow:, -_initBackendWindow): Use
this new method.
* Source/NSPopUpButtonCell.m (-attachPopUpWithFrame:inView:,
-dismissPopUp): Use child window mechanism for the popup menu.
2009-01-28 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSWindow.m (GSWindowWithNumber): Protect against
windowmaps not being set.
2009-01-27 15:28-EST Gregory John Casamento <greg_casamento@yahoo.com>
* Source/GSNibLoading.m: Temporarily comment out the release of
connections until we find the cause of some current crashes. This
will be reverted ASAP.
* Source/NSDrawer.m: Don't slide the window out, just appear where it
needs to be.
2009-01-27 Fred Kiefer <FredKiefer@gmx.de>
* Headers/AppKit/NSAttributedString.h: Add missing MacOSX methods.
* Source/NSAttributedString.m: Rewrote data loading and add
setting of NSError.
* Headers/AppKit/NSLayoutManager.h (-attachmentSizeForGlyphAtIndex:,
showAttachmentCell:inRect:characterIndex:): Declare these missing
methods.
* Source/NSLayoutManager.m: Implement and use them.
* Source/NSTextView.m (-dragSelectionWithEvent:...): Use layout
manager attachment methods.
2009-01-26 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSAttributedString.m (-dataFromRange:...,
-fileWrapperFromRange:...): Basic implementation.
2009-01-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSMenu.m: Keep the main menu in the main window (or visible
if there is no main menu) when using microsoft style menus.
* Source/NSWindow.m: If the main windows closes and it contains