forked from bratsche/gtk-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
ChangeLog.pre-2-16
3959 lines (2626 loc) · 129 KB
/
ChangeLog.pre-2-16
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
=== ChangeLog discontinued ===
With the move to git, GTK+ is switching from a ChangeLog file
to relying on commit messages to provide change history. Please
see README.commits for guidance on the expected message format.
2009-03-29 Christian Persch <chpe@gnome.org>
Bug 577224 – crash when setting new icon after setting icon in
gtkstatusicon
* gtk/gtkstatusicon.c: (gtk_status_icon_reset_image_data),
(gtk_status_icon_set_from_gicon): Retain a reference when setting
from a GIcon, and use g_object_unref on GIcon, not g_free.
2009-03-27 Behdad Esfahbod <behdad@gnome.org>
Bug 437533 – Implement draw_shape PangoRenderer method
* gdk/gdkpango.c (gdk_pango_renderer_draw_shape),
(gdk_pango_renderer_class_init): Implement draw_shape
* demos/gtk-demo/rotated_text.c (fancy_shape_renderer),
(create_fancy_attr_list_for_layout), (rotated_text_expose_event),
(do_rotated_text):
1) Port to pangocairo
2) Also show a rotated label
3) Install a custom shape renderer on both. The second one goes
through gdkpango and hence tests the patch above. It's working.
2009-03-26 Stef Walter <stef@memberwebs.com>
* gtk/gtkfilechooserentry.c
(char_after_cursor_is_directory_separator)
(gtk_file_chooser_entry_do_insert_text)
(gtk_file_chooser_entry_focus)
(commit_completion_and_refresh)
(refresh_current_folder_and_file_part) (autocomplete):
* gtk/gtkspinbutton.c (gtk_spin_button_insert_text):
* modules/other/gail/gailentry.c (gail_entry_real_initialize)
(text_setup) (gail_entry_get_run_attributes)
(gail_entry_get_character_extents)
(gail_entry_get_offset_at_point): Use gtk_entry_xxx functions
rather than using GtkEntry structure directly.
See bug #576801
2009-03-25 Christian Dywan <christian@twotoasts.de>
* gtk/gtkselection.c: Typo correction, s/hilding/holding
2009-03-25 Sven Neumann <sven@gimp.org>
* gdk/directfb/gdkwindow-directfb.c
(gdk_window_directfb_process_all_updates): compile fix for build
with DIRECT_ENABLE_DEBUG.
2009-03-24 Matthias Clasen <mclasen@redhat.com>
Bug 576306 – gdkscreen.c: get_nearest_monitor too simple, gives wrong
result, mispositioning tooltips
* gdk/gdkscreen.c (get_nearest_monitor): Make this function work.
Problem reported by Dave Gilbert.
2009-03-23 Hiroyuki Ikezoe <poincare@ikezoe.net>
Bug 576254 - <object> requires attribute "id"
* docs/reference/gtk/tmpl/gtkdialog.sgml: Add id attribute to
GtkBuilder UI sample.
2009-03-21 Cody Russell <bratsche@gnome.org>
Bug 538840 – [Win32] GTK menu theming could be improved
* modules/engines/ms-windows/xp_theme.c
* modules/engines/ms-windows/msw_style.c: Use newer
menu styling API. This makes gtk+ look much better on
Windows Vista.
2009-03-19 Claudio Saavedra <csaavedra@igalia.com>
Bug 574283 – unused assignment and dead code in
gtk_widget_set_tooltip_window()
* gtk/gtkwidget.c: (gtk_widget_set_tooltip_window): Remove
an unused assignment and clean up, improving checks.
2009-03-18 Michael Natterer <mitch@gimp.org>
* gtk/gtkscalebutton.c: add static function
gtk_scale_button_set_orientation_private() and use it instead of
the public but deprecated gtk_scale_button_set_orientation().
2009-03-17 Tor Lillqvist <tml@novell.com>
Bug 575700 - Crash when moving a GtkWindow
* gdk/win32/gdkevents-win32.c (gdk_event_translate): Fix
embarrassing crasher bug introduced on 2009-03-11. A variable was
assigned a value only inside a GDK_NOTE but still used outside
that.
2009-03-17 Tor Lillqvist <tml@novell.com>
* gtk/gtkprintoperation-win32.c: Newer mingw-w64 uses an
underscore-prefixed identification macro.
2009-03-13 Matthias Clasen <mclasen@redhat.com>
* README.in: Late release notes for 2.16
2009-03-13 Matthias Clasen <mclasen@redhat.com>
* configure.in: Bump version
2009-03-13 Matthias Clasen <mclasen@redhat.com>
* === Released 2.16.0 ===
2009-03-13 Matthias Clasen <mclasen@redhat.com>
* NEWS: Updates
* configure.in: Bump version to 2.16.0
2009-03-11 Matthias Clasen <mclasen@redhat.com>
Bug 572455 – GtkEntry window layed out wrong if the widget has focus
* gtk/gtkentry.c: Fix problems with window positioning. Reported
by Benjamin Berg.
2009-03-11 Tor Lillqvist <tml@iki.fi>
Bug 573067 - Intra-app dnd of text behavior on Windows is wrong
* gdk/win32/gdkdnd-win32.c (local_send_motion) (gdk_drag_motion):
The default action should be move, not copy. Tweak how the
GdkDragAction fields in GdkDragContexts are changed. Seems to help
the problem.
Add more debugging printout for --gdk-debug=dnd to many functions.
* gdk/win32/gdkmain-win32.c
* gdk/win32/gdkprivate-win32.h: (_gdk_win32_drag_protocol_to_string)
(_gdk_win32_drag_action_to_string): New functions for use in
debugging printouts.
2009-03-11 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkdnd-win32.c: Use G_DEFINE_TYPE. Some debugging
printout changes. Hacking on the OLE2_DND code, which still
doesn't work, though, and is not normally compiled.
2009-03-11 Tor Lillqvist <tml@iki.fi>
Bug 570896 - gdkevents-win32.c(2947) : error C4053: one void
operand for '?:'
* gdk/win32/gdkevents-win32.c (gdk_event_translate): Fix
compilation error with MSVC. While at it add clarifying comments
and fix a typo in the debugging output.
2009-03-11 Tor Lillqvist <tml@iki.fi>
Bug 574794 - Can not resize shaped windows on Windows
* gdk/win32/gdkevents-win32.c (gdk_event_translate): On handling
WM_WINDOWPOSCHANGED, don't do anything if the position and size
hasn't changed. I am not exactly sure I understand why this helps
this particular bug.
2009-03-10 Matthias Clasen <mclasen@redhat.com>
Bug 574561 – gtk_style_get "shadows" g_object_get
* gtk/gtk.symbols:
* gtk/gtkstyle.[hc]: Rename gtk_style_get_property to
gtk_style_get_style_property to avoid problems for language
bindings. Pointed out by Torsten Schoenfeld.
2009-03-10 Matthias Clasen <mclasen@redhat.com>
Bug 574622 – GtkEntry: Should we wrap icon-press and icon-release
signals?
* gtk/gtkentry.c: ::icon-press and ::icon-release are not
action signals. Pointed out by Murray Cumming
2009-03-04 Michael Hasselmann <michaelh@openismus.com>
* gtk/gtkcomboboxentry.c (gtk_combo_box_entry_contents_changed):
Fixed regression reported in bug #574059. (search button not available in
some cases.) The old implementation relied on bug #572478.
2009-03-10 Alexander Larsson <alexl@redhat.com>
* gtk/gtkmountoperation.c:
(gtk_mount_operation_ask_password):
Clear all optionally created widget pointer in priv. Initially
priv is cleared so thats ok, but on a second call we may have
leftovers from previous calls which is problematic if for instance
we asked for the user the first time and not the second, then we
will access the old priv->username_entry.
2009-03-06 Michael Natterer <mitch@gimp.org>
* gtk/gtkscalebutton.c (gtk_scale_button_set_property): don't call
gtk_orientable_set_orientation() because that calls g_object_set()
again -> infinite recursion. Call gtk_scale_button_set_orientation()
instead.
2009-03-02 Matthias Clasen <mclasen@redhat.com>
* configure.in: Bump version
2009-03-02 Matthias Clasen <mclasen@redhat.com>
* === Released 2.15.5 ===
2009-03-02 Matthias Clasen <mclasen@redhat.com>
* NEWS: Updates
2009-03-02 Matthias Clasen <mclasen@redhat.com>
Bug 546285 – Allow GtkEntry to draw progress
* gtk/gtkentry.c: Improve the drawing of progress in entries,
using fg/bg[SELECTED]. Add a progress-border style property.
Draw progress behind icons too.
* gtk/gtkrc.c: Add defaults for fg/bg[SELECTED] in entries.
Patch by Benjamin Berg.
2009-03-02 Matthias Clasen <mclasen@redhat.com>
Bug 573688 – Don't steal update region in gtk_text_view_paint()
* gtk/gtktextview.c (gtk_text_view_paint): If additional areas got
invalidated, don't try to add them to the paint region: in an expose
handler, we cannot paint outside the area that was passed in, since
drawing will be clipped. So stealing the update region from the
window causes lost draws.
Patch by Owen Taylor
2009-03-02 Alexander Larsson <alexl@redhat.com>
Bug 573087 – gdkwindow.c: {x,y}_offset used uninitialized
* gdk/gdkwindow.c (gdk_window_clear_backing_rect_redirect):
Don't use uninitialized vars.
Fix offsets for redirected pixmap, draw to pixmap not window.
2009-03-02 Theppitak Karoonboonyanan <thep@linux.thai.net>
Bug 457086 - numpad does not work when the Thai-Lao input method is
used
* modules/input/gtkimcontextthai.c (is_context_lost_key): Do not count
character-generating keypads as context-lost keys. (patch recommitted
after approval)
2009-03-01 Matthias Clasen <mclasen@redhat.com>
* gdk/gdkkeysyms.h: Fix the sorting of GDK_KP_Equal.
2009-03-01 Matthias Clasen <mclasen@redhat.com>
Bug 552619 – File Chooser no longer automatically enters newly created
directories
* gtk/gtkfilechooserdefault.c (edited_idle_cb): Switch to the newly
created folder on success.
2009-03-01 Matthias Clasen <mclasen@redhat.com>
Bug 573515 – po-properties/ special Makefile.in.in handling causes
failure to build
* configure.in: Generate po-properties/POTFILES at configure time.
Patch by Loïc Minier
2009-03-01 Matthias Clasen <mclasen@redhat.com>
* demos/gtk-demo/appwindow.c: Set the program-name property
of the about dialog.
* docs/tools/widgets.c: Add GtkAboutDialog
2009-02-28 Matthias Clasen <mclasen@redhat.com>
Bug 572273 – No replacement documented for gtk_action_connect_proxy()
* gtk/gtkaction.c: Make gtk-doc pick up deprecation notes.
Insisted on by Andre Klapper.
2009-02-28 Matthias Clasen <mclasen@redhat.com>
Bug 573287 – Warning on startup
* gtk/gtkstatusicon.c (gtk_status_icon_finalize): Disconnect
all tray icon signals. Noticed by Bastien Nocera
2009-02-28 Matthias Clasen <mclasen@redhat.com>
Bug 573211 – Setting screen for popup windows
* gtk/gtkentrycompletion.c:
* gtk/gtknotebook.c: Keep popups on the right screen.
Pointed out by Morten Welinder
2009-02-28 Matthias Clasen <mclasen@redhat.com>
Bug 573113 – Can't build tests due to testfilechooserbutton.c...
* tests/testfilechooserbutton.c: Don't use deprecated API.
Reported by Tobias Mueller
2009-02-28 Matthias Clasen <mclasen@redhat.com>
Bug 573069 – Gdk-CRITICAL warnings with Gtk 2.14 when dragging
GtkNotebook tabs
* gtk/gtkwidget.c (_gtk_widget_synthesize_crossing): Be a little
more careful when navigating up the parent chain.
* gdk/gdkwindow.c (_gdk_window_destroy_hierarchy): Reset the
pointer window thats stored on the screen when it is destroyed.
2009-02-27 Matthias Clasen <mclasen@redhat.com>
Bug 572996 – crash in Home Folder: Trying to open the sidebar
* gtk/gtkpaned.c (get_child_panes): Handle widget being NULL.
Pointed out by Wouter Bolsterlee.
2009-02-27 Matthias Clasen <mclasen@redhat.com>
Bug 572972 – GtkRecentChooserDefault: memory leak in
copy_activated_cb()
* gtk/gtkrecentchooserdefault.c (copy_activated_cb): Don't leak
a GtkRecentInfo. Found by Tommi Rantala
2009-02-27 Matthias Clasen <mclasen@redhat.com>
Bug 572968 – GtkIconView: image_description setter function strdups
wrong string
* gtk/gtkiconview.c
(gtk_icon_view_item_accessible_image_set_image_description): Copy
the right string. Pointed out by Tommi Rantala
2009-02-27 David Zeuthen <davidz@redhat.com>
Bug 573416 – GtkMountOperation fixes for ask_password()
* gtk/gtkmountoperation.c (gtk_mount_operation_ask_password):
Split the message from GMountOperation into primary/secondary like
we also do in gtk_mount_operation_ask_question()
2009-02-27 Michael Natterer <mitch@imendio.com>
Bug 573383 – Setting a textview's buffer to NULL doesn't do a
complete job
* gtk/gtktextview.c (gtk_text_view_set_buffer): always set
text_view->layout's buffer, also if it's NULL.
2009-02-25 Tristan Van Berkom <tvb@gnome.org>
Bug 572904 – GtkRadioAction broken in trunk
* gtk/gtkradioaction.c: When setting non active state always
notify the action's active state (this prevents toggle type proxies
used with radio actions from deactivating when pressed a second time).
2009-02-25 Xan Lopez <xan@gnome.org>
Bug 495320 - GtkRange does not use gdk_event_request_motions
* gtk/gtkrange.c:
(gtk_range_motion_notify): Use gdk_event_request_motions to
request more motion events, as suggested in the docs for widgets
using motion hints.
2009-02-24 Matthias Clasen <mclasen@redhat.com>
* gdk/x11/gdkevents-x11.c:
* gdk/x11/gdkscreen-x11.[hc]: Another attempt at getting Xrandr
screen size changes right. Actually handle XRRScreenChangeNotify
events, and ignore root ConfigureNotify events if we are using
Xrandr. Only emit size-changed signals if the screen size changed,
and only emit monitor-changed signals if the monitors changed.
2009-02-23 Matthias Clasen <mclasen@redhat.com>
Bug 565199 – Ellipsize text in Places list
* gtk/gtkfilechooserdefault.c (shortcuts_list_create): Never scroll
the places horizontally. Instead, ellipsize the text.
2009-02-19 Michael Hasselmann <michaelh@openismus.com>
* gtk/gtkcombobox.c (gtk_combo_box_set_active_internal):
Added a check to not emit a "changed" signal when an already invalid
selection was set to invalid.
2009-02-22 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk.symbols:
* gtk/gtkactivatable.[hc]: Rename gtk_activatable_reset to
gtk_activatable_sync_action_properties, since the previous name
was deemed too generic. Update all implementations.
2009-02-19 Ray Strode <rstrode@redhat.com>
* gdk/x11/gdkscreen-x11.c
(monitor_compare_function), (init_randr13):
After using randr to get a list of monitors,
sort the list such that the biggest output
of "cloned" outputs comes first in the list.
This helps apps that don't generally handle
overlapping outputs to work better in randr
clone mode.
2009-02-19 Sven Neumann <sven@gimp.org>
* gdk/directfb/gdkwindow-directfb.c
(gdk_directfb_window_move_resize): looks like being called with
negative width and height should be interpreted as a move. Fixes
scrolling and makes popups work to some extent.
(_gdk_directfb_move_resize_child): formatting.
2009-02-19 Sven Neumann <sven@gimp.org>
* gdk/directfb/gdkdisplay-directfb.c (gdk_display_open): move the
call to _gdk_windowing_window_init() up a little. Fixes a crash
when running on pseudo-color visuals. Thanks to Masse Nicolas for
pointing this out.
2009-02-19 Sven Neumann <sven@gimp.org>
* gdk/directfb/gdkwindow-directfb.c
(gdk_window_foreign_new_for_display, gdk_directfb_window_new):
initialize private->impl. Thanks to Masse Nicolas for pointing
this out.
2009-02-19 Matthias Clasen <mclasen@redhat.com>
Bug 572387 – gdm crashes after gtk 2.15.4 upgrade
* gdk/x11/gdkscreen-x11.c (init_xrandr13): If X is broken and returns
no monitors, fall back to other multihead init methods, so that we
at least get one monitor set up.
2009-02-19 Michael Natterer <mitch@imendio.com>
* gtk/gtkmountoperation.c: sort functions so their order is more
"standard", some cosmetic cleanup (not changing any code).
2009-02-19 Michael Natterer <mitch@imendio.com>
* tests/testgtk.c: add some orientation flipping code to the
"flipping" test.
2009-02-19 Michael Natterer <mitch@imendio.com>
* gtk/gtkscalebutton.c: make the orientation flipping much simpler
by using the GtkOrientable features of the involved widgets:
(gtk_scale_button_init): create the frame, box and scale here,
they never need to be recreated because they implement GtkOrientable.
(gtk_scale_button_constructor): remove their construction here.
(gtk_scale_button_set_orientation): don't destroy and re-create
anything. Instead, simply set the orientation of the above created
widgets and fiddle a bit with the "plus" and "minus" buttons'
packing and the scale's "inverted" state.
Remove separate internal GtkScaleButtonHScale and
GtkScaleButtonVScale subclasses and simply have a
GtkScaleButtonScale directly inherited from GtkScale.
2009-02-19 Theppitak Karoonboonyanan <thep@linux.thai.net>
* modules/input/gtkimcontextthai.c (is_context_lost_key): Revert the
unapproved patch for bug 457086.
2009-02-18 Matthias Clasen <mclasen@redhat.com>
* gdk/x11/gdkscreen-x11.c (init_randr13): Ignore disconnected outputs,
and fill in name and physical dimensions.
2009-02-18 Sven Neumann <sven@gimp.org>
Bug 533456 – Memory leak when window is destroyed
* gdk/directfb/gdkdirectfb.h
* gdk/directfb/gdkprivate-directfb.h
* gdk/directfb/gdkcursor-directfb.c
* gdk/directfb/gdkevents-directfb.c
* gdk/directfb/gdkwindow-directfb.c: removed all #ifdef checks for
DIRECTFB_MAJOR_VERSION >= 1 and compile that code unconditionally.
as we depend on DirectFB >= 1.0.0 now. Fixes a potential build
issue that would lead to a memory leak as described in bug #533456.
2009-02-18 Sven Neumann <sven@gimp.org>
Bug 513422 – Unknown meaning of translatable messages
* gdk/directfb/gdkdisplay-directfb.c: removed broken and commented
code and the translatable messages that belonged to it.
2009-02-18 Sven Neumann <sven@gimp.org>
Bug 560671 – the client_message API doesn't work in DirectFB
* gdk/directfb/gdkevents-directfb.c: applied a slightly cleaned up
patch from Steve Lhomme that adds this functionality using
DirectFB's DFBUserEvent.
2009-02-18 Sven Neumann <sven@gimp.org>
Bug 543710 – Dead keys do not work anymore with DirectFB
* gdk/directfb/gdkkeys-directfb.c (gdk_directfb_translate_key):
applied patch from Josselin Mouette that removes special handling
of dead keys as that is done by DirectFB for a long time already.
2009-02-18 Sven Neumann <sven@gimp.org>
* configure.in: depend on DirectFB >= 1.0.0. There's no point in
using an earlier development version.
2009-02-18 Sven Neumann <sven@gimp.org>
Bug 554407 – directfb backend does not implement GdkWindowImpl
* gdk/directfb/gdkgeometry-directfb.c
* gdk/directfb/gdkprivate-directfb.h
* gdk/directfb/gdkwindow-directfb.c: fix the build of the DirectFB
backend and resurrect basic functionality. Based on a patch from
the Ubuntu bug-tracker and work by Masse Nicolas.
2009-02-18 Theppitak Karoonboonyanan <thep@linux.thai.net>
Bug 457086 - numpad does not work when the Thai-Lao input method is
used
* modules/input/gtkimcontextthai.c (is_context_lost_key): Do not count
character-generating keypads as context-lost keys.
2009-02-17 Matthias Clasen <mclasen@redhat.com>
* configure.in: Bump version
2009-02-17 Matthias Clasen <mclasen@redhat.com>
* === Released 2.15.4 ===
* gdk/tests/Makefile.am: Disable check-gdk-cairo for now.
2009-02-17 Andre Klapper <a9016009@gmx.de>
* demos/gtk-demo/main.c:
Fix deprecated glib call.
2009-02-17 Matthias Clasen <mclasen@redhat.com>
* NEWS: Updates
2009-02-16 Matthias Clasen <mclasen@redhat.com>
Bug 572040 – GtkAssistant does not expose page titles
* gtk/gtkassistant.c (gtk_assistant_accessible_ref_child): Set
the object name to the page title. Proposed by Eitan Isaacson
2009-02-16 Matthias Clasen <mclasen@redhat.com>
Bug 572041 – Focus should change when advancing forward in GtkAssistant
* gtk/gtkassistant.c (set_current_page): Set focus when the current
page changes. Pointed out by Eitan Isaacson
2009-02-16 Matthias Clasen <mclasen@redhat.com>
* configure.in: Require GLib 2.19.7 for GMountOperation::aborted.
* gtk/gtkmountoperation.c: Implement GMountOperation::aborted.
2009-02-16 Sven Neumann <sven@gimp.org>
* gdk/gdk.symbols
* gdk/directfb/gdkkeys-directfb.c: implement
gdk_keymap_get_caps_lock_state(). No "state-changed" signal yet.
2009-02-16 Tor Lillqvist <tml@novell.com>
Bug 571873 - Compile error with gdk/win32/gdkselection-win32.c
* gdk/win32/gdkselection-win32.c (gdk_selection_convert): Cast
gpointer to char * before pointer arithmetic to avoid compilation
error with MSVC.
(_gdk_selection_property_delete): Remove unused variable.
2009-02-13 Matthias Clasen <mclasen@redhat.com>
* gdk/x11/gdkdisplay-x11.c (gdk_display_open): Don't forget to
register randr events. Found by Søren Sandmann
2009-02-13 Matthias Clasen <mclasen@redhat.com>
* configure.in: Check for Xrandr 1.3
* gdk/x11/gdkdisplay-x11.[ch]: Rename have_randr12 to have_randr13
and set if if we have randr 1.3
* gdk/x11/gdkscreen-x11.c: Go back to using randr for monitor
information, if we have XRRGetScreenResourcesCurrent.
:
2009-02-12 Cody Russell <bratsche@gnome.org>
Bug 571576 – gdk_pixbuf_save_to_stream() broken
* gdk-pixbuf/gdk-pixbuf-io.c: Fix gdk_pixbuf_save_to_stream() so that
it does not always return FALSE (even when it succeeds), and also so
that it does not set error to NULL when something goes wrong.
2009-02-12 Marek Kasik <mkasik@redhat.com>
Bug 568571 – Asian am/pm format on cups print backend's time parsing
* modules/printbackends/cups/gtkprintbackendcups.c: Add Asian am/pm
format into formats recognized by CUPS backend
2009-02-11 Matthias Clasen <mclasen@redhat.com>
Bug 570824 – [a11y] TreeView is not keyboard (re)focusable after
selecting a cell in a non-sortable column
* gtk/gtktreeview.c (gtk_tree_view_header_focus): Don't grab
focus to a header button if it is not focusable. Problem reported
by Joanmarie Diggs
2009-02-11 Matthias Clasen <mclasen@redhat.com>
Bug 508545 – No way to identify terminal classes from documentation
* gtk/gtkvolumebutton.[hc]: Move the _GtkVolumeButton definition
into the header to make it possible to derive from GtkVoumeButton.
Reported by Chris Lord.
2009-02-11 Matthias Clasen <mclasen@redhat.com>
Bug 571196 – gtk_binding_entry_add_signall deprecated without
alternative
* gtk/gtk.symbols:
* gtk/gtkbindings.[hc]: Undeprecate gtk_binding_entry_add_signall
since its replacement is a varargs function. Complaint by
Torsten Schoenfeld.
2009-02-11 Matthias Clasen <mclasen@redhat.com>
Bug 571249 – Icons are not drawn properly when initial widget
state is insensitive
* gtk/gtkentry.c (gtk_entry_ensure_pixbuf): Render icons
in normal state, regardless of the entrys state. Reported by
Enrico Tröger.
2009-02-11 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserbutton.c: Don't emit the file-set signal
if the file chooser dialog is canceled. But emit it if a file
is received via DND.
2009-02-11 Matthias Clasen <mclasen@redhat.com>
Bug 353196 – Add a file-set signal to GtkFileChooserButton
* gtk/gtkfilechooserbutton.c: Remove GTK_SIGNAL_ACTION
from the file-set signal, that wasn't supposed to have it.
2009-02-10 Takao Fujiwara <takao.fujiwara@sun.com>
Bug 571015 – libprintbackend-cups has unlocalized strings
* modules/printbackends/cups/gtkprintbackendcups.c:
Added a translator comment with the request of translators.
2009-02-09 Richard Hughes <richard@hughsie.com>
* docs/reference/gtk/migrating-GtkEntry-icons.sgml:
Fix the enumerated name in the migration document.
2009-02-09 Cody Russell <bratsche@gnome.org>
* gdk/win32/gdkwin32.h: Add potentially missing #defines for
XBUTTON1, etc. Fixes the build that was broken in r21746.
2009-02-09 Takao Fujiwara <takao.fujiwara@sun.com>
Bug 571015 – libprintbackend-cups has unlocalized strings
Reviewed by Matthias Clasen <mclasen@redhat.com>
* modules/printbackends/cups/gtkprintbackendcups.c (handle_option):
Add translatable strings from ppd files.
2009-02-06 Matthias Clasen <mclasen@redhat.com>
Make the new GtkAction code work with PolicyKit-gnome's use of actions.
* gtk/gtkaction.c (gtk_action_[un]block_activate_from): Block
the action.
* gtk/gtkcheckmenuitem.c (gtk_check_menu_item_activatable_reset):
* gtk/gtktogglebutton. (gtk_toggle_button_activatable_reset):
* gtk/gtktoggletoolbutton.c (gtk_toggle_tool_button_activatable_reset):
Work with non-toggle actions without complaining.
* gtk/gtktoolbutton.c (gtk_tool_button_activatable_update): Updating
the icon-name should not remove the label.
* gtk/gtkimagemenuitem.c (activatable_update_icon_name): Also
update the image when the icon name is set to NULL.
2009-02-06 Matthew Barnes <mbarnes@redhat.com>
* gtk/gtklabel.c (gtk_label_set_label): Accept a NULL string.
2009-02-03 Matthias Clasen <mclasen@redhat.com>
Bug 538439 – tooltip may appear in upper left corner instead of
over widget
* gtk/gtktooltip.c (gtk_tooltip_trigger_query): Set the root
coordinates in the event correctly. Patch by Kristian Rietveld.
2009-02-02 Matthias Clasen <mclasen@redhat.com>
* configure.in: Bump version
2009-02-02 Matthias Clasen <mclasen@redhat.com>
* === Released 2.15.3 ===
* NEWS: Updates
2009-02-01 Behdad Esfahbod <behdad@gnome.org>
* gtk/gtksettings.c (gtk_settings_class_init): Change the
"gtk-fontconfig-timestamp" property from int to uint. Doesn't affect
anything in practice, except that it overflows years later...
2009-02-01 Behdad Esfahbod <behdad@gnome.org>
Bug 569635 – fontchooser should reload list of families/styles on
theme change
* gtk/gtkfontsel.c (gtk_font_selection_class_init),
(gtk_font_selection_init), (gtk_font_selection_finalize),
(gtk_font_selection_ref_family), (gtk_font_selection_ref_face),
(gtk_font_selection_reload_fonts),
(gtk_font_selection_screen_changed),
(gtk_font_selection_style_set),
(gtk_font_selection_scroll_to_selection),
(gtk_font_selection_scroll_on_map),
(gtk_font_selection_select_font),
(gtk_font_selection_show_available_fonts),
(gtk_font_selection_show_available_styles),
(gtk_font_selection_select_style),
(gtk_font_selection_select_font_desc),
(gtk_font_selection_set_font_name):
Reload Pango families and faces in style_set. Installing/uninstalling
fonts shows up immediately in an open font chooser now.
2009-01-31 Matthias Clasen <mclasen@redhat.com>
Bug 162726 – Multiple Latin layouts in XKB break keyboard shortcuts
* gtk/gtkkeyhash.c (_gtk_key_hash_lookup): Change the handling of
fuzzy matches: As long there are any exact matches, only exact
matches are returned. If there are no exact matches, fuzzy matches
will be returned, as long as they are not shadowing a possible exact
match. This means that fuzzy matches won't be considered if their
keyval is present in the current group. Problem reported by
many people, patch by Simos Xenitellis.
2009-01-31 Matthias Clasen <mclasen@redhat.com>
* NEWS: Updates
2009-01-30 Fridrich Strba <fridrich.strba@bluewin.ch>
* configure.in: Allow linking in static jasper gdk-pixbuf loader.
(reviewed by Tor Lillqvist)
2009-01-30 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextview.c (preedit_changed_handler): Be more careful
with the beeps, since preedit-changed is occasionally emitted
without actual input. Pointed out by Tor Lillqvist.
2009-01-30 Matthias Clasen <mclasen@redhat.com>
Bug 569918 – 64bit portability issue in gtkrecentchooser.c
* gtk/gtkrecentchooser.c (gtk_recent_chooser_set_use_action_appearance):
Avoid a compiler warning. Patch by Magnus Boman.
2009-01-30 Matthias Clasen <mclasen@redhat.com>
Bug 359288 – Toolbar items are not shown after hiding
* gtk/gtktoolbar.c (slide_idle_handler): Make sure we queue
at least one resize. This fixes a problem with toolitems remaining
invisible when they shouldn't that was reported by Christian Weiske.
2009-01-30 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkrecentchoosermenu.c (gtk_recent_chooser_menu_create_item):
Always show images.
2009-01-29 Tor Lillqvist <tml@novell.com>
Bug 559408 - Transparency lost when images are copied between GTK+
and the clipboard on Windows
The code in gdkselection-win32.c is simplified quite a lot. When
an image is stored on the clipboard from GTK+, only the "PNG" and
CF_DIB formats are advertised. PNG is our preferred format because
it can losslessly represent any image that gdk-pixbuf can handle,
even with alpha, unambiguously. CF_DIB is also advertised because
of its ubiquitous support in Windows software.
Delayed rendering is used as before, so for other data than text
nothing is actually stored on the clipboard until some app asks
for it.
It's pointless to advertise images formats like "image/png" or
"image/x-MS-bmp" that no other Windows application is going to
look for anyway. Likewise it's pointless to store text under
formats like "text/plain" or "UTF8_STRING". Just store
CF_UNICODETEXT. CF_TEXT will be available as a synthesized format
anyways.
Office 2007 offers and asks for images in PNG format using the
registered clipboard format name "PNG", so we do likewise. If the
"PNG" format is available that is preferred when copying to GTK+
from the clipboard.
Unfortunately Word 2007 still uses CF_DIB without handling
alpha. But PowerPoint 2007 uses PNG if available and handles alpha
correctly. Both Word and Powerpoint offer PNG with alpha nicely.
Firefox and IE7 offer images that contain alpha as 32-bit version
3 BI_RGB DIBs with the undocumented "extra" bytes actually being
alpha. Also, alpha is premultiplied into the RGB bytes, presumably
because that is how AlphaBlend() wants such DIBs. That is also
taken care of. At least for Firefox it easy to be sure that a
CF_DIB on the clipboard is from Firefox.
Also some general stylistic cleanup, comment improvements, and
improvements of debugging printout especially in the clipboard
handling. Those are not detailled below.
* gdk/win32/gdkprivate-win32.h
* gdk/win32/gdkglobals-win32.c
* gdk/win32/gdkgmain-win32.c: Move some globals that were used
only in gdkselection-win32.c to be local to that file.
* gdk/win32/gdkproperty-win32.c (gdk_property_change): Don't
bother checking if text to be placed on the clipboard consists of
only ASCII.
* gdk/win32/gdkselection-win32.c: Add static variables for a list
of GdkPixbuf-supported formats, well-known registered clipboard
formats for images, and for GdkAtoms for well-known image and text
formats.
(_gdk_win32_selection_init): Initialize above static variables.
(selection_property_store) (gdk_selection_property_get)
(_gdk_selection_property_delete): Don't use a FIFO of GdkSelProps
for a window after all, it breaks testtext. See bug #163844.
(gdk_selection_convert): When converting to the TARGETS format,
i.e. when the caller wants to know what clipboard formats are
available, if PNG is available we report just that and skip
CF_DIB, JPEG and GIF even if advertised.
If CF_UNICODETEXT is available, report only UTF8_STRING.
When converting to the UTF8_STRING format, i.e. when the caller
wants text from the clipboard, try just CF_UNICODETEXT. There is
no point in trying CF_TEXT as Windows will synthesize
CF_UNICODETEXT from CF_TEXT anyway, if some app has stored just
CF_TEXT.
When converting to the image/bmp format, i.e. when the caller
wants an CF_DIB image from the clipboard, we check if the DIB is a
version 3 32-bit BI_RGB one that is likely to actually contain
alpha in the "extra" bytes. Such a DIB is likely to have
premultiplied alpha even, at least in the case of Firefox 3 and
IE7. We then edit the DIB in-place into a version 5 one in
BI_BITFIELDS format and undo the alpha premultiplication.
In any case, prepend a BMP file header before letting go of the
data which will be fed to the gdk-pixbuf bmp loader by upper
levels.
(gdk_win32_selection_add_targets): If some kind of pixmap image
format is being added, actually advertise just PNG and
CF_DIB. Note that alpha won't be stored on the clipboard through
CF_DIB. This is because gdk-pixbuf's bmp loader doesn't save
alpha. Furthermore, few if any non-GTK+ Windows apps seem to
understand a version 5 DIB with proper alpha anyway.
(_gdk_win32_selection_convert_to_dib): Simplified muchly.
2009-01-29 Tor Lillqvist <tml@novell.com>
Bug 145058 - Inputting "^^" requires four keystrokes on Win32,
differs from platform default behaviour
* gtk/gtkimcontextsimple.c
(check_win32_special_case_after_compact_match): New
function. Called from check_compact_table() after a table-based
match has committed a character. In case there was two identical
dead accents in the input, another copy of the spacing accent that
was already committed is committed. This fixes #145058.
(check_win32_special_cases): New function. Called first from
gtk_im_context_simple_filter_keypress(). This fixes another
problem: a dead accent followed by a space should commit the
corresponding spacing accent. The compose tables from X commit
another character in two cases and we want to override that on
Windows.
Add GTK_NOTE (MISC) debugging output to this code.
2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
Bug 569435 – make maintainer-clean removes non-generated sources
* gdk/Makefile.am: Do not remove gdkprivate.h and gdkwindowimpl.h
during make maintainer-clean, as these files are not generated.
2009-01-28 Philip Withnall <philip@tecnocode.co.uk>
* gtk/gtktreeview.c: Small documentation fix.
2009-01-27 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkentry.c: Use the get_text_area_size vfunc to make
alignment and icons in spin buttons work correctly.
2009-01-27 Matthias Clasen <mclasen@redhat.com>
Bug 569336 – change in gtkbutton klass is causing crash when
activating menu item
* gtk/gtktogglebutton.c: Don't chain the clicked handler
up unconditionally.
2009-01-27 Matthias Clasen <mclasen@redhat.com>
* configure.in: Bump version
2009-01-27 Matthias Clasen <mclasen@redhat.com>
* === Released 2.15.2 ===
* NEWS: Updates
2009-01-26 Matthias Clasen <mclasen@redhat.com>
Bug 322932 – Always show icons on panel menus
* gtk/gtk.symbols:
* gtk/gtkimagemenuitem.[hc]: Add a property to override the
show-menu-images setting for individual menuitems. Patch by
William Jon McCann.
2009-01-26 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkbutton.c: Activate the action in a regular clicked
handler instead of the default handler, to make it work with
derived classes which don't chain up their clicked handler.
2009-01-26 Matthias Clasen <mclasen@redhat.com>
Bug 569104 – Toggle menu entries showed as check menu entries