]> Pileus Git - ~andy/gtk/blob - ChangeLog
Remove a C99ism. Pointed out by Eric Lamarque
[~andy/gtk] / ChangeLog
1 2008-12-13  Matthias Clasen  <mclasen@redhat.com>
2
3         Bug 558306 – Cannot build gdk (gtk+ 2.14.4) on Solaris 8
4
5         * gdk/x11/gdktestutils-x11.c (gdk_test_simulate_button):
6         Remove a C99ism. Pointed out by Eric Lamarque
7
8 2008-12-13  Matthias Clasen  <mclasen@redhat.com>
9
10         Bug 549251 – GTK icon view accessible issue.
11
12         * gtk/gtkiconview.c (gtk_icon_view_accessible_model_row_changed):
13         Handle separate append/set for rows.  Patch by Li Yuan
14
15 2008-12-13  Matthias Clasen  <mclasen@redhat.com>
16
17         Bug 556839 – Crash when opening a link
18
19         * gtk/gtkstatusicon.c (gtk_status_icon_finalize): Destroy the
20         image too. Patch by Carlos Garcia Campos
21
22 2008-12-13  Matthias Clasen  <mclasen@redhat.com>
23
24         Bug 563751 – xatom cache is prefilled too late
25
26         * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Initialize the
27         XAtom cache earlier. Patch by Christian Persch
28
29 2008-12-13  Matthias Clasen  <mclasen@redhat.com>
30
31         Bug 564212 – gtk_icon_view_accessible_model_rows_reordered explain 
32         new_order in the wrong way
33
34         * gtk/gtkiconview.c (gtk_icon_view_accessible_model_rows_reordered):
35         Use the new order correctly.  Patch by Li Yuan
36
37 2008-12-13  Matthias Clasen  <mclasen@redhat.com>
38
39         Bug 563835 – Typo in gtk_widget_has_screen() docs
40
41         * gdk/directfb/gdkwindow-directfb.c:
42         * gdk/gdkwindow.c:
43         * gdk/x11/gdkwindow-x11.c:
44         * gtk/gtkmenushell.c:
45         * gtk/gtkwidget.c:
46         * gtk/tests/builder.c:
47         * tests/testdnd.c: s/heirarchy/hierarchy/ in docs and comments.
48         Pointed out by Wouter Bolsterlee
49
50 2008-12-12  Matthias Clasen  <mclasen@redhat.com>
51
52         Bug 564066 – Crash in gtk_rc_parse_default_files
53
54         * gtk/gtkrc.c (gtk_rc_parse_default_files): Handle being called
55         early. Bug report by Andrés G. Aragoneses
56
57 2008-12-12  Matthias Clasen  <mclasen@redhat.com>
58
59         * gtk/gtkmountoperation.c: Set an empty title on password dialogs.
60         Pointed out by Máirín Duffy.
61
62 2008-12-11  Sven Herzberg  <sven@imendio.com>
63
64         Document the "set-scroll-adjustments" signal
65
66         Reviewed by Kristian Rietveld.
67
68         * gtk/gtkiconview.c,
69         * gtk/gtklayout.c,
70         * gtk/gtktextview.c,
71         * gtk/gtktreeview.c,
72         * gtk/gtkviewport.c: added proper documentation for the signal
73
74 2008-12-11  Daniel Elstner  <danielk@openismus.com>
75
76         Bug 563994 – Input method module interface not documented
77
78         * gtk/gtkimcontext.h: Add public/private markers.
79         * gtk/gtkimcontext.c: Add section documentation which explains how
80         to add a new input method module to GTK+.  Document the signals and
81         virtual functions of GtkIMContextClass.
82         * gtk/gtkimmodule.c: Document struct GtkIMContextInfo.
83         * docs/reference/gtk/gtk-sections.txt: Add GtkIMContextClass and
84         GtkIMContextInfo to section GtkIMContext.
85         * docs/reference/gtk/Makefile.am (IGNORE_HFILES): Remove
86         gtkimmodule.h from the list in order to pick up GtkIMContextInfo.
87         * docs/reference/gtk/tmpl/gtkimcontext.sgml: Remove file from
88         repository since all the hand-edited content has been migrated to
89         source file comments.
90
91 2008-12-10  Matthias Clasen  <mclasen@redhat.com>
92
93         Bug 563991 – gtk_file_chooser_button_new_with_backend is deprecated
94         -- but what should be used instead?
95
96         * gtk/gtkfilechooserbutton.c: Enhanced deprecation annotation.
97
98 2008-12-10  Daniel Elstner  <danielk@openismus.com>
99
100         Maintenance of Multipress input method by Openismus GmbH:
101
102         * modules/input/gtkimcontextmultipress.[ch]: Clean up the code
103         a bit to follow the GTK+ coding style more closely.  Fix the code
104         to emit "preedit-start" and "preedit-end", too, rather than only
105         "preedit-changed".
106         (GTK_IM_CONTEXT_MULTIPRESS*): Rename incorrectly spelled macros
107         gtk_im_context_multipress*. Shouldn't break API or ABI as it's
108         only used internally.
109         * modules/input/immultipress.c: More cleanup,
110         * modules/input/README.multipress: ditto.
111
112 2008-12-09  Michael Natterer  <mitch@imendio.com>
113
114         * gdk/gdk.symbols: add missing #ifndef GDK_DISABLE_DEPRECATED.
115
116 2008-12-09  Michael Natterer  <mitch@imendio.com>
117
118         * gtk/gtkcontainer.c (struct PackingPropertiesData): add missing
119         semicolon.
120
121         * gtk/gtkcontainer.c (attributes_text_element): "value" is a
122         gchar*, not const gchar*.
123
124 2008-12-07  Matthias Clasen  <mclasen@redhat.com>
125
126         Bug 546378 – GtkAssistant page title is not translatable
127
128         * gtk/gtkbuilderparser.c: Make gtk_builder_get_translation_domain()
129         useful for subparsers.
130
131         * gtk/gtkcontainer.c: Make the child property parser support
132         translatable child properties. Patch by Antti Kaijanmäki
133  
134 2008-12-07  Matthias Clasen  <mclasen@redhat.com>
135
136         Bug 554274 – Add default hook for GtkLinkButton
137
138         * gtk/gtklinkbutton.c: Call gtk_show_uri() if no uri hook has
139         been set. Patch by Emmanuele Bassi
140
141 2008-12-07  Matthias Clasen  <mclasen@redhat.com>
142
143         Bug 559325 – documentation for gdk_display_get_window_at_pointer() 
144 :       is wrong
145
146         * gdk/gdkdisplay.c (gdk_display_get_window_at_pointer): Correct
147         the documentation. Patch by Paul Davis
148
149 2008-12-07  Matthias Clasen  <mclasen@redhat.com>
150
151         Bug 563285 – test print backend does not compile
152
153         * modules/printbackends/test/gtkprintbackendtest.c: Clean up
154         includes. 
155
156 2008-12-07  Behdad Esfahbod  <behdad@gnome.org>
157
158         Bug 563547 – Update gdkx11 atom precache table
159
160         * gdk/x11/gdkdisplay-x11.c: Add more atoms to precache.
161
162 2008-12-05  Michael Natterer  <mitch@imendio.com>
163
164         Bug 546285 – Allow GtkEntry to draw progress
165
166         * gtk/gtkentry.[ch]: add new API similar to GtkProgressBar which
167         allows to set the entry's progress_fraction, its progress_pulse_step
168         and to let the entry's progress pulse.
169
170         * gtk/gtk.symbols: updated.
171
172         * tests/testgtk.c: add progress demo code to the "Entry" window.
173
174 2008-12-04  Johan Dahlin  <jdahlin@async.com.br>
175
176         * gtk/gtkstatusicon.c:
177         Add missing space in gtk-doc deprecated syntax
178
179 2008-12-03  Simos Xenitellis  <simos@gnome.org>
180
181         Bug 557420 – Some compose sequences don't work anymore (or only in
182         a specific order)
183
184         * gtk/gtkimcontextsimple.c: Update of table size, keysym boundary,
185         to match the gtkimcontextsimpleseqs.h table.
186         * gtk/gtkimcontextsimpleseqs.h: Update with older gtk+ compose
187         sequences that went missing due to table update with upstream.
188         * gtk/compose-parse.py: Updated to include gtk-compose-lookaside.txt
189         * gtk/gtk-compose-lookaside.txt: Older gtk+ compose sequences that
190         are not found in the X.Org Compose file.
191
192 2008-12-03  Sven Herzberg  <sven@imendio.com>
193
194         Bug 562998 – GtkFontButton documentation improvements
195
196         * gtk/gtkfontbutton.c: mention the way the font string should be used.
197         Patch by Sven Herzberg and Nelson Benitez
198
199 2008-12-03  Marek Kasik  <mkasik@redhat.com>
200
201         Bug 559914 – eog doesn't apply paper setup.
202
203         * gtk/gtkpapersize.c: Call the gtk_paper_size_new_from_ppd() with width
204         and height in points.
205
206 2008-12-02  Carlos Garcia Campos  <carlosgc@gnome.org>
207
208         Bug 562878 – password save incorrectly set in gtkmountoperation
209
210         * gtk/gtkmountoperation.c (remember_button_toggled),
211         (gtk_mount_operation_ask_password): Remember the password save
212         flags only when the radio button becomes active. Set also the
213         default state of the radio buttons depending on the current value
214         of password save flags. 
215         
216 2008-12-01  Matthias Clasen <mclasen@redhat.com>
217
218         Bug 555334 – connected server feature
219
220         * gtk/gtkfilesystem.c (get_volumes_list): Filter out shadow mounts.
221         Patch by David Zeuthen.
222
223 2008-12-01  Matthias Clasen <mclasen@redhat.com>
224
225         * gtk/gtkentry.c: Revert an accidental change that sneaked
226         in with the last commit.
227
228 2008-12-01  Paul Bolle  <pebolle@tiscali.nl>
229
230         Bug 562817 – GtkDialog: typo
231
232         * gtk/gtkdialog.c: Fix typo
233
234 2008-11-29  Matthias Clasen  <mclasen@redhat.com>
235
236         Bug 554453 – "typeahead find" widget of GtkTreeView appears on 
237         wrong monitor in a multi-head environment
238
239         * gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory):
240         Make sure the typeahead window follows screen changes of the
241         treeview. Noticed by Rainer Stransky
242
243 2008-11-30  Christian Dywan  <christian@imendio.com>
244
245         Bug 559622 – GdkDevice test segfaults
246
247         * gdk/x11/gdkdisplay-x11.c (gdk_display_x11_dispose):
248         * gdk/x11/gdkinput.c (gdk_device_class_init), (gdk_device_dispose):
249         Free and reset device in dispose. Patch by Michael Natterer and myself.
250
251 2008-11-30  Christian Dywan  <christian@imendio.com>
252
253         Bug 554076 – eventually release g_new-ed supported_atoms
254
255         * gdk/x11/gdkevents-x11.c (cleanup_atoms),
256         (gdk_x11_screen_supports_net_wm_hint): Set cleanup callback.
257         Patch by Caolan McNamara.
258
259 2008-11-30  Christian Dywan  <christian@imendio.com>
260
261         Bug 539263 – Deprecate gdk_window_get_toplevels
262
263         * gdk/gdkwindow.c:
264         * gdk/gdkwindow.h: Deprecate gdk_window_get_toplevels
265
266 2008-11-29  Federico Mena Quintero  <federico@novell.com>
267
268         * gtk/gtktreeview.c (gtk_tree_view_bin_expose): If tree lines are
269         enabled, flip them around for the right-to-left case.  Fixes
270         https://bugzilla.novell.com/show_bug.cgi?id=447004.  Patch by
271         Ricardo Cruz <rpmcruz@alunos.dcc.fc.up.pt>
272
273 2008-11-29  Christian Persch  <chpe@gnome.org>
274
275         * gtk/gtkselection.c: Typo fix.
276
277 2008-11-29  Matthias Clasen  <mclasen@redhat.com>
278
279         * gtk/gtkselection.c:
280         * gtk/gtkentry.c:
281         * gtk/gtkdnd.c:
282         * gtk/gtkcolorsel.c:
283         * gtk/gtkbindings.c: Improve deprecation annotations.
284
285 2008-11-26  Christian Dywan  <christian@imendio.com>
286
287         Bug 561504 – testgtk should load rc file from sub folder
288
289         * tests/testgtk.c (main):
290         Make testgtk look in subfolder and warn if not found
291
292 2008-11-25  Johan Dahlin  <jdahlin@async.com.br>
293
294         Bug 559947 – Unchecked dependency on python>=2.4
295
296         * gtk/gtk-builder-convert:
297         Avoid using sorted() which is only present in python 2.
298
299 2008-11-24  Tristan Van Berkom <tvb@gnome.org>
300
301         * gtk/gtkalignment.c: Bug 561539 - Fix warnings when size allocations
302         fall short of border width and padding.
303
304 2008-11-22  Paul Bolle  <pebolle@tiscali.nl>
305
306         Bug 561335 - Fix typos in GtkToolItem documentation
307
308         * gtk/gtktoolitem.c: Fix typos in GtkToolItem documentation
309
310 2008-11-21  Matthias Clasen <mclasen@redhat.com>
311
312         * configure.in: Bump gtk-doc dependency to 1.11 for
313         nicer index-generation.
314
315 2008-11-21  Matthias Clasen <mclasen@redhat.com>
316
317         * gtk/gtkmountoperation.[hc]: Declare structs in a way that
318         gtk-doc understands.
319
320 2008-11-17  Christian Dywan  <christian@imendio.com>
321
322         Bug 377699 – realizing gtk.Progress() causes SEGV
323
324         * gtk/gtkprogress.c: Define GtkProgress as an abstract type
325
326 2008-11-13  Christian Dywan  <christian@imendio.com>
327
328         Bug 560602 – Wrong GtkMenuItem default value (test fails)
329
330         * gtk/gtkmenuitem.c (gtk_menu_item_class_init):
331         Correct default "label" value to ""
332
333 2008-11-12  Christian Dywan  <christian@imendio.com>
334
335         Bug 560139 – GtkEntry doesn't paint with the right state
336
337         * gtk/gtkentry.c (gtk_entry_class_init), (gtk_entry_draw_frame),
338         (gtk_entry_expose): Reflect the right state if state-hint is set
339
340 2008-11-12  Christian Dywan  <christian@imendio.com>
341
342         Bug 559619 – invisible-char default cannot be tested
343
344         * gtk/tests/defaultvalue.c (test_type):
345         Skip invisible-char when testing
346
347 2008-11-12  Richard Hult  <richard@imendio.com>
348
349         * gtk/gtkdnd-quartz.c: (gtk_drag_set_icon_pixmap): Implement,
350         patch from Paul Davis.
351
352 2008-11-12  Christian Dywan  <christian@imendio.com>
353
354         Bug 525550 – GTK+ 2.13.0 GtkCurve test fails
355
356         * gtk/tests/object.c (list_ignore_properties),
357         (object_test_property), (main): Ignore GtkCurve when testing
358
359 2008-11-12  Richard Hult  <richard@imendio.com>
360
361         Bug 550942 – [patch] Rework of gdkeventloop-quartz.c
362
363         * gdk/gdk.c:
364         * gdk/gdkinternals.h: Add eventloop debug facility.
365         * gdk/quartz/gdkeventloop-quartz.c: Big rework of the quartz
366         mainloop integration, patch from Owen Taylor. See bug #550942 for
367         the details.
368
369 2008-11-12  Richard Hult  <richard@imendio.com>
370
371         Bug 558586 – handling of keyboard under darwin (quartz)
372
373         * gdk/quartz/gdkkeys-quartz.c: Follow up on this bug, only use the
374         new API when building on 64-bit, since there are still old non-xml
375         layouts used out there we don't want to break them. (For 64-bit
376         those layouts doesn't work so we don't have a choice there.)
377
378 2008-11-11  Matthias Clasen  <mclasen@redhat.com>
379
380         * gtk/gtkspinbutton.c: Chain up in enter and leave notify handlers.
381
382 2008-11-11  Michael Natterer  <mitch@imendio.com>
383
384         Bug 553765 – Add orientation API to GtkRange
385
386         * gtk/gtkrange.[ch]: implement the GtkOrientable interface. Add
387         evil code that makes sure that the stepper_detail and slider_detail
388         set in GtkRangeClass continue to work with the hacked subclasses
389         below.
390
391         * gtk/gtkscale.[ch]: swallow all code from GtkHScale and GtkVScale
392         and add gtk_scale_new() and gtk_scale_new_with_range() which take
393         a GtkOrientation argument. Set slider_detail to "Xscale" so above
394         evil code works.
395
396         * gtk/gtkscrollbar.[ch]: add gtk_scrollbar_new() which takes a
397         GtkOrientation argument. Set stepper_detail to "Xscrollbar" so
398         above evil code works.
399
400         * gtk/gtkhscale.c
401         * gtk/gtkvscale.c
402         * gtk/gtkhscrollbar.c
403         * gtk/gtkvscrollbar.c: remove all code except the constructor and
404         call gtk_orientable_set_orientation() in init().
405
406         * gtk/gtk.symbols: changed accordingly.
407
408 2008-11-11  Michael Natterer  <mitch@imendio.com>
409
410         * gtk/gtktoolbar.h: move deprecated functions together, move
411         setters and getters together, some indentation cleanup.
412
413 2008-11-11  Michael Natterer  <mitch@imendio.com>
414
415         * gtk/gtktoolbar.[ch]: implement the GtkOrientable interface
416         and deprecate gtk_toolbar_get,set_orientation().
417
418         * gtk/gtk.symbols: changed accordingly.
419
420 2008-11-10  Marek Kasik  <mkasik@redhat.com>
421
422         Bug 560135 - Print when the user double clicks a printer
423
424         * gtk/gtkprintunixdialog.c: add handling of double click to
425         GtkPrintUnixDialog.
426
427 2008-11-07  Michael Natterer  <mitch@imendio.com>
428
429         * gtk/gtkpaned.c: argh, actually call the newly added private
430         gtk_paned_calc_position() instead of the deprecated public
431         version.
432
433 2008-11-07  Michael Natterer  <mitch@imendio.com>
434
435         Bug 553586 – Add orientation API to GtkPaned
436
437         * gtk/gtkpaned.[ch]: implement the GtkOrientable interface
438         and swallow all code from GtkHPaned and GtkVPaned. Add
439         gtk_paned_new() which takes a GtkOrientation argument. Deprecate
440         gtk_paned_compute_position() for good (also for GTK_COMPILATION).
441
442         * gtk/gtkhpaned.[ch]
443         * gtk/gtkvpaned.[ch]: remove all code except the constructor and
444         call gtk_orientable_set_orientation() in init().
445
446         * gtk/gtk.symbols: add gtk_box_new().
447
448 2008-11-07  Johan Dahlin  <jdahlin@async.com.br>
449
450         * gtk/gtkcontainer.c (gtk_container_buildable_add_child):
451         Check for child->parent instead of GTK_WIDGET_TOPLEVEL.
452
453 2008-11-07  Michael Natterer  <mitch@imendio.com>
454
455         * gtk/gtkscrollbar.c: remove bogus newlines in the middle of
456         function calls, fix broken indentation and remove trailing
457         whitespace.
458
459 2008-11-06  Tristan Van Berkom <tvb@gnome.org>
460
461         * gtk/gtkmenuitem.c: Made buildable and added support for adding
462         children of type "submenu"
463
464         * gtk/gtkwindow.c: Added support for custom tag "accel-groups" to
465         add GtkAccelGroups to the window.
466
467         * gtk/gtkcontainer.c: Added builder contextual warnings in
468         buildable_add_child()
469
470         * gtk/tests/builder.c: Added tests for buildable menus (test that
471         accelerators are properly connected on stock items, test the menu
472         hierarchy, test permission to add alien/custom menuitem children).
473
474         * docs/reference/gtk/tmpl/gtkbuilder.sgml
475         * docs/reference/gtk/tmpl/gtkwindow.sgml
476         * docs/reference/gtk/tmpl/gtkmenuitem.sgml: Updated docs for
477         buildable submenus and accel groups.
478
479 2008-11-06  Tristan Van Berkom <tvb@gnome.org>
480
481         * gtk/gtkmenuitem.[ch]: added new apis
482         gtk_menu_item_[set/get]_label() and
483         gtk_menu_item_[set/get]_use_underline() with "label" and
484         "use-underline" properties, constructors cleaned up to use
485         g_object_new().  GtkMenuItemClass take new vfuncs
486         ->get/set_label().
487
488         * gtk/gtkcheckmenuitem.c: constructors cleaned up to use
489         g_object_new().
490
491         * gtk/gtkimagemenuitem.[ch]: added new apis
492         gtk_image_menu_item_[get/set]_use_stock() and
493         gtk_image_menu_item_set_accel_group() with "use-stock" and
494         write-only "accel-group" properties. constructors cleaned up to
495         use g_object_new().
496
497 2008-11-06  Tristan Van Berkom <tvb@gnome.org>
498
499         * gtk/gtkbuilder.h: Fixed a crasher in
500         GTK_BUILDER_WARN_INVALID_CHILD_TYPE()
501
502 2008-11-06  Tristan Van Berkom <tvb@gnome.org>
503
504         * gtk/gtklabel.c: gtk_label_set_attributes() now applies attributes
505         on top of any markup or mnemonic attributes (bug 558409).
506
507         * README: Updated and added release notes for 2.16
508
509 2008-11-06  Richard Hult  <richard@imendio.com>
510
511         Bug 558586 – handling of keyboard under darwin (quartz)
512
513         * gdk/quartz/gdkkeys-quartz.c: (maybe_update_keymap): Patch from
514         Arnaud Charlet to replace use of deprecated keyboard layout API
515         with the new TIS API available in 10.5. The old code is still used
516         when building for 10.4.
517
518 2008-11-05  Richard Hult  <richard@imendio.com>
519
520         * gdk/quartz/gdkevents-quartz.c:
521         (get_keyboard_modifiers_from_ns_event), (create_key_event): Revert
522         (at least for now) the alt/cmd switching since it breaks the
523         "alt-gr" functionality of alt which makes it impossible to input
524         lots of characters.
525
526 2008-11-05  Christian Dywan  <christian@imendio.com>
527
528         Bug 559404 – gtk_editable_insert_text counts length in bytes
529
530         * gtk/gtkeditable.c:
531         Document new_text_length as the number of bytes
532
533 2008-11-05  Richard Hult  <richard@imendio.com>
534
535         * gdk/quartz/gdkwindow-quartz.c:
536         (gdk_window_impl_quartz_begin_paint_region): Set the fill color
537         outside the loop.
538
539 2008-11-05  Richard Hult  <richard@imendio.com>
540
541         * gtk/gtkstatusicon.c: (gtk_status_icon_set_has_tooltip),
542         (gtk_status_icon_get_tooltip_markup): Fix build for win32 and
543         quartz.
544
545 2008-11-04  Tor Lillqvist  <tml@novell.com>
546
547         Bug 557212 - Problem with which window gains focus and is visible
548
549         * gdk/win32/gdkevents-win32.c (ensure_stacking_on_activate_app):
550         Only do the restacking for the active window of the
551         application. Seems to fix the problem.
552
553         (gdk_event_translate): Only call ensure_stacking_on_activate_app()
554         when the application is being activated, not deactivated.
555
556 2008-11-03  Matthias Clasen  <mclasen@redhat.com>
557
558         * gtk/gtk.symbols:
559         * gtk/gtkstatusicon.[hc]: Add new tooltip api.
560
561 2008-11-03  Christian Persch  <chpe@gnome.org>
562
563         Bug 558001 – gtk_icon_view_enable_model_drag_[source|dest] problem
564
565         * gtk/gtkiconview.c: Make gtk_drag_*_add_*_targets() usable with
566         GtkIconView.
567
568 2008-11-02  Matthias Clasen  <mclasen@redhat.com>
569
570         Bug 558929 – gtkstatusicon.c: 'event' is a member of the structure
571
572         * gtk/gtkstatusicon.c: Fix the build.
573
574 2008-11-02  Matthias Clasen  <mclasen@redhat.com>
575
576         * gtk/gtkimagemenuitem.c: Make it possible to overrule the
577         gtk-menu-images setting.
578
579         * gtk/gtkaction.c (connect_proxy): Show the image before adding
580         it to the image menu item.
581
582 2008-11-01  Tor Lillqvist  <tml@novell.com>
583
584         Bug 558278 - Crash when calling a callback set by
585         gdk_add_client_message_filter()
586
587         * gdk/win32/gdkevents-win32.c (apply_event_filters): Rename from
588         apply_filters() so that it is clear that this function is for
589         GdkEventFilters only.
590
591         (print_event): Print more information for GDK_CLIENT_EVENT events.
592
593         (gdk_event_translate): When handling client filters, don't use
594         apply_event_filters(). Use similar code as in the X11 backend,
595         although not exactly, as the parameter list and return value
596         semantics of gdk_event_translate() is different.
597
598         * tests/testclientmessage.c: New interactive test program to
599         verify client message functionality.
600
601         * tests/Makefile.am: Add it.
602
603 2008-11-01  Matthias Clasen  <mclasen@redhat.com>
604
605         Bug 409435 – GtkStatusIcon enhancements: DnD, scroll events, 
606         middle click, rich tooltips
607
608         * gtk/gtkstatusicon.[hc]: Add support for button press/release and
609         scroll events. Patch by Ed Catmur
610
611 2008-11-01  Matthias Clasen  <mclasen@redhat.com>
612
613         Bug 322934 – Replace menu's proxy icons with empty space hiding icons
614
615         * gtk/gtkmenu.c (gtk_menu_size_request): Use consistent padding
616         regardless of imagees or checks being in the menu. Also add
617         padding on the right edge.
618         Proposal by Luca Ferretti, patch by Jon McCann
619
620 2008-11-01  Matthias Clasen  <mclasen@redhat.com>
621
622         Bug 412134 – Add API to query style properties from the style
623
624         * gtk/gtk.symbols:
625         * gtk/gtkstyle.[hc]: Add getters for style properties to
626         avoid the need for ugly workarounds with dummy widget instances.
627         Patch by Mariano Suárez-Alvarez
628
629 2008-10-31  Christian Dywan  <christian@imendio.com>
630
631         Bug 558667 – gtk_font_selection_dialog_get_apply_button - deprecate?
632
633         * gtk/gtk.symbols:
634         * gtk/gtkfontsel.c:
635         * gtk/gtkfontsel.h:
636         Deprecate gtk_font_selection_dialog_get_apply_button
637
638 2008-10-31  Matthias Clasen  <mclasen@redhat.com>
639
640         Bug 558323 – glitches when popping up combos in treeviews
641
642         * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_set_property):
643         Don't set the model property on the combo box, since that leads
644         to loops.
645
646 2008-10-31  Christian Dywan  <christian@imendio.com>
647
648         Bug 347230 – testicontheme shortcomings
649
650         * tests/testicontheme.c (main):
651         Use theme for "display" and quit on window closing
652
653 2008-10-30  Matthias Clasen  <mclasen@redhat.com>
654
655         Bug 558522 – scroll arrow painted insensitive even though there
656         are pages beyond the edge
657
658         * gtk/gtknotebook.c (gtk_notebook_real_insert_page): Redraw
659         arrows. Pointed out by Christian Persch
660
661 2008-10-30  Michael Natterer  <mitch@imendio.com>
662
663         * gtk/gtkcellrenderertext.h
664         * gtk/gtkentry.[ch]
665         * gtk/gtkimcontext.h
666         * gtk/gtklabel.c
667         * gtk/gtkstyle.h: <pango/pango.h> is pulled in by <gdk/gdk.h>,
668         remove its inclusion here.
669
670 2008-10-30  Michael Natterer  <mitch@imendio.com>
671
672         * gtk/*.h: no need to include <gtk/gtkenums.h> in headers which
673         somehow include gtkobject.h or another header which includes it.
674
675 2008-10-30  Marek Kasik  <mkasik@redhat.com>
676
677         Bug 339714 - Set printer dpi on cairo ps/pdf surfaces when printing
678
679         * gtk/gtk.symbols
680         * gtk/gtkprintsettings.c
681         * gtk/gtkprintsettings.h
682         * docs/reference/gtk/gtk-sections.txt
683         * modules/printbackends/file/gtkprintbackendfile.c
684         * modules/printbackends/test/gtkprintbackendtest.c
685         * modules/printbackends/cups/gtkprintbackendcups.c
686         * modules/printbackends/lpr/gtkprintbackendlpr.c:
687         Added lpi (lines per inch) setting to GtkPrintSettings and support
688         for anamorphic dpi. Surface fallback resolution is set to 2*lpi.
689
690 2008-10-30  Michael Natterer  <mitch@imendio.com>
691
692         * gtk/*.h: no need to include <gdk/gdk.h> in any widget header,
693         it's included via gtkwidget.h anyway.
694
695 2008-10-30  Sven Neumann  <sven@gimp.org>
696
697         * gtk/gtkwidget.c (gtk_widget_get_property): removed redundant
698         conditional.
699
700 2008-10-30  Christian Dywan  <christian@imendio.com>
701
702         Bug 557316 – GtkLinkButton should consider user-defined tooltip
703
704         * gtk/gtklinkbutton.c (gtk_link_button_query_tooltip_cb):
705         Only override the tooltip if not previously set
706
707 2008-10-29  Christian Dywan  <christian@imendio.com>
708
709         Bug 557762 – Misleading error message in GDK DirectFB
710
711         * gdk/directfb/gdkdisplay-directfb.c (gdk_display_open):
712         Correctly say GetInputDevice instead of GetDisplayLayer
713
714 2008-10-29  Christian Dywan  <christian@imendio.com>
715
716         Bug 558397 – gtk_widget_error_bell undefined without a screen
717
718         * gtk/gtkwidget.c (gtk_widget_error_bell): Test the settings
719         instance and return silently if unset
720
721 2008-10-28  Michael Natterer  <mitch@imendio.com>
722
723         * gdk/keyname-table.h: fix small typo.
724
725 2008-10-27  Richard Hult  <richard@imendio.com>
726
727         Bug 557894 – Wrong return value for
728         gdk_pointer_grab_info_libgtk_only()
729
730         * gdk/quartz/gdkevents-quartz.c:
731         (gdk_pointer_grab_info_libgtk_only): Return TRUE when there is a
732         pointer grab. Patch by Owen Taylor.
733
734 2008-10-26  Matthias Clasen  <mclasen@redhat.com>
735
736         * gtk/gtktoolshell.c:
737         * gtk/gtktoolitem.c: Remove markup from short descriptions.
738
739 2008-10-26  Matthias Clasen  <mclasen@redhat.com>
740
741         * gdk/keyname-table.h:
742         * gtk/gen-paper-names.c:
743         * gtk/paper_names_offsets.c:
744         * gtk/gtkpapersize.c:
745         * gtk/gtkaccellabel.c:
746         * gtk/gtkprintoperation.c:
747         * gtk/gtkstock.c: More conversion to C_().
748
749 2008-10-26  Matthias Clasen  <mclasen@redhat.com>
750
751         * gtk/gtkaccellabel.c:
752         * gtk/gtkcalendar.c:
753         * gtk/gtkcellrendereraccel.c:
754         * gtk/gtkcellrendererprogress.c:
755         * gtk/gtkimmulticontext.c:
756         * gtk/gtkrecentchoosermenu.c:
757         * gtk/gtkvolumebutton.c: Use C_() instead of Q_(). String change!
758
759 2008-10-26  Christian Persch  <chpe@gnome.org>
760
761         Bug 557065 – gtkcellrendererpixbuf spams console over and over with
762         'could not load image' warnings
763
764         * gtk/gtkcellrendererpixbuf.c:
765         (gtk_cell_renderer_pixbuf_create_themed_pixbuf): Remove noisy
766         g_warning.
767
768 2008-10-26  Philip Withnall  <philip@tecnocode.co.uk>
769
770         Bug 530454 – Clarify page_nr when printing
771
772         * gtk/gtkprintoperation.c (gtk_print_operation_class_init): Point out
773         that page_nr is 0-based in the documentation.
774
775 2008-10-25  Matthias Clasen  <mclasen@redhat.com>
776         
777         Bug 557315 – stale clipboard target cache
778
779         * gtk/gtkclipboard.c (gtk_clipboard_set_contents): Remove cached
780         targets. Pointed out by Evan Stade
781
782 2008-10-24  Tristan Van Berkom  <tvb@gnome.org>
783
784         * gtk/gtkwidget.c: Added a note about GtkWidget:has-tooltip in
785         the docs for GtkWidget::query-tooltip.
786
787 2008-10-24  Matthias Clasen  <mclasen@redhat.com>
788
789         * gtk/gtkmountoperation.c: The "screen" property ought to have
790         type GdkScreen, not GtkWindow. Found by Cosimo Cecchi
791
792 2008-10-24  Matthias Clasen  <mclasen@redhat.com>
793
794         Bug 556954 – gtk+/gtk/gtkrecentchooserdefault.c: mismatching
795         allocation and deallocation
796
797         * gtk/gtkrecentchooserdefault.c (remove_selected_from_list): Don't
798         free a strdup'ed string by g_free. Pointed out by Daniel Marjamäki
799
800 2008-10-24  Matthias Clasen  <mclasen@redhat.com>
801
802         Bug 556835 – gtkentry.c: variable is declared at middle of block
803
804         * gtk/gtkentry.c (gtk_entry_copy_clipboard): Fix a C99ism pointed
805         out by Kazuki Iwamoto
806
807 2008-10-24  Matthias Clasen  <mclasen@redhat.com>
808
809         Bug 557524 – "va_end(args);" should be added into
810         gtk_text_buffer_insert_with_tags_by_name( )
811
812         * gtk/gtktextbuffer.c (gtk_text_buffer_insert_with_tags_by_name):
813         Don't forget to call va_end. Pointed out by Boram Park
814
815 2008-10-23  Alexander Larsson  <alexl@redhat.com>
816
817         Bug 528320 - Incorrect icons displayed for files with custom
818         mimetype icons
819         
820         * gtk/gtkfilesystem.c:
821         (_gtk_file_info_render_icon):
822         Fall back on default file icon if there was no icon or it
823         was not found in the theme. This goes with the corresponding
824         change in glib to not add the fallback icon, but is useful
825         in other cases too.
826
827 2008-10-22  Behdad Esfahbod  <behdad@gnome.org>
828
829         Bug 555920 – gtkentry.c passes wrong enum to
830         pango_layout_set_alignment()
831
832         * gtk/gtkentry.c (gtk_entry_create_layout): Don't set layout
833         adjustment.
834
835 2008-10-22  Matthias Clasen  <mclasen@redhat.com>
836
837         * gdk/x11/gdkscreen-x11.c: Only emit size-changed if the screen
838         size actually changed.
839
840 2008-10-21  Michael Natterer  <mitch@imendio.com>
841
842         * gdk/gdkdraw.c
843         * gdk/gdkimage.c
844         * gdk/gdkscreen.c
845         * gdk/gdkwindow.c: replace assertions for obj != NULL by
846         GDK_IS_OBJ(), remove redundant != NULL checks when there is
847         already a type check, add some g_return_if_fail() that were
848         missing entirely, fix some broken indentation and spacing.
849
850 2008-10-21  Tor Lillqvist  <tml@novell.com>
851
852         Bug 557266 - Window Management Problem
853
854         Also reported in mail to gtk-list, and of course it has been well
855         known in general that window state management is messy and buggy
856         in various ways in gdk/win32.
857
858         * gdk/win32/gdkwindow-win32.c (show_window_internal): Correct
859         handling of GDK_WINDOW_STATE_ABOVE windows. It doesn't work to set
860         the WS_EX_TOPMOST extended style bit using SetWindowLong(). We
861         must call SetWindowPos() on the window using HWND_TOPMOST
862         instead. The description for WS_EX_TOPMOST in the documentation
863         for CreateWindowEx() even implies that if you read it carefully.
864
865 2008-10-21  Michael Natterer  <mitch@imendio.com>
866
867         * gdk/gdkapplaunchcontext.c: reorder functions to be in standard
868         order, add prototypes and namespace to static functions, add
869         g_return_if_fail()s which were missing all over the place.
870
871 2008-10-20  Christian Persch  <chpe@gnome.org>
872
873         Bug 557059 – crash when compositing emblems with icon
874
875         * gtk/gtkicontheme.c: (apply_emblems): Copy the pixbuf before using it
876         with gtk_pixbuf_composite, in case its pixdata is read-only (mmaped
877         from icon cache or builtins).
878
879 2008-10-20  Murray Cumming  <murrayc@murrayc.com>
880
881         * gtk/gtkiconview.c: gtk_icon_view_set_tooltip_row(), 
882         gtk_icon_view_set_tooltip_item():
883         * gtk/gtktreeview.c: gtk_icon_view_set_tooltip_row(), 
884         gtk_icon_view_set_tooltip_cell():
885         Documentation: Mention the simple set_tooltip_column() 
886         alternative.
887
888 2008-10-18  Tor Lillqvist  <tml@novell.com>
889
890         * gdk/win32/gdkevents-win32.c (gdk_event_translate): On
891         WM_WINDOWPOSCHANGING, don't dereference windowpos in the debugging
892         output without setting it first.
893
894 2008-10-18  Tor Lillqvist  <tml@novell.com>
895
896         Bug 556578 - GIMP windows stay on top of other windows
897
898         * gdk/win32/gdkevents-win32.c (ensure_stacking_on_unminimize)
899         (ensure_stacking_on_window_pos_changing)
900         (ensure_stacking_on_activate_app): Ignore unmapped windows in the
901         loops where we look for the lowest "transient-type" window.
902
903         (gdk_event_translate): Don't call
904         ensure_stacking_on_window_pos_changing() or
905         ensure_stacking_on_activate_app() for unmapped windows.
906
907 2008-10-16  Marek Kasik  <mkasik@redhat.com>
908
909         Bug 556527 - The current page property is not passed to
910         GtkPrintUnixDialog
911
912         * gtk/gtkprintoperation-unix.c: pass current-page property
913         to GtkPrintUnixDialog
914
915 2008-10-15  Michael Natterer  <mitch@imendio.com>
916
917         * gdk/gdkapplaunchcontext.h (GDK_IS_APP_LAUNCH_CONTEXT): fix typo
918         in the type name so the macro becomes usable.
919
920 2008-10-14  Christian Dywan  <christian@imendio.com>
921
922         556150 – gtk 'object' property test fixing
923
924         * gtk/tests/object.c (list_ignore_properties):
925         Remove some recently fixed properties from the exception list
926
927 2008-10-13  Matthias Clasen  <mclasen@redhat.com>
928
929         Bug 555779 – GtkCellRendererPixbuf crashed on failed GIcon lookup
930
931         * gtk/gtkcellrendererpixbuf
932         (gtk_cell_renderer_pixbuf_create_themed_pixbuf): Don't crash
933         if a GIcon is not present in the current theme. Patch by 
934         Alex Larsson.
935
936 2008-10-13  Matthias Clasen  <mclasen@redhat.com>
937
938         Bug 552318 – menubar mnemonics consumed even when
939         gtk-enable-mnemonics=false
940
941         * gtk/gtkwindow.c (gtk_window_activate_key): Don't let mnemonic
942         entries block accelerator activation when gtk-enable-mnemonics is
943         FALSE. Problem reported by Andreas Moog.
944
945 2008-10-13  Cody Russell <cody@jhu.edu>
946
947         * test/testfilechooser.c: Fix option parsing so that -a and
948         --action work correctly.
949
950 2008-10-13  Christian Persch <chpe@gnome.org>
951
952         Bug 555386 – format not a string literal and no format arguments
953
954         * gtk/gtkiconfactory.c
955         * gtk/gtkprintbackend.c
956         * gtk/gtkprintoperation.c
957         * gtk/gtkthemes.c
958         * gtk/tests/builder.c
959         * modules/other/gail/gailtextview.c
960         * tests/testmerge.c: Use printf safely.
961
962 2008-10-13  Christian Persch <chpe@gnome.org>
963
964         Bug 555724 – gtkcellrendereraccel not initialised correctly
965
966         * gtk/gtkcellrendereraccel.c: Initialise the cell text.
967
968 2008-10-12  Simos Xenitellis  <simos@gnome.org>
969
970         Bug 555625 – Updated gtk_compose_seqs_compact table 
971         (gtkimcontextsimpleseqs.h)
972         
973         * gtk/gtkimcontextsimpleseqs.c: Updated the compose sequence table.
974         In this update we removed a further set of compose sequences that
975         are otherwise covered by check_algorithmically(). 
976
977         * gtk/gtkimcontextsimple.c: Updated table value that shows how many 
978         distinct first values exist in the compose sequences. 
979         Change from 22 to 20.
980         
981 2008-10-11  Matthias Clasen  <mclasen@redhat.com>
982
983         * gtk/gtktoolbar.c: Revert the GtkSettings::gtk-toolbar-icon-size
984         part of the previous change, since it doesn't work correctly without
985         extra complication, and using custom icon sizes doesn't make too
986         much sense in a desktop-wide setting.
987
988 2008-10-11  Matthias Clasen  <mclasen@redhat.com>
989
990         Bug 555186 – Setting gtk-toolbar-icon-size with custom icon_size
991
992         * gtk/gtktoolbar.c: Turn GtkToolbar::icon-size and
993         GtkSettings::gtk-toolbar-icon-size into int properties, to
994         allow the use of app-registered icon sizes.
995
996 2008-10-11  Christian Dywan  <christian@imendio.com>
997
998         Bug 555676 – gtk_widget_real_grab_focus assumes toplevel == window
999
1000         * gtk/gtkwidget.c (gtk_widget_real_grab_focus):
1001         Actually test for GTK_IS_WINDOW *and* GTK_WIDGET_TOPLEVEL
1002
1003 2008-10-10  Behdad Esfahbod  <behdad@gnome.org>
1004
1005         Bug 551355 – [PATCH] Make glib build with libtool 2.2
1006
1007         * autogen.sh: Accept libtool 2.2.   We are moving towards having
1008         it working.
1009
1010 2008-10-10  Richard Hult  <richard@imendio.com>
1011
1012         * gdk/quartz/gdkkeys-quartz.c: (gdk_keymap_get_caps_lock_state)
1013         Add empty stub to fix linking.
1014
1015 2008-10-10  Simos Xenitellis  <simos@gnome.org>
1016
1017         Bug 555000 – Wrong treatment on non-spacing marks dead keys in 
1018         GtkIMContextSimple
1019
1020         * gtk/gtkimcontextsimple.c: Change IS_DEAD_KEY() macro so that
1021         it only checks if input is a deadkey keysym.
1022
1023 2008-10-09  Christian Dywan  <christian@imendio.com>
1024
1025         Bug 555676 – gtk_widget_real_grab_focus assumes toplevel == window
1026
1027         * gtk/gtkwidget.c (gtk_widget_real_grab_focus):
1028         Test for GTK_IS_WINDOW instead of GTK_WIDGET_TOPLEVEL
1029
1030 2008-10-09  Christian Dywan  <christian@imendio.com>
1031
1032         Bug 555573 – gtk_font_selection_set_font_name
1033         shouldn't require a screen
1034
1035         * gtk/gtkfontsel.c (gtk_font_selection_set_font_name):
1036         Don't warn if there is no screen, just return FALSE
1037
1038 2008-10-09  Christian Dywan  <christian@imendio.com>
1039
1040         Bug 555523 – gtk_scale_button_set_adjustment should accept NULL
1041
1042         * gtk/gtkscalebutton.c (gtk_scale_button_set_adjustment):
1043         Create a new adjustment if NULL is passed, like other widgets
1044
1045 2008-10-09  Christian Dywan  <christian@imendio.com>
1046
1047         Bug 555578 – GtkTable propertiy maxima are wrong
1048
1049         * gtk/gtktable.c (gtk_table_class_init), (gtk_table_resize):
1050         Always use 65535 instead of G_MAXUINT since that is
1051         the actually supported maximum number of columns and rows
1052
1053 2008-10-09  Richard Hult  <richard@imendio.com>
1054
1055         Bug 550342 – Splash screens have a caption
1056
1057         * gdk/quartz/gdkwindow-quartz.c: (_gdk_window_new),
1058         (gdk_window_set_decorations): Patch from Marianne Gagnon to make
1059         splash windows borderless.
1060
1061 2008-10-09  Michael Natterer  <mitch@imendio.com>
1062
1063         Bug 516425 – Optionally display accelerators in popups
1064
1065         * gtk/gtkuimanager.h (enum GtkUIManagerItemType): add value
1066         GTK_UI_MANAGER_POPUP_WITH_ACCELS which works like _POPUP but
1067         shows the actions' accelerators.
1068
1069         * gtk/gtkuimanager.c: honor the new enum value for programmatically
1070         created UIs, and support <popup accelerators="true"> in the XML
1071         for the same purpose.
1072
1073 2008-10-09  Simos Xenitellis  <simos@gnome.org>
1074
1075         Bug 554192 – double press on the "circumflex" dead key 
1076         (standard french 105 keyboard) no longer produces the "^" character
1077
1078         * gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress):
1079         Changed the order, put check_compact_table() first, then 
1080         check_algorithmically().
1081
1082 2008-10-08  Christian Persch  <chpe@gnome.org>
1083
1084         Bug 554702 – gtkfilesystem leaks GError
1085
1086         * gtk/gtkfilesystem.c (_gtk_file_system_init): Free the GError.
1087
1088 2008-10-08  Matthias Clasen  <mclasen@redhat.com>
1089
1090         * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
1091         Don't forget to reset reload_state when current_folder is already
1092         correct. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=465992
1093
1094 2008-10-08  Christian Dywan  <christian@imendio.com>
1095
1096         Bug 555270 – Allow unsetting a MessageDialog's image
1097
1098         * gtk/gtkmessagedialog.c (gtk_message_dialog_set_property),
1099         Remove a superfluous cast to GtkWidget*
1100         (gtk_message_dialog_set_image): Accept NULL for the image
1101         and unset the image in that case.
1102
1103 2008-10-08  Christian Dywan  <christian@imendio.com>
1104
1105         Bug 436533 – Allow more space efficient scroll arrows placement
1106
1107         * gtk/gtkenums.h: Add GtkArrowPlacement
1108         * gtk/gtkmenu.c (gtk_menu_class_init), (get_arrows_border),
1109         (get_arrows_visible_area), (get_double_arrows),
1110         (get_arrows_sensitive_area): Implement GtkMenu::arrow-placement
1111         to allow scrolling arrows to be placed at the start, end or both
1112         Patch by Tommi Komulainen and myself
1113
1114 2008-10-08  Christian Dywan  <christian@imendio.com>
1115
1116         Bug 555387 – Changing the sensitivity of a statusbar
1117         mistakenly requires a display
1118
1119         * gtk/gtkstatusbar.c (set_grip_cursor): Only change the cursor
1120         of the resize grip if there is a grip window.
1121
1122 2008-10-06  Matthias Clasen  <mclasen@redhat.com>
1123
1124         * gtk/gtktooltip.c (gtk_tooltip_show_tooltip): Avoid unitialized
1125         memory warnings from valgrind.
1126
1127 2008-10-07 11:03:30  Tim Janik  <timj@imendio.com>
1128
1129         * gtk/gtkbox.h: keep GtkBox as an abstract type and keep _gtk_box_new()
1130         as private function until we settle on the exact semantics.
1131         renamed _gtk_box_set_old_defaults() as suggested by Mitch.
1132
1133 2008-10-07  Michael Natterer  <mitch@imendio.com>
1134
1135         * gtk/gtkbox.c: reindent static prototypes.
1136
1137 2008-10-07  Michael Natterer  <mitch@imendio.com>
1138
1139         Bug 553573 – Add orientation API to GtkBox
1140
1141         * gtk/gtkbox.[hh]: implement the GtkOrientable interface and
1142         swallow all code from GtkHBox and GtkVBox. Add gtk_box_new()
1143         which takes a GtkOrientation argument. Also move the newly
1144         added "spacing_set" boolean from struct GtkBox to the new
1145         private struct.
1146
1147         * gtk/gtkhbox.[ch]
1148         * gtk/gtkvbox.[ch]: remove all code except the constructor and
1149         call gtk_orientable_set_orientation() in init().
1150
1151         * gtk/gtk.symbols: add gtk_box_new().
1152
1153 2008-10-06  Björn Lindqvist  <bjourne@gmail.com>
1154
1155         Bug 539464 – gtk_cell_view_get_model is missing in GtkCellView
1156
1157         * gtk/gtkcellview.c (gtk_cell_view_get_model): Add
1158         gtk_cell_view_get_model.
1159
1160 2008-10-06  Matthias Clasen  <mclasen@redhat.com>
1161
1162         * gtk/gtkprintunixdialog.c (create_main_page): Show the tooltip
1163         on the range entry itself, too.
1164
1165 2008-10-04  Tor Lillqvist  <tml@novell.com>
1166
1167         Bug 132501 - Make utility window translate to tool window in win32
1168
1169         Implement the utility window type hint. Such windows are kept on
1170         top of other windows of the same process. Makes GIMP's toolbox and
1171         dock windows behave more like in GNOME under metacity. Apply the
1172         same logic also to windows marked with the dialog window type
1173         hint, and windows that are transient for some other window. I'll
1174         call such windows "transient-type" below.
1175
1176         * gdk/win32/gdkevents-win32.c (doesnt_want_key): Drop unused
1177         variables.
1178
1179         (ensure_stacking_on_unminimize)
1180         (ensure_stacking_on_window_pos_changing)
1181         (ensure_stacking_on_activate_app): New functions to implement the
1182         desired stacking order. Make sure that a window that is not
1183         transient-type stays below any transient-type windows of the
1184         application. When activating a non-transient-type window make sure
1185         it rises as high as possible while still staying below the lowest
1186         transient-type window.
1187
1188         (gdk_event_translate): Call above functions on
1189         WM_WINDOWPOSCHANGING, WM_ACTIVATEAPP and on WM_SIZE when
1190         unminimizing. Improve debugging printout.
1191
1192         * gdk/win32/gdkwindow-win32.c (get_effective_window_decorations):
1193         Handle utility windows like toolbar windows.
1194
1195         (gdk_window_new_internal) (update_style_bits): Give utility
1196         windows the WS_EX_TOOLWINDOW extended style.
1197
1198         (gdk_window_set_title): If debugging "misc" or "events", make the
1199         handle of top-level windows show up in their title bars. Very
1200         useful when looking at debugging output.
1201
1202         (gdk_window_set_transient_for) (gdk_window_set_keep_above)
1203         (gdk_window_set_keep_below) (gdk_window_set_modal_hint)
1204         (gdk_window_set_skip_taskbar_hint)
1205         (gdk_window_set_skip_pager_hint): Add and improve debugging
1206         printout.
1207
1208         (gdk_window_set_type_hint): Print hint symbolically in GDK_NOTE().
1209
1210 2008-10-04  Tor Lillqvist  <tml@novell.com>
1211
1212         * gdk/win32/gdkmain-win32.c (_gdk_win32_window_exstyle_to_string)
1213         (_gdk_win32_window_pos_bits_to_string): New debugging printout
1214         functions. Decode the WS_EX_* and SWP_* bits.
1215
1216         * gdk/win32/gdkprivate-win32.h: Declare them. Define
1217         GDK_DEBUG_MISC_OR_EVENTS for use in GDK_NOTE() to match either
1218         "misc" or "events".
1219
1220 2008-10-03  Matthias Clasen <mclasen@redhat.com>
1221
1222         * gtk/gtkmodules.c (_gtk_modules_settings_changed): Add some
1223         debug output.
1224
1225 2008-10-02  Matthias Clasen <mclasen@redhat.com>
1226
1227         Bug 96431 – Can't cut and paste / DND within invisible entry
1228
1229         * gtk/gtkentry.c: Disable cut, copy and drag out of an invisible
1230         entry. Proposed by Owen Taylor
1231
1232 2008-10-02  Matthias Clasen <mclasen@redhat.com>
1233
1234         Bug 530575 – GtkEntry with invisible chars has a confused cursor in
1235         overwrite mode
1236
1237         * gtk/gtkentry.c (gtk_entry_draw_cursor): Use the visible text
1238         in the layout when positioning the cursor, not the actual text
1239         content of the entry. This makes a different when using overwrite
1240         mode in an invisible entry. 
1241         Problem noticed by Jonathan Blandford
1242
1243         * gtk/gtktextutil.c: Fix a typo in a comment
1244
1245 2008-10-02  Christian Persch
1246
1247         Bug 554704 – gtkfilesystemmodel does too much work
1248
1249         * gtk/gtkfilesystemmodel.c: Replace g_slist_length()<1 check with a
1250         simple NULL check.
1251
1252 2008-10-02  Christian Persch
1253
1254         Bug 554701 – filechooser spams console with useless warnings
1255
1256         * gtk/gtkfilesystem.c.c: Don't warn if the async call was simply
1257         cancelled.
1258
1259 2008-10-02  Christian Persch
1260
1261         Bug 554698 – mem leak in filechooser
1262
1263         * gtk/gtkfilechooserdefault.c: Plug a mem leak.
1264
1265 2008-10-02  Christian Persch
1266
1267         Bug 554696 – invalid free function used
1268
1269         * gtk/gtkfilesystemmodel.c: Use the right free func.
1270
1271 2008-10-02  Christian Persch
1272
1273         Bug 554691 – mem leak in filechooser
1274
1275         * gtk/gtkfilesystemmodel.c: Plug a mem leak.
1276
1277 2008-10-02  Christian Persch
1278
1279         Bug 554690 – mem leak in filechooser
1280
1281         * gtk/gtkfilechooserdefault.c: Plug a mem leak.
1282
1283 2008-10-02  Michael Natterer  <mitch@imendio.com>
1284
1285         Bug 553585 – Add orientation API to GtkRuler
1286
1287         * gtk/gtkruler.[ch]: implement the GtkOrientable interface and
1288         swallow all code from GtkHRuler and GtkVRuler. Add gtk_ruler_new()
1289         which takes a GtkOrientation argument.
1290
1291         * gtk/gtkhruler.c
1292         * gtk/gtkvruler.c: remove all code except the constructor and
1293         call gtk_orientable_set_orientation() in init().
1294
1295         * gtk/gtk.symbols: add gtk_ruler_new().
1296
1297 2008-10-01  Torsten Schoenfeld  <kaffeetisch@gmx.de>
1298
1299         * docs/reference/gtk/gtk-sections.txt:
1300         * gtk/gtk.symbols:
1301         * gtk/gtkselection.c:
1302         * gtk/gtkselection.h: Add gtk_selection_data_get_selection to
1303         retrieve the sealed struct field GtkSelectionData.selection.
1304
1305 2008-10-01  Tor Lillqvist  <tml@novell.com>
1306
1307         * gtk/gtkscalebutton.c: Don't #define _GNU_SOURCE on Windows as it
1308         confuses newest mingw headers.
1309
1310 2008-10-01  Tor Lillqvist  <tml@novell.com>
1311
1312         * gdk/win32/gdkkeys-win32.c (gdk_keymap_get_caps_lock_state):
1313         Implement trivially on Windows. Not sure if something more complex
1314         is actually needed, more specifically whether the function needs
1315         to differentiate between "Caps Lock" and "Shift Lock" semantics?
1316
1317 2008-10-01  Simos Xenitellis  <simos@gnome.org>
1318
1319         Bug 554506 – combining diacritics broken, became deadkeys
1320
1321         * gtk/gtkimcontextsimple.c: added check if keysym is greater
1322         than 0x1000000, in this case it is not a dead key.
1323
1324 2008-09-30  Michael Natterer  <mitch@imendio.com>
1325
1326         Bug 553582 – Add orientation API to GtkSeparator
1327
1328         * gtk/gtkseparator.[ch]: implement the GtkOrientable interface and
1329         swallow all code from GtkHSeparator and GtkVSeparator. Add
1330         gtk_separator_new() which takes a GtkOrientation argument.
1331
1332         * gtk/gtkhseparator.c
1333         * gtk/gtkvseparator.c: remove all code except the constructor and
1334         call gtk_orientable_set_orientation() in init().
1335
1336         * gtk/gtk.symbols: add gtk_separator_new().
1337
1338 2008-09-30  Marek Kasik  <mkasik@redhat.com>
1339
1340         Bug 344522 – support non-local destination files (GtkPrint):
1341
1342         * gtk/gtkprintunixdialog.c
1343         * gtk/gtkprinteroptionwidget.c: Process URI instead of filename.
1344         * modules/printbackends/file/gtkprintbackendfile.c: Add ability
1345         to save files on non-local filesystems.
1346
1347 2008-09-30  Michael Natterer  <mitch@imendio.com>
1348
1349         * gtk/gtk.symbols: forgot the G_GNUC_CONST of
1350         gtk_orientable_get_type().
1351
1352 2008-09-30  Michael Natterer  <mitch@imendio.com>
1353
1354         Bug 541009 – Get rid of separate subclasses for horizontal and
1355         vertical orientation:
1356
1357         * gtk/Makefile.am
1358         * gtk/gtk.symbols
1359         * gtk/gtk.h
1360         * gtk/gtkorientable.[ch]: add new interface GtkOrientable which
1361         will be implemented by everything that can switch orientation.
1362
1363 2008-09-30  Christian Dywan  <christian@imendio.com>
1364
1365         Fix a typo in the tutorial.
1366
1367         * docs/tutorial/gtk-tut.sgml: It's mnemonic, not 'mnemnonic'.
1368
1369 2008-09-29  Matthias Clasen  <mclasen@redhat.com>
1370
1371         Bug 553086 – hard to see current immodule
1372
1373         * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems):
1374         Display the actually selected context in the system menuitem.
1375         Complaint by Akira Tagoh.
1376
1377 2008-09-29  Matthias Clasen  <mclasen@redhat.com>
1378
1379         Bug 530568 – Entries with visibility=FALSE should warn for caps-lock
1380         on
1381
1382         * gtk/gtkentry.c: Add a tooltip-like Caps Lock warning for
1383         password entries. The warning is also triggered if an input method
1384         is active. The warning can be turned off using the
1385         GtkEntry::caps-lock-warning property. 
1386         Proposed by Owen Taylor
1387
1388 2008-09-29  Matthias Clasen  <mclasen@redhat.com>
1389
1390         * gtk/gtk.symbols:
1391         * gtk/gtkimmulticontext.[hc] (gtk_im_multicontext_get_context_id): 
1392         Add a getter for the the sealed context_id field.
1393
1394 2008-09-29  Matthias Clasen  <mclasen@redhat.com>
1395
1396         Bug 107000 – Add signals to GdkKeymap for monitoring caps_lock, etc.
1397
1398         * gdk/gdk.symbols:
1399         * gdk/gdkkeys.[ch]: Add a new GdkKeymap::state-changed signal, and
1400         a gdk_keymap_get_caps_lock_state function.
1401
1402         * gdk/x11/gdkkeys-x11.c: Implement it here. For now, only emit
1403         state-changed when caps lock lockedness changes. 
1404
1405         * gdk/x11/gdkdisplay-x11.c: Also select for modifier lock status
1406         changes in the XkbSelectEventDetails call.
1407
1408 2008-09-29  Kristian Rietveld  <kris@imendio.com>
1409
1410         Bug 487624 - Tooltips doesn't get updated if ther's no mouse motion
1411         over widget
1412
1413         * gtk/gtkwidget.c (gtk_widget_set_property): after updating
1414         tooltip text or markup, call gtk_widget_trigger_tooltip_query()
1415         so that existing visible tooltips are updated.
1416
1417 2008-09-29  Matthias Clasen  <mclasen@redhat.com>
1418
1419         Bug 371908 – Password Entry broken
1420         Bug 317002 – Disable input method completely in GtkEntry when it's 
1421         in invisible mode.
1422
1423         * gtk/gtkentry.c (gtk_entry_backspace): Make backspace behave
1424         properly when invisible.
1425
1426         * gtk/gtkentry.c (gtk_entry_create_layout): Show preedit even if
1427         invisible. 
1428
1429         * gtk/gtkentry.c (gtk_entry_set_visibility): Don't disable input
1430         methods when making the entry invisible.
1431         
1432 2008-09-29  Emmanuele Bassi  <ebassi@linux.intel.com>
1433
1434         * gdk/x11/gdkinput.c:
1435         (gdk_device_class_init), (gdk_device_finalize): Correctly chain
1436         up the finalize implementation.
1437
1438 2008-09-29  Richard Hult  <richard@imendio.com>
1439
1440         Bug 554141 – uninitialized data use/free in gtkclipboard-quartz.c
1441
1442         * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
1443         Patch from Jon A. Cruz to initialize the allocated selection data.
1444
1445 2008-09-27  Matthias Clasen  <mclasen@redhat.com>
1446
1447         Bug 339367 – Incorrect spotlocation
1448
1449         * modules/input/gtkimcontextxim.c: Correct the spot location
1450         for on-the-spot style.
1451
1452 2008-09-27  Denis Washington  <denisw@svn.gnome.org>
1453
1454         * gtk/gtkiconview.c: only draw keyboard focus when keyboard navigation
1455         is used, like GtkTreeView. (Bug #553575)
1456
1457 2008-09-26  Matthias Clasen  <mclasen@redhat.com>
1458
1459         Bug 552959 – GtkTrayIcon: _NET_SYSTEM_TRAY_VISUAL and real
1460         transparency
1461
1462         * gtk/gtktrayicon-x11.c: Add support for the _NET_SYSTEM_TRAY_VISUAL
1463         property described in
1464         http://lists.freedesktop.org/archives/xdg/2008-September/009919.html
1465         If _NET_SYSTEM_TRAY_VISUAL is a visual with an alpha channel, the 
1466         parent-relative-background hack is skipped and we draw with a real
1467         transparent background.
1468
1469         * gtk/gtkrc.c: Remove the default GtkTrayIcon style, since the
1470         parent-relative background is now set when realizing the tray
1471         icon.
1472
1473         Patch by Owen Taylor
1474
1475 2008-09-26  Matthias Clasen  <mclasen@redhat.com>
1476
1477         Bug 552956 – Should check composite extension version
1478
1479         * gdk/x11/gdkdisplay-x11.c: Check that the version of the
1480         composite extension is at least 0.4.
1481         Patch by Owen Taylor
1482
1483 2008-09-26  Matthias Clasen  <mclasen@redhat.com>
1484         
1485         Bug 553803 – eventually call XCloseDevice on XOpenDevice results
1486
1487         * gdk/x11/gdkinput.c: Add a finalize function for device objects,
1488         and call XCloseDevice there. 
1489
1490         * gdk/x11/gdkinput-x11.c:
1491         * gdk/x11/gdkdisplay-x11.c: Move freeing of device objects to
1492         the finalize function.
1493         Patch by Caolan McNamara
1494         
1495 2008-09-26  Matthias Clasen  <mclasen@redhat.com>
1496
1497         Bug 553578 - tabs are not drawn correctly
1498
1499         * gtk/gtknotebook.c: Track the visibility state of notebook tabs 
1500         between allocations so that we know to redraw the tab labels if 
1501         tabs are hidden and shown without changing position. 
1502         Reported by Marek Kašík, patch by Owen Taylor.
1503
1504 2008-09-26  Matthias Clasen  <mclasen@redhat.com>
1505
1506         Bug 553133 – GtkFileChooser won't ask to mount a volume
1507         Bug 553211 – GtkFileChooserButton unsets filter after first use
1508
1509         * gtk/gtkfilechooserdefault.c (shortcuts_activate_volume): Use
1510         a GtkMountOperation when mounting, so that we get a password
1511         dialog when required.  
1512
1513         * gtk/gtkfilechooserdefault.c (show_and_select_files): Also
1514         get the content-type, since it is used later on. 
1515         Pointed out by Davyd Madeley.
1516
1517 2008-09-26  Cody Russell  <bratsche@gnome.org>
1518
1519         Bug 553917 – Typo in gdkwindow-win32.c
1520
1521         * gdk/win32/gdkwindow-win32.c: Fixed a typo in
1522         update_system_menu().  Changed GDK_DECOR_ALL to GDK_FUNC_ALL.
1523
1524         Reported by Richard Hult
1525
1526 2008-09-25  Marek Kasik  <mkasik@redhat.com>
1527
1528         Bug 553241 – double freed pointer in lpr_write cause firefox3 crash
1529
1530         * modules/printbackends/lpr/gtkprintbackendlpr.c:
1531         The redundant freeing of memory was removed.
1532
1533         Patch by Chris Wang
1534
1535 2008-09-25  Michael Natterer  <mitch@imendio.com>
1536
1537         * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_finalize):
1538         don't unref the file system backend, the newly added
1539         unset_file_system_backend() already does this (bug #553135).
1540
1541 2008-09-24  Michael Natterer  <mitch@imendio.com>
1542
1543         * gtk/gtkeventbox.c: events return gboolean not gint, reindented
1544         static prototypes.
1545
1546 2008-09-24  Johan Dahlin  <johan@gnome.org>
1547
1548         Bug 553385 – gtk-builder-convert creates untranslated combobox models
1549
1550         * gtk/gtk-builder-convert: Set the translatable property on
1551         col tags for converted combos.
1552
1553 2008-09-24  Tor Lillqvist  <tml@novell.com>
1554
1555         * gtk-zip.sh.in: Include all of share/man, lib/pkgconfig,
1556         share/aclocal and share/gtk-doc instead of trying to list
1557         individual files or subdirectories. We had missed gail.pc, for
1558         instance.
1559
1560 2008-09-24  Christian Dywan  <christian@imendio.com>
1561
1562         Bug 538782 – Make GtkMenu's arrow size themable
1563
1564         * gtk/gtkmenu.c (gtk_menu_class_init), (gtk_menu_paint):
1565         Implement "arrow-scaling" style property in GtkMenu.
1566
1567 2008-09-24  Christian Dywan  <christian@imendio.com>
1568
1569         Bug 408244 – add GtkDialog::content-area-spacing
1570
1571         * gtk/gtkbox.c (gtk_box_init), (gtk_box_set_spacing),
1572         (_gtk_box_set_spacing_set), (_gtk_box_get_spacing_set):
1573         * gtk/gtkbox.h:
1574         * gtk/gtkdialog.c (gtk_dialog_class_init), (update_spacings):
1575         Implement "content-area-spacing" style property in GtkDialog
1576         and internal helper _gtk_box_get_spacing_set in GtkBox.
1577         Patch by Tim Janik, Sven Herzberg and myself.
1578
1579 2008-09-24  Christian Dywan  <christian@imendio.com>
1580
1581         Bug 541391 – Unfocussable Treeview swallows focus
1582
1583         * gtk/gtktreeview.c (grab_focus_and_unset_draw_keyfocus),
1584         (gtk_tree_view_focus): Honor GTK_WIDGET_CAN_FOCUS properly
1585
1586 2008-09-24  Denis Washington  <denisw@svn.gnome.org>
1587
1588         * gtk/gtkiconview.c: draw focus as a rectangle around the
1589         complete item, not just the text. (Bug #38254)
1590
1591 2008-09-23  Michael Natterer  <mitch@imendio.com>
1592
1593         * gtk/gtkobject.c
1594         * gtk/gtksignal.[ch]: s/GtkType/GType/ and
1595         s/GtkSignalMarshaller/GSignalCMarshaller/.
1596
1597 2008-09-23  Michael Natterer  <mitch@imendio.com>
1598
1599         * gdk/x11/gdkevents-x11.c (gdk_event_translate): remove unused
1600         variable and fix indentation.
1601
1602 2008-09-23  Michael Natterer  <mitch@imendio.com>
1603
1604         * gtk/gtkclist.h
1605         * gtk/gtkctree.h
1606         * gtk/gtklist.h
1607         * gtk/gtklistitem.h
1608         * gtk/gtkobject.h
1609         * gtk/gtkoldeditable.h
1610         * gtk/gtkpixmap.h
1611         * gtk/gtkpreview.h
1612         * gtk/gtktext.h
1613         * gtk/gtktipsquery.h
1614         * gtk/gtktree.h
1615         * gtk/gtktreeitem.h: get rid of GtkType and GTK_CHECK_FOO() also
1616         in all deprecated headers.
1617
1618 2008-09-22  Matthias Clasen  <mclasen@redhat.com>
1619
1620         Bug 553135 – eog crash: assertion failed. Gtk error:
1621         shortcuts_remove_rows: code should not be reached
1622
1623         * gtk/gtkfilechooserdefault.c: Disconnect from GtkFileSystem 
1624         signals when we are destroyed, in order to avoid nasty surprises.
1625         Patch by Claudio Saavedra
1626
1627 2008-09-22  Emmanuele Bassi  <ebassi@linux.intel.com>
1628
1629         Bug 552789 – Show size column in the search and recently used
1630         files modes
1631
1632         * gtk/gtkfilechooserdefault.c: Display the file size column
1633         when in OPERATION_MODE_SEARCH. This removes a stat() call
1634         and simplifies the code a little bit by changing the query
1635         for file informations for each search engine hit.
1636
1637 2008-09-22  Michael Natterer  <mitch@imendio.com>
1638
1639         * gtk/gtksignal.[ch]
1640         * gtk/gtkclist.c
1641         * gtk/gtklist.c
1642         * gtk/gtkmain.c
1643         * gtk/gtktext.c
1644         * gtk/gtktreeitem.c: use G_CALLBACK and GCallback instead of
1645         GTK_SIGNAL_FUNC and GtkSignalFunc also in deprecated code.
1646
1647 2008-09-22  Frederic Crozat  <fcrozat@mandriva.com>
1648
1649         * gtk/gtkfilesystem.c: use the correct gi18n header.
1650         Fixes bug #553000.
1651
1652 2008-09-22  Michael Natterer  <mitch@imendio.com>
1653
1654         * gtk/gtktoolbar.[ch]: add "Deprecated: 2.4" to all the deprecated
1655         append(), prepend() and insert() functions and recommend to use
1656         gtk_toolbar_insert() instead. Use GCallback instead of
1657         GtkSignalFunc even in deprecated API.
1658
1659 2008-09-20  Matthias Clasen  <mclasen@redhat.com>
1660
1661         * gtk/gtkfilechooserbutton.c (filter_model_visible_func): Don't
1662         leak a GFile.
1663
1664 2008-09-19  Owen Taylor  <otaylor@redhat.com>
1665
1666         Small cleanups to debug messages for GtkPlug/GtkSocket
1667
1668         * gtk/gtksocket-x11.c: Fix debug message to say "Socket" not "Plug"
1669         * gtk/gtkplug-x11.c: Remove excess newlines from the ends of debug
1670         messages.
1671
1672 2008-09-19  Carlos Garnacho  <carlos@imendio.com>
1673
1674         Bug 83935 – GtkEntry's default invisible char should be U+25CF
1675
1676         * gtk/gtkentry.c (find_invisible_char) (gtk_entry_init): Find a
1677         more suitable invisible char than '*' based on the used font.
1678         (gtk_entry_class_init) (gtk_entry_set_property)
1679         (gtk_entry_get_property): Add a "invisible-char-set" property.
1680         (gtk_entry_unset_invisible_char): New function, needed now that the
1681         default invisible char isn't fixed.
1682         * gtk/gtkentry.h:
1683         * gtk/gtk.symbols:
1684         * docs/reference/gtk/gtk-sections.txt: Add the new function.
1685
1686 2008-09-19  Christian Persch  <chpe@gnome.org>
1687  
1688         Bug 552837 – mem leak in gtkimmulticontext
1689  
1690         * gtk/gtkimmulticontext.c: (gtk_im_multicontext_get_slave): Plug mem
1691         leak.
1692  
1693 2008-09-18  Emmanuele Bassi  <ebassi@linux.intel.com>
1694
1695         * gtk/gtkfilechooserdefault.c (settings_save): Save the size column
1696         visibility state with the rest of the FileChooser settings.
1697
1698 2008-09-18  Emmanuele Bassi  <ebassi@linux.intel.com>
1699
1700         Bug 325095 – show a 'size' column
1701
1702         * gtk/gtkfilechooserdefault.c:
1703         * gtk/gtkfilechooserprivate.h: Add a context menu item controlling
1704         the visibility of the file size column. This works only for the
1705         browse mode, and the column is not visible by default.
1706
1707         * gtk/gtkfilechoosersettings.[ch]: Add a ShowSizeColumn key to the
1708         settings file.
1709
1710 2008-09-18  Dominic Lachowicz  <domlachowicz@gmail.com>
1711
1712         * modules/engines/ms-windows/*: Revert most of previous patch, as
1713         it didn't work as expected; Some work toward #531086 - the new
1714         GtkTooltip widget doesn't theme properly on win32. Now, at least
1715         the background color seems okay
1716         
1717 2008-09-18  Dominic Lachowicz  <domlachowicz@gmail.com>
1718
1719         * modules/engines/ms-windows/*: MS Windows style should use
1720         pango_win32_font_description_from_logfont; Allows us to rip out a
1721         lot of potentially buggy code, and also get the font specification
1722         from the XP theme (#434987)
1723         
1724 2008-09-18  Matthias Clasen  <mclasen@redhat.com>
1725
1726         * configure.in: updated version number to 2.15.0 for development.
1727
1728         * ChangeLog.pre-2-14: rotate ChangeLog
1729
1730 === Branch for 2.14 ===