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