]> Pileus Git - ~andy/gtk/blob - ChangeLog
Bug 558001 – gtk_icon_view_enable_model_drag_[source|dest] problem
[~andy/gtk] / ChangeLog
1 2008-11-03  Christian Persch  <chpe@gnome.org>
2
3         Bug 558001 – gtk_icon_view_enable_model_drag_[source|dest] problem
4
5         * gtk/gtkiconview.c: Make gtk_drag_*_add_*_targets() usable with GtkIconView.
6
7 2008-11-02  Matthias Clasen  <mclasen@redhat.com>
8
9         Bug 558929 – gtkstatusicon.c: 'event' is a member of the structure
10
11         * gtk/gtkstatusicon.c: Fix the build.
12
13 2008-11-02  Matthias Clasen  <mclasen@redhat.com>
14
15         * gtk/gtkimagemenuitem.c: Make it possible to overrule the
16         gtk-menu-images setting.
17
18         * gtk/gtkaction.c (connect_proxy): Show the image before adding
19         it to the image menu item.
20
21 2008-11-01  Tor Lillqvist  <tml@novell.com>
22
23         Bug 558278 - Crash when calling a callback set by
24         gdk_add_client_message_filter()
25
26         * gdk/win32/gdkevents-win32.c (apply_event_filters): Rename from
27         apply_filters() so that it is clear that this function is for
28         GdkEventFilters only.
29
30         (print_event): Print more information for GDK_CLIENT_EVENT events.
31
32         (gdk_event_translate): When handling client filters, don't use
33         apply_event_filters(). Use similar code as in the X11 backend,
34         although not exactly, as the parameter list and return value
35         semantics of gdk_event_translate() is different.
36
37         * tests/testclientmessage.c: New interactive test program to
38         verify client message functionality.
39
40         * tests/Makefile.am: Add it.
41
42 2008-11-01  Matthias Clasen  <mclasen@redhat.com>
43
44         Bug 409435 – GtkStatusIcon enhancements: DnD, scroll events, 
45         middle click, rich tooltips
46
47         * gtk/gtkstatusicon.[hc]: Add support for button press/release and
48         scroll events. Patch by Ed Catmur
49
50 2008-11-01  Matthias Clasen  <mclasen@redhat.com>
51
52         Bug 322934 – Replace menu's proxy icons with empty space hiding icons
53
54         * gtk/gtkmenu.c (gtk_menu_size_request): Use consistent padding
55         regardless of imagees or checks being in the menu. Also add
56         padding on the right edge.
57         Proposal by Luca Ferretti, patch by Jon McCann
58
59 2008-11-01  Matthias Clasen  <mclasen@redhat.com>
60
61         Bug 412134 – Add API to query style properties from the style
62
63         * gtk/gtk.symbols:
64         * gtk/gtkstyle.[hc]: Add getters for style properties to
65         avoid the need for ugly workarounds with dummy widget instances.
66         Patch by Mariano Suárez-Alvarez
67
68 2008-10-31  Christian Dywan  <christian@imendio.com>
69
70         Bug 558667 – gtk_font_selection_dialog_get_apply_button - deprecate?
71
72         * gtk/gtk.symbols:
73         * gtk/gtkfontsel.c:
74         * gtk/gtkfontsel.h:
75         Deprecate gtk_font_selection_dialog_get_apply_button
76
77 2008-10-31  Matthias Clasen  <mclasen@redhat.com>
78
79         Bug 558323 – glitches when popping up combos in treeviews
80
81         * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_set_property):
82         Don't set the model property on the combo box, since that leads
83         to loops.
84
85 2008-10-31  Christian Dywan  <christian@imendio.com>
86
87         Bug 347230 – testicontheme shortcomings
88
89         * tests/testicontheme.c (main):
90         Use theme for "display" and quit on window closing
91
92 2008-10-30  Matthias Clasen  <mclasen@redhat.com>
93
94         Bug 558522 – scroll arrow painted insensitive even though there
95         are pages beyond the edge
96
97         * gtk/gtknotebook.c (gtk_notebook_real_insert_page): Redraw
98         arrows. Pointed out by Christian Persch
99
100 2008-10-30  Michael Natterer  <mitch@imendio.com>
101
102         * gtk/gtkcellrenderertext.h
103         * gtk/gtkentry.[ch]
104         * gtk/gtkimcontext.h
105         * gtk/gtklabel.c
106         * gtk/gtkstyle.h: <pango/pango.h> is pulled in by <gdk/gdk.h>,
107         remove its inclusion here.
108
109 2008-10-30  Michael Natterer  <mitch@imendio.com>
110
111         * gtk/*.h: no need to include <gtk/gtkenums.h> in headers which
112         somehow include gtkobject.h or another header which includes it.
113
114 2008-10-30  Marek Kasik  <mkasik@redhat.com>
115
116         Bug 339714 - Set printer dpi on cairo ps/pdf surfaces when printing
117
118         * gtk/gtk.symbols
119         * gtk/gtkprintsettings.c
120         * gtk/gtkprintsettings.h
121         * docs/reference/gtk/gtk-sections.txt
122         * modules/printbackends/file/gtkprintbackendfile.c
123         * modules/printbackends/test/gtkprintbackendtest.c
124         * modules/printbackends/cups/gtkprintbackendcups.c
125         * modules/printbackends/lpr/gtkprintbackendlpr.c:
126         Added lpi (lines per inch) setting to GtkPrintSettings and support
127         for anamorphic dpi. Surface fallback resolution is set to 2*lpi.
128
129 2008-10-30  Michael Natterer  <mitch@imendio.com>
130
131         * gtk/*.h: no need to include <gdk/gdk.h> in any widget header,
132         it's included via gtkwidget.h anyway.
133
134 2008-10-30  Sven Neumann  <sven@gimp.org>
135
136         * gtk/gtkwidget.c (gtk_widget_get_property): removed redundant
137         conditional.
138
139 2008-10-30  Christian Dywan  <christian@imendio.com>
140
141         Bug 557316 – GtkLinkButton should consider user-defined tooltip
142
143         * gtk/gtklinkbutton.c (gtk_link_button_query_tooltip_cb):
144         Only override the tooltip if not previously set
145
146 2008-10-29  Christian Dywan  <christian@imendio.com>
147
148         Bug 557762 – Misleading error message in GDK DirectFB
149
150         * gdk/directfb/gdkdisplay-directfb.c (gdk_display_open):
151         Correctly say GetInputDevice instead of GetDisplayLayer
152
153 2008-10-29  Christian Dywan  <christian@imendio.com>
154
155         Bug 558397 – gtk_widget_error_bell undefined without a screen
156
157         * gtk/gtkwidget.c (gtk_widget_error_bell): Test the settings
158         instance and return silently if unset
159
160 2008-10-28  Michael Natterer  <mitch@imendio.com>
161
162         * gdk/keyname-table.h: fix small typo.
163
164 2008-10-27  Richard Hult  <richard@imendio.com>
165
166         Bug 557894 – Wrong return value for
167         gdk_pointer_grab_info_libgtk_only()
168
169         * gdk/quartz/gdkevents-quartz.c:
170         (gdk_pointer_grab_info_libgtk_only): Return TRUE when there is a
171         pointer grab. Patch by Owen Taylor.
172
173 2008-10-26  Matthias Clasen  <mclasen@redhat.com>
174
175         * gtk/gtktoolshell.c:
176         * gtk/gtktoolitem.c: Remove markup from short descriptions.
177
178 2008-10-26  Matthias Clasen  <mclasen@redhat.com>
179
180         * gdk/keyname-table.h:
181         * gtk/gen-paper-names.c:
182         * gtk/paper_names_offsets.c:
183         * gtk/gtkpapersize.c:
184         * gtk/gtkaccellabel.c:
185         * gtk/gtkprintoperation.c:
186         * gtk/gtkstock.c: More conversion to C_().
187
188 2008-10-26  Matthias Clasen  <mclasen@redhat.com>
189
190         * gtk/gtkaccellabel.c:
191         * gtk/gtkcalendar.c:
192         * gtk/gtkcellrendereraccel.c:
193         * gtk/gtkcellrendererprogress.c:
194         * gtk/gtkimmulticontext.c:
195         * gtk/gtkrecentchoosermenu.c:
196         * gtk/gtkvolumebutton.c: Use C_() instead of Q_(). String change!
197
198 2008-10-26  Christian Persch  <chpe@gnome.org>
199
200         Bug 557065 – gtkcellrendererpixbuf spams console over and over with
201         'could not load image' warnings
202
203         * gtk/gtkcellrendererpixbuf.c:
204         (gtk_cell_renderer_pixbuf_create_themed_pixbuf): Remove noisy
205         g_warning.
206
207 2008-10-26  Philip Withnall  <philip@tecnocode.co.uk>
208
209         Bug 530454 – Clarify page_nr when printing
210
211         * gtk/gtkprintoperation.c (gtk_print_operation_class_init): Point out
212         that page_nr is 0-based in the documentation.
213
214 2008-10-25  Matthias Clasen  <mclasen@redhat.com>
215         
216         Bug 557315 – stale clipboard target cache
217
218         * gtk/gtkclipboard.c (gtk_clipboard_set_contents): Remove cached
219         targets. Pointed out by Evan Stade
220
221 2008-10-24  Tristan Van Berkom  <tvb@gnome.org>
222
223         * gtk/gtkwidget.c: Added a note about GtkWidget:has-tooltip in
224         the docs for GtkWidget::query-tooltip.
225
226 2008-10-24  Matthias Clasen  <mclasen@redhat.com>
227
228         * gtk/gtkmountoperation.c: The "screen" property ought to have
229         type GdkScreen, not GtkWindow. Found by Cosimo Cecchi
230
231 2008-10-24  Matthias Clasen  <mclasen@redhat.com>
232
233         Bug 556954 – gtk+/gtk/gtkrecentchooserdefault.c: mismatching
234         allocation and deallocation
235
236         * gtk/gtkrecentchooserdefault.c (remove_selected_from_list): Don't
237         free a strdup'ed string by g_free. Pointed out by Daniel Marjamäki
238
239 2008-10-24  Matthias Clasen  <mclasen@redhat.com>
240
241         Bug 556835 – gtkentry.c: variable is declared at middle of block
242
243         * gtk/gtkentry.c (gtk_entry_copy_clipboard): Fix a C99ism pointed
244         out by Kazuki Iwamoto
245
246 2008-10-24  Matthias Clasen  <mclasen@redhat.com>
247
248         Bug 557524 – "va_end(args);" should be added into
249         gtk_text_buffer_insert_with_tags_by_name( )
250
251         * gtk/gtktextbuffer.c (gtk_text_buffer_insert_with_tags_by_name):
252         Don't forget to call va_end. Pointed out by Boram Park
253
254 2008-10-23  Alexander Larsson  <alexl@redhat.com>
255
256         Bug 528320 - Incorrect icons displayed for files with custom mimetype icons
257         
258         * gtk/gtkfilesystem.c:
259         (_gtk_file_info_render_icon):
260         Fall back on default file icon if there was no icon or it
261         was not found in the theme. This goes with the corresponding
262         change in glib to not add the fallback icon, but is useful
263         in other cases too.
264
265 2008-10-22  Behdad Esfahbod  <behdad@gnome.org>
266
267         Bug 555920 – gtkentry.c passes wrong enum to
268         pango_layout_set_alignment()
269
270         * gtk/gtkentry.c (gtk_entry_create_layout): Don't set layout
271         adjustment.
272
273 2008-10-22  Matthias Clasen  <mclasen@redhat.com>
274
275         * gdk/x11/gdkscreen-x11.c: Only emit size-changed if the screen
276         size actually changed.
277
278 2008-10-21  Michael Natterer  <mitch@imendio.com>
279
280         * gdk/gdkdraw.c
281         * gdk/gdkimage.c
282         * gdk/gdkscreen.c
283         * gdk/gdkwindow.c: replace assertions for obj != NULL by
284         GDK_IS_OBJ(), remove redundant != NULL checks when there is
285         already a type check, add some g_return_if_fail() that were
286         missing entirely, fix some broken indentation and spacing.
287
288 2008-10-21  Tor Lillqvist  <tml@novell.com>
289
290         Bug 557266 - Window Management Problem
291
292         Also reported in mail to gtk-list, and of course it has been well
293         known in general that window state management is messy and buggy
294         in various ways in gdk/win32.
295
296         * gdk/win32/gdkwindow-win32.c (show_window_internal): Correct
297         handling of GDK_WINDOW_STATE_ABOVE windows. It doesn't work to set
298         the WS_EX_TOPMOST extended style bit using SetWindowLong(). We
299         must call SetWindowPos() on the window using HWND_TOPMOST
300         instead. The description for WS_EX_TOPMOST in the documentation
301         for CreateWindowEx() even implies that if you read it carefully.
302
303 2008-10-21  Michael Natterer  <mitch@imendio.com>
304
305         * gdk/gdkapplaunchcontext.c: reorder functions to be in standard
306         order, add prototypes and namespace to static functions, add
307         g_return_if_fail()s which were missing all over the place.
308
309 2008-10-20  Christian Persch  <chpe@gnome.org>
310
311         Bug 557059 – crash when compositing emblems with icon
312
313         * gtk/gtkicontheme.c: (apply_emblems): Copy the pixbuf before using it
314         with gtk_pixbuf_composite, in case its pixdata is read-only (mmaped
315         from icon cache or builtins).
316
317 2008-10-20  Murray Cumming  <murrayc@murrayc.com>
318
319         * gtk/gtkiconview.c: gtk_icon_view_set_tooltip_row(), 
320         gtk_icon_view_set_tooltip_item():
321         * gtk/gtktreeview.c: gtk_icon_view_set_tooltip_row(), 
322         gtk_icon_view_set_tooltip_cell():
323         Documentation: Mention the simple set_tooltip_column() 
324         alternative.
325
326 2008-10-18  Tor Lillqvist  <tml@novell.com>
327
328         * gdk/win32/gdkevents-win32.c (gdk_event_translate): On
329         WM_WINDOWPOSCHANGING, don't dereference windowpos in the debugging
330         output without setting it first.
331
332 2008-10-18  Tor Lillqvist  <tml@novell.com>
333
334         Bug 556578 - GIMP windows stay on top of other windows
335
336         * gdk/win32/gdkevents-win32.c (ensure_stacking_on_unminimize)
337         (ensure_stacking_on_window_pos_changing)
338         (ensure_stacking_on_activate_app): Ignore unmapped windows in the
339         loops where we look for the lowest "transient-type" window.
340
341         (gdk_event_translate): Don't call
342         ensure_stacking_on_window_pos_changing() or
343         ensure_stacking_on_activate_app() for unmapped windows.
344
345 2008-10-16  Marek Kasik  <mkasik@redhat.com>
346
347         Bug 556527 - The current page property is not passed to
348         GtkPrintUnixDialog
349
350         * gtk/gtkprintoperation-unix.c: pass current-page property
351         to GtkPrintUnixDialog
352
353 2008-10-15  Michael Natterer  <mitch@imendio.com>
354
355         * gdk/gdkapplaunchcontext.h (GDK_IS_APP_LAUNCH_CONTEXT): fix typo
356         in the type name so the macro becomes usable.
357
358 2008-10-14  Christian Dywan  <christian@imendio.com>
359
360         556150 – gtk 'object' property test fixing
361
362         * gtk/tests/object.c (list_ignore_properties):
363         Remove some recently fixed properties from the exception list
364
365 2008-10-13  Matthias Clasen  <mclasen@redhat.com>
366
367         Bug 555779 – GtkCellRendererPixbuf crashed on failed GIcon lookup
368
369         * gtk/gtkcellrendererpixbuf
370         (gtk_cell_renderer_pixbuf_create_themed_pixbuf): Don't crash
371         if a GIcon is not present in the current theme. Patch by 
372         Alex Larsson.
373
374 2008-10-13  Matthias Clasen  <mclasen@redhat.com>
375
376         Bug 552318 – menubar mnemonics consumed even when
377         gtk-enable-mnemonics=false
378
379         * gtk/gtkwindow.c (gtk_window_activate_key): Don't let mnemonic
380         entries block accelerator activation when gtk-enable-mnemonics is
381         FALSE. Problem reported by Andreas Moog.
382
383 2008-10-13  Cody Russell <cody@jhu.edu>
384
385         * test/testfilechooser.c: Fix option parsing so that -a and
386         --action work correctly.
387
388 2008-10-13  Christian Persch <chpe@gnome.org>
389
390         Bug 555386 – format not a string literal and no format arguments
391
392         * gtk/gtkiconfactory.c
393         * gtk/gtkprintbackend.c
394         * gtk/gtkprintoperation.c
395         * gtk/gtkthemes.c
396         * gtk/tests/builder.c
397         * modules/other/gail/gailtextview.c
398         * tests/testmerge.c: Use printf safely.
399
400 2008-10-13  Christian Persch <chpe@gnome.org>
401
402         Bug 555724 – gtkcellrendereraccel not initialised correctly
403
404         * gtk/gtkcellrendereraccel.c: Initialise the cell text.
405
406 2008-10-12  Simos Xenitellis  <simos@gnome.org>
407
408         Bug 555625 – Updated gtk_compose_seqs_compact table 
409         (gtkimcontextsimpleseqs.h)
410         
411         * gtk/gtkimcontextsimpleseqs.c: Updated the compose sequence table.
412         In this update we removed a further set of compose sequences that
413         are otherwise covered by check_algorithmically(). 
414
415         * gtk/gtkimcontextsimple.c: Updated table value that shows how many 
416         distinct first values exist in the compose sequences. 
417         Change from 22 to 20.
418         
419 2008-10-11  Matthias Clasen  <mclasen@redhat.com>
420
421         * gtk/gtktoolbar.c: Revert the GtkSettings::gtk-toolbar-icon-size
422         part of the previous change, since it doesn't work correctly without
423         extra complication, and using custom icon sizes doesn't make too
424         much sense in a desktop-wide setting.
425
426 2008-10-11  Matthias Clasen  <mclasen@redhat.com>
427
428         Bug 555186 – Setting gtk-toolbar-icon-size with custom icon_size
429
430         * gtk/gtktoolbar.c: Turn GtkToolbar::icon-size and
431         GtkSettings::gtk-toolbar-icon-size into int properties, to
432         allow the use of app-registered icon sizes.
433
434 2008-10-11  Christian Dywan  <christian@imendio.com>
435
436         Bug 555676 – gtk_widget_real_grab_focus assumes toplevel == window
437
438         * gtk/gtkwidget.c (gtk_widget_real_grab_focus):
439         Actually test for GTK_IS_WINDOW *and* GTK_WIDGET_TOPLEVEL
440
441 2008-10-10  Behdad Esfahbod  <behdad@gnome.org>
442
443         Bug 551355 – [PATCH] Make glib build with libtool 2.2
444
445         * autogen.sh: Accept libtool 2.2.   We are moving towards having
446         it working.
447
448 2008-10-10  Richard Hult  <richard@imendio.com>
449
450         * gdk/quartz/gdkkeys-quartz.c: (gdk_keymap_get_caps_lock_state)
451         Add empty stub to fix linking.
452
453 2008-10-10  Simos Xenitellis  <simos@gnome.org>
454
455         Bug 555000 – Wrong treatment on non-spacing marks dead keys in 
456         GtkIMContextSimple
457
458         * gtk/gtkimcontextsimple.c: Change IS_DEAD_KEY() macro so that
459         it only checks if input is a deadkey keysym.
460
461 2008-10-09  Christian Dywan  <christian@imendio.com>
462
463         Bug 555676 – gtk_widget_real_grab_focus assumes toplevel == window
464
465         * gtk/gtkwidget.c (gtk_widget_real_grab_focus):
466         Test for GTK_IS_WINDOW instead of GTK_WIDGET_TOPLEVEL
467
468 2008-10-09  Christian Dywan  <christian@imendio.com>
469
470         Bug 555573 – gtk_font_selection_set_font_name
471         shouldn't require a screen
472
473         * gtk/gtkfontsel.c (gtk_font_selection_set_font_name):
474         Don't warn if there is no screen, just return FALSE
475
476 2008-10-09  Christian Dywan  <christian@imendio.com>
477
478         Bug 555523 – gtk_scale_button_set_adjustment should accept NULL
479
480         * gtk/gtkscalebutton.c (gtk_scale_button_set_adjustment):
481         Create a new adjustment if NULL is passed, like other widgets
482
483 2008-10-09  Christian Dywan  <christian@imendio.com>
484
485         Bug 555578 – GtkTable propertiy maxima are wrong
486
487         * gtk/gtktable.c (gtk_table_class_init), (gtk_table_resize):
488         Always use 65535 instead of G_MAXUINT since that is
489         the actually supported maximum number of columns and rows
490
491 2008-10-09  Richard Hult  <richard@imendio.com>
492
493         Bug 550342 – Splash screens have a caption
494
495         * gdk/quartz/gdkwindow-quartz.c: (_gdk_window_new),
496         (gdk_window_set_decorations): Patch from Marianne Gagnon to make
497         splash windows borderless.
498
499 2008-10-09  Michael Natterer  <mitch@imendio.com>
500
501         Bug 516425 – Optionally display accelerators in popups
502
503         * gtk/gtkuimanager.h (enum GtkUIManagerItemType): add value
504         GTK_UI_MANAGER_POPUP_WITH_ACCELS which works like _POPUP but
505         shows the actions' accelerators.
506
507         * gtk/gtkuimanager.c: honor the new enum value for programmatically
508         created UIs, and support <popup accelerators="true"> in the XML
509         for the same purpose.
510
511 2008-10-09  Simos Xenitellis  <simos@gnome.org>
512
513         Bug 554192 – double press on the "circumflex" dead key 
514         (standard french 105 keyboard) no longer produces the "^" character
515
516         * gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress):
517         Changed the order, put check_compact_table() first, then 
518         check_algorithmically().
519
520 2008-10-08  Christian Persch  <chpe@gnome.org>
521
522         Bug 554702 – gtkfilesystem leaks GError
523
524         * gtk/gtkfilesystem.c (_gtk_file_system_init): Free the GError.
525
526 2008-10-08  Matthias Clasen  <mclasen@redhat.com>
527
528         * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
529         Don't forget to reset reload_state when current_folder is already
530         correct. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=465992
531
532 2008-10-08  Christian Dywan  <christian@imendio.com>
533
534         Bug 555270 – Allow unsetting a MessageDialog's image
535
536         * gtk/gtkmessagedialog.c (gtk_message_dialog_set_property),
537         Remove a superfluous cast to GtkWidget*
538         (gtk_message_dialog_set_image): Accept NULL for the image
539         and unset the image in that case.
540
541 2008-10-08  Christian Dywan  <christian@imendio.com>
542
543         Bug 436533 – Allow more space efficient scroll arrows placement
544
545         * gtk/gtkenums.h: Add GtkArrowPlacement
546         * gtk/gtkmenu.c (gtk_menu_class_init), (get_arrows_border),
547         (get_arrows_visible_area), (get_double_arrows),
548         (get_arrows_sensitive_area): Implement GtkMenu::arrow-placement
549         to allow scrolling arrows to be placed at the start, end or both
550         Patch by Tommi Komulainen and myself
551
552 2008-10-08  Christian Dywan  <christian@imendio.com>
553
554         Bug 555387 – Changing the sensitivity of a statusbar
555         mistakenly requires a display
556
557         * gtk/gtkstatusbar.c (set_grip_cursor): Only change the cursor
558         of the resize grip if there is a grip window.
559
560 2008-10-06  Matthias Clasen  <mclasen@redhat.com>
561
562         * gtk/gtktooltip.c (gtk_tooltip_show_tooltip): Avoid unitialized
563         memory warnings from valgrind.
564
565 2008-10-07 11:03:30  Tim Janik  <timj@imendio.com>
566
567         * gtk/gtkbox.h: keep GtkBox as an abstract type and keep _gtk_box_new()
568         as private function until we settle on the exact semantics.
569         renamed _gtk_box_set_old_defaults() as suggested by Mitch.
570
571 2008-10-07  Michael Natterer  <mitch@imendio.com>
572
573         * gtk/gtkbox.c: reindent static prototypes.
574
575 2008-10-07  Michael Natterer  <mitch@imendio.com>
576
577         Bug 553573 – Add orientation API to GtkBox
578
579         * gtk/gtkbox.[hh]: implement the GtkOrientable interface and
580         swallow all code from GtkHBox and GtkVBox. Add gtk_box_new()
581         which takes a GtkOrientation argument. Also move the newly
582         added "spacing_set" boolean from struct GtkBox to the new
583         private struct.
584
585         * gtk/gtkhbox.[ch]
586         * gtk/gtkvbox.[ch]: remove all code except the constructor and
587         call gtk_orientable_set_orientation() in init().
588
589         * gtk/gtk.symbols: add gtk_box_new().
590
591 2008-10-06  Björn Lindqvist  <bjourne@gmail.com>
592
593         Bug 539464 – gtk_cell_view_get_model is missing in GtkCellView
594
595         * gtk/gtkcellview.c (gtk_cell_view_get_model): Add
596         gtk_cell_view_get_model.
597
598 2008-10-06  Matthias Clasen  <mclasen@redhat.com>
599
600         * gtk/gtkprintunixdialog.c (create_main_page): Show the tooltip
601         on the range entry itself, too.
602
603 2008-10-04  Tor Lillqvist  <tml@novell.com>
604
605         Bug 132501 - Make utility window translate to tool window in win32
606
607         Implement the utility window type hint. Such windows are kept on
608         top of other windows of the same process. Makes GIMP's toolbox and
609         dock windows behave more like in GNOME under metacity. Apply the
610         same logic also to windows marked with the dialog window type
611         hint, and windows that are transient for some other window. I'll
612         call such windows "transient-type" below.
613
614         * gdk/win32/gdkevents-win32.c (doesnt_want_key): Drop unused
615         variables.
616
617         (ensure_stacking_on_unminimize)
618         (ensure_stacking_on_window_pos_changing)
619         (ensure_stacking_on_activate_app): New functions to implement the
620         desired stacking order. Make sure that a window that is not
621         transient-type stays below any transient-type windows of the
622         application. When activating a non-transient-type window make sure
623         it rises as high as possible while still staying below the lowest
624         transient-type window.
625
626         (gdk_event_translate): Call above functions on
627         WM_WINDOWPOSCHANGING, WM_ACTIVATEAPP and on WM_SIZE when
628         unminimizing. Improve debugging printout.
629
630         * gdk/win32/gdkwindow-win32.c (get_effective_window_decorations):
631         Handle utility windows like toolbar windows.
632
633         (gdk_window_new_internal) (update_style_bits): Give utility
634         windows the WS_EX_TOOLWINDOW extended style.
635
636         (gdk_window_set_title): If debugging "misc" or "events", make the
637         handle of top-level windows show up in their title bars. Very
638         useful when looking at debugging output.
639
640         (gdk_window_set_transient_for) (gdk_window_set_keep_above)
641         (gdk_window_set_keep_below) (gdk_window_set_modal_hint)
642         (gdk_window_set_skip_taskbar_hint)
643         (gdk_window_set_skip_pager_hint): Add and improve debugging
644         printout.
645
646         (gdk_window_set_type_hint): Print hint symbolically in GDK_NOTE().
647
648 2008-10-04  Tor Lillqvist  <tml@novell.com>
649
650         * gdk/win32/gdkmain-win32.c (_gdk_win32_window_exstyle_to_string)
651         (_gdk_win32_window_pos_bits_to_string): New debugging printout
652         functions. Decode the WS_EX_* and SWP_* bits.
653
654         * gdk/win32/gdkprivate-win32.h: Declare them. Define
655         GDK_DEBUG_MISC_OR_EVENTS for use in GDK_NOTE() to match either
656         "misc" or "events".
657
658 2008-10-03  Matthias Clasen <mclasen@redhat.com>
659
660         * gtk/gtkmodules.c (_gtk_modules_settings_changed): Add some
661         debug output.
662
663 2008-10-02  Matthias Clasen <mclasen@redhat.com>
664
665         Bug 96431 – Can't cut and paste / DND within invisible entry
666
667         * gtk/gtkentry.c: Disable cut, copy and drag out of an invisible
668         entry. Proposed by Owen Taylor
669
670 2008-10-02  Matthias Clasen <mclasen@redhat.com>
671
672         Bug 530575 – GtkEntry with invisible chars has a confused cursor in
673         overwrite mode
674
675         * gtk/gtkentry.c (gtk_entry_draw_cursor): Use the visible text
676         in the layout when positioning the cursor, not the actual text
677         content of the entry. This makes a different when using overwrite
678         mode in an invisible entry. 
679         Problem noticed by Jonathan Blandford
680
681         * gtk/gtktextutil.c: Fix a typo in a comment
682
683 2008-10-02  Christian Persch
684
685         Bug 554704 – gtkfilesystemmodel does too much work
686
687         * gtk/gtkfilesystemmodel.c: Replace g_slist_length()<1 check with a
688         simple NULL check.
689
690 2008-10-02  Christian Persch
691
692         Bug 554701 – filechooser spams console with useless warnings
693
694         * gtk/gtkfilesystem.c.c: Don't warn if the async call was simply
695         cancelled.
696
697 2008-10-02  Christian Persch
698
699         Bug 554698 – mem leak in filechooser
700
701         * gtk/gtkfilechooserdefault.c: Plug a mem leak.
702
703 2008-10-02  Christian Persch
704
705         Bug 554696 – invalid free function used
706
707         * gtk/gtkfilesystemmodel.c: Use the right free func.
708
709 2008-10-02  Christian Persch
710
711         Bug 554691 – mem leak in filechooser
712
713         * gtk/gtkfilesystemmodel.c: Plug a mem leak.
714
715 2008-10-02  Christian Persch
716
717         Bug 554690 – mem leak in filechooser
718
719         * gtk/gtkfilechooserdefault.c: Plug a mem leak.
720
721 2008-10-02  Michael Natterer  <mitch@imendio.com>
722
723         Bug 553585 – Add orientation API to GtkRuler
724
725         * gtk/gtkruler.[ch]: implement the GtkOrientable interface and
726         swallow all code from GtkHRuler and GtkVRuler. Add gtk_ruler_new()
727         which takes a GtkOrientation argument.
728
729         * gtk/gtkhruler.c
730         * gtk/gtkvruler.c: remove all code except the constructor and
731         call gtk_orientable_set_orientation() in init().
732
733         * gtk/gtk.symbols: add gtk_ruler_new().
734
735 2008-10-01  Torsten Schoenfeld  <kaffeetisch@gmx.de>
736
737         * docs/reference/gtk/gtk-sections.txt:
738         * gtk/gtk.symbols:
739         * gtk/gtkselection.c:
740         * gtk/gtkselection.h: Add gtk_selection_data_get_selection to
741         retrieve the sealed struct field GtkSelectionData.selection.
742
743 2008-10-01  Tor Lillqvist  <tml@novell.com>
744
745         * gtk/gtkscalebutton.c: Don't #define _GNU_SOURCE on Windows as it
746         confuses newest mingw headers.
747
748 2008-10-01  Tor Lillqvist  <tml@novell.com>
749
750         * gdk/win32/gdkkeys-win32.c (gdk_keymap_get_caps_lock_state):
751         Implement trivially on Windows. Not sure if something more complex
752         is actually needed, more specifically whether the function needs
753         to differentiate between "Caps Lock" and "Shift Lock" semantics?
754
755 2008-10-01  Simos Xenitellis  <simos@gnome.org>
756
757         Bug 554506 – combining diacritics broken, became deadkeys
758
759         * gtk/gtkimcontextsimple.c: added check if keysym is greater
760         than 0x1000000, in this case it is not a dead key.
761
762 2008-09-30  Michael Natterer  <mitch@imendio.com>
763
764         Bug 553582 – Add orientation API to GtkSeparator
765
766         * gtk/gtkseparator.[ch]: implement the GtkOrientable interface and
767         swallow all code from GtkHSeparator and GtkVSeparator. Add
768         gtk_separator_new() which takes a GtkOrientation argument.
769
770         * gtk/gtkhseparator.c
771         * gtk/gtkvseparator.c: remove all code except the constructor and
772         call gtk_orientable_set_orientation() in init().
773
774         * gtk/gtk.symbols: add gtk_separator_new().
775
776 2008-09-30  Marek Kasik  <mkasik@redhat.com>
777
778         Bug 344522 – support non-local destination files (GtkPrint):
779
780         * gtk/gtkprintunixdialog.c
781         * gtk/gtkprinteroptionwidget.c: Process URI instead of filename.
782         * modules/printbackends/file/gtkprintbackendfile.c: Add ability
783         to save files on non-local filesystems.
784
785 2008-09-30  Michael Natterer  <mitch@imendio.com>
786
787         * gtk/gtk.symbols: forgot the G_GNUC_CONST of
788         gtk_orientable_get_type().
789
790 2008-09-30  Michael Natterer  <mitch@imendio.com>
791
792         Bug 541009 – Get rid of separate subclasses for horizontal and
793         vertical orientation:
794
795         * gtk/Makefile.am
796         * gtk/gtk.symbols
797         * gtk/gtk.h
798         * gtk/gtkorientable.[ch]: add new interface GtkOrientable which
799         will be implemented by everything that can switch orientation.
800
801 2008-09-30  Christian Dywan  <christian@imendio.com>
802
803         Fix a typo in the tutorial.
804
805         * docs/tutorial/gtk-tut.sgml: It's mnemonic, not 'mnemnonic'.
806
807 2008-09-29  Matthias Clasen  <mclasen@redhat.com>
808
809         Bug 553086 – hard to see current immodule
810
811         * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems):
812         Display the actually selected context in the system menuitem.
813         Complaint by Akira Tagoh.
814
815 2008-09-29  Matthias Clasen  <mclasen@redhat.com>
816
817         Bug 530568 – Entries with visibility=FALSE should warn for caps-lock
818         on
819
820         * gtk/gtkentry.c: Add a tooltip-like Caps Lock warning for
821         password entries. The warning is also triggered if an input method
822         is active. The warning can be turned off using the
823         GtkEntry::caps-lock-warning property. 
824         Proposed by Owen Taylor
825
826 2008-09-29  Matthias Clasen  <mclasen@redhat.com>
827
828         * gtk/gtk.symbols:
829         * gtk/gtkimmulticontext.[hc] (gtk_im_multicontext_get_context_id): 
830         Add a getter for the the sealed context_id field.
831
832 2008-09-29  Matthias Clasen  <mclasen@redhat.com>
833
834         Bug 107000 – Add signals to GdkKeymap for monitoring caps_lock, etc.
835
836         * gdk/gdk.symbols:
837         * gdk/gdkkeys.[ch]: Add a new GdkKeymap::state-changed signal, and
838         a gdk_keymap_get_caps_lock_state function.
839
840         * gdk/x11/gdkkeys-x11.c: Implement it here. For now, only emit
841         state-changed when caps lock lockedness changes. 
842
843         * gdk/x11/gdkdisplay-x11.c: Also select for modifier lock status
844         changes in the XkbSelectEventDetails call.
845
846 2008-09-29  Kristian Rietveld  <kris@imendio.com>
847
848         Bug 487624 - Tooltips doesn't get updated if ther's no mouse motion
849         over widget
850
851         * gtk/gtkwidget.c (gtk_widget_set_property): after updating
852         tooltip text or markup, call gtk_widget_trigger_tooltip_query()
853         so that existing visible tooltips are updated.
854
855 2008-09-29  Matthias Clasen  <mclasen@redhat.com>
856
857         Bug 371908 – Password Entry broken
858         Bug 317002 – Disable input method completely in GtkEntry when it's 
859         in invisible mode.
860
861         * gtk/gtkentry.c (gtk_entry_backspace): Make backspace behave
862         properly when invisible.
863
864         * gtk/gtkentry.c (gtk_entry_create_layout): Show preedit even if
865         invisible. 
866
867         * gtk/gtkentry.c (gtk_entry_set_visibility): Don't disable input
868         methods when making the entry invisible.
869         
870 2008-09-29  Emmanuele Bassi  <ebassi@linux.intel.com>
871
872         * gdk/x11/gdkinput.c:
873         (gdk_device_class_init), (gdk_device_finalize): Correctly chain
874         up the finalize implementation.
875
876 2008-09-29  Richard Hult  <richard@imendio.com>
877
878         Bug 554141 – uninitialized data use/free in gtkclipboard-quartz.c
879
880         * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
881         Patch from Jon A. Cruz to initialize the allocated selection data.
882
883 2008-09-27  Matthias Clasen  <mclasen@redhat.com>
884
885         Bug 339367 – Incorrect spotlocation
886
887         * modules/input/gtkimcontextxim.c: Correct the spot location
888         for on-the-spot style.
889
890 2008-09-27  Denis Washington  <denisw@svn.gnome.org>
891
892         * gtk/gtkiconview.c: only draw keyboard focus when keyboard navigation
893         is used, like GtkTreeView. (Bug #553575)
894
895 2008-09-26  Matthias Clasen  <mclasen@redhat.com>
896
897         Bug 552959 – GtkTrayIcon: _NET_SYSTEM_TRAY_VISUAL and real
898         transparency
899
900         * gtk/gtktrayicon-x11.c: Add support for the _NET_SYSTEM_TRAY_VISUAL
901         property described in
902         http://lists.freedesktop.org/archives/xdg/2008-September/009919.html
903         If _NET_SYSTEM_TRAY_VISUAL is a visual with an alpha channel, the 
904         parent-relative-background hack is skipped and we draw with a real
905         transparent background.
906
907         * gtk/gtkrc.c: Remove the default GtkTrayIcon style, since the
908         parent-relative background is now set when realizing the tray
909         icon.
910
911         Patch by Owen Taylor
912
913 2008-09-26  Matthias Clasen  <mclasen@redhat.com>
914
915         Bug 552956 – Should check composite extension version
916
917         * gdk/x11/gdkdisplay-x11.c: Check that the version of the
918         composite extension is at least 0.4.
919         Patch by Owen Taylor
920
921 2008-09-26  Matthias Clasen  <mclasen@redhat.com>
922         
923         Bug 553803 – eventually call XCloseDevice on XOpenDevice results
924
925         * gdk/x11/gdkinput.c: Add a finalize function for device objects,
926         and call XCloseDevice there. 
927
928         * gdk/x11/gdkinput-x11.c:
929         * gdk/x11/gdkdisplay-x11.c: Move freeing of device objects to
930         the finalize function.
931         Patch by Caolan McNamara
932         
933 2008-09-26  Matthias Clasen  <mclasen@redhat.com>
934
935         Bug 553578 - tabs are not drawn correctly
936
937         * gtk/gtknotebook.c: Track the visibility state of notebook tabs 
938         between allocations so that we know to redraw the tab labels if 
939         tabs are hidden and shown without changing position. 
940         Reported by Marek Kašík, patch by Owen Taylor.
941
942 2008-09-26  Matthias Clasen  <mclasen@redhat.com>
943
944         Bug 553133 – GtkFileChooser won't ask to mount a volume
945         Bug 553211 – GtkFileChooserButton unsets filter after first use
946
947         * gtk/gtkfilechooserdefault.c (shortcuts_activate_volume): Use
948         a GtkMountOperation when mounting, so that we get a password
949         dialog when required.  
950
951         * gtk/gtkfilechooserdefault.c (show_and_select_files): Also
952         get the content-type, since it is used later on. 
953         Pointed out by Davyd Madeley.
954
955 2008-09-26  Cody Russell  <bratsche@gnome.org>
956
957         Bug 553917 – Typo in gdkwindow-win32.c
958
959         * gdk/win32/gdkwindow-win32.c: Fixed a typo in
960         update_system_menu().  Changed GDK_DECOR_ALL to GDK_FUNC_ALL.
961
962         Reported by Richard Hult
963
964 2008-09-25  Marek Kasik  <mkasik@redhat.com>
965
966         Bug 553241 – double freed pointer in lpr_write cause firefox3 crash
967
968         * modules/printbackends/lpr/gtkprintbackendlpr.c:
969         The redundant freeing of memory was removed.
970
971         Patch by Chris Wang
972
973 2008-09-25  Michael Natterer  <mitch@imendio.com>
974
975         * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_finalize):
976         don't unref the file system backend, the newly added
977         unset_file_system_backend() already does this (bug #553135).
978
979 2008-09-24  Michael Natterer  <mitch@imendio.com>
980
981         * gtk/gtkeventbox.c: events return gboolean not gint, reindented
982         static prototypes.
983
984 2008-09-24  Johan Dahlin  <johan@gnome.org>
985
986         Bug 553385 – gtk-builder-convert creates untranslated combobox models
987
988         * gtk/gtk-builder-convert: Set the translatable property on
989         col tags for converted combos.
990
991 2008-09-24  Tor Lillqvist  <tml@novell.com>
992
993         * gtk-zip.sh.in: Include all of share/man, lib/pkgconfig,
994         share/aclocal and share/gtk-doc instead of trying to list
995         individual files or subdirectories. We had missed gail.pc, for
996         instance.
997
998 2008-09-24  Christian Dywan  <christian@imendio.com>
999
1000         Bug 538782 – Make GtkMenu's arrow size themable
1001
1002         * gtk/gtkmenu.c (gtk_menu_class_init), (gtk_menu_paint):
1003         Implement "arrow-scaling" style property in GtkMenu.
1004
1005 2008-09-24  Christian Dywan  <christian@imendio.com>
1006
1007         Bug 408244 – add GtkDialog::content-area-spacing
1008
1009         * gtk/gtkbox.c (gtk_box_init), (gtk_box_set_spacing),
1010         (_gtk_box_set_spacing_set), (_gtk_box_get_spacing_set):
1011         * gtk/gtkbox.h:
1012         * gtk/gtkdialog.c (gtk_dialog_class_init), (update_spacings):
1013         Implement "content-area-spacing" style property in GtkDialog
1014         and internal helper _gtk_box_get_spacing_set in GtkBox.
1015         Patch by Tim Janik, Sven Herzberg and myself.
1016
1017 2008-09-24  Christian Dywan  <christian@imendio.com>
1018
1019         Bug 541391 – Unfocussable Treeview swallows focus
1020
1021         * gtk/gtktreeview.c (grab_focus_and_unset_draw_keyfocus),
1022         (gtk_tree_view_focus): Honor GTK_WIDGET_CAN_FOCUS properly
1023
1024 2008-09-24  Denis Washington  <denisw@svn.gnome.org>
1025
1026         * gtk/gtkiconview.c: draw focus as a rectangle around the
1027         complete item, not just the text. (Bug #38254)
1028
1029 2008-09-23  Michael Natterer  <mitch@imendio.com>
1030
1031         * gtk/gtkobject.c
1032         * gtk/gtksignal.[ch]: s/GtkType/GType/ and
1033         s/GtkSignalMarshaller/GSignalCMarshaller/.
1034
1035 2008-09-23  Michael Natterer  <mitch@imendio.com>
1036
1037         * gdk/x11/gdkevents-x11.c (gdk_event_translate): remove unused
1038         variable and fix indentation.
1039
1040 2008-09-23  Michael Natterer  <mitch@imendio.com>
1041
1042         * gtk/gtkclist.h
1043         * gtk/gtkctree.h
1044         * gtk/gtklist.h
1045         * gtk/gtklistitem.h
1046         * gtk/gtkobject.h
1047         * gtk/gtkoldeditable.h
1048         * gtk/gtkpixmap.h
1049         * gtk/gtkpreview.h
1050         * gtk/gtktext.h
1051         * gtk/gtktipsquery.h
1052         * gtk/gtktree.h
1053         * gtk/gtktreeitem.h: get rid of GtkType and GTK_CHECK_FOO() also
1054         in all deprecated headers.
1055
1056 2008-09-22  Matthias Clasen  <mclasen@redhat.com>
1057
1058         Bug 553135 – eog crash: assertion failed. Gtk error:
1059         shortcuts_remove_rows: code should not be reached
1060
1061         * gtk/gtkfilechooserdefault.c: Disconnect from GtkFileSystem 
1062         signals when we are destroyed, in order to avoid nasty surprises.
1063         Patch by Claudio Saavedra
1064
1065 2008-09-22  Emmanuele Bassi  <ebassi@linux.intel.com>
1066
1067         Bug 552789 – Show size column in the search and recently used
1068         files modes
1069
1070         * gtk/gtkfilechooserdefault.c: Display the file size column
1071         when in OPERATION_MODE_SEARCH. This removes a stat() call
1072         and simplifies the code a little bit by changing the query
1073         for file informations for each search engine hit.
1074
1075 2008-09-22  Michael Natterer  <mitch@imendio.com>
1076
1077         * gtk/gtksignal.[ch]
1078         * gtk/gtkclist.c
1079         * gtk/gtklist.c
1080         * gtk/gtkmain.c
1081         * gtk/gtktext.c
1082         * gtk/gtktreeitem.c: use G_CALLBACK and GCallback instead of
1083         GTK_SIGNAL_FUNC and GtkSignalFunc also in deprecated code.
1084
1085 2008-09-22  Frederic Crozat  <fcrozat@mandriva.com>
1086
1087         * gtk/gtkfilesystem.c: use the correct gi18n header.
1088         Fixes bug #553000.
1089
1090 2008-09-22  Michael Natterer  <mitch@imendio.com>
1091
1092         * gtk/gtktoolbar.[ch]: add "Deprecated: 2.4" to all the deprecated
1093         append(), prepend() and insert() functions and recommend to use
1094         gtk_toolbar_insert() instead. Use GCallback instead of
1095         GtkSignalFunc even in deprecated API.
1096
1097 2008-09-20  Matthias Clasen  <mclasen@redhat.com>
1098
1099         * gtk/gtkfilechooserbutton.c (filter_model_visible_func): Don't
1100         leak a GFile.
1101
1102 2008-09-19  Owen Taylor  <otaylor@redhat.com>
1103
1104         Small cleanups to debug messages for GtkPlug/GtkSocket
1105
1106         * gtk/gtksocket-x11.c: Fix debug message to say "Socket" not "Plug"
1107         * gtk/gtkplug-x11.c: Remove excess newlines from the ends of debug
1108         messages.
1109
1110 2008-09-19  Carlos Garnacho  <carlos@imendio.com>
1111
1112         Bug 83935 – GtkEntry's default invisible char should be U+25CF
1113
1114         * gtk/gtkentry.c (find_invisible_char) (gtk_entry_init): Find a
1115         more suitable invisible char than '*' based on the used font.
1116         (gtk_entry_class_init) (gtk_entry_set_property)
1117         (gtk_entry_get_property): Add a "invisible-char-set" property.
1118         (gtk_entry_unset_invisible_char): New function, needed now that the
1119         default invisible char isn't fixed.
1120         * gtk/gtkentry.h:
1121         * gtk/gtk.symbols:
1122         * docs/reference/gtk/gtk-sections.txt: Add the new function.
1123
1124 2008-09-19  Christian Persch  <chpe@gnome.org>
1125  
1126         Bug 552837 – mem leak in gtkimmulticontext
1127  
1128         * gtk/gtkimmulticontext.c: (gtk_im_multicontext_get_slave): Plug mem
1129         leak.
1130  
1131 2008-09-18  Emmanuele Bassi  <ebassi@linux.intel.com>
1132
1133         * gtk/gtkfilechooserdefault.c (settings_save): Save the size column
1134         visibility state with the rest of the FileChooser settings.
1135
1136 2008-09-18  Emmanuele Bassi  <ebassi@linux.intel.com>
1137
1138         Bug 325095 – show a 'size' column
1139
1140         * gtk/gtkfilechooserdefault.c:
1141         * gtk/gtkfilechooserprivate.h: Add a context menu item controlling
1142         the visibility of the file size column. This works only for the
1143         browse mode, and the column is not visible by default.
1144
1145         * gtk/gtkfilechoosersettings.[ch]: Add a ShowSizeColumn key to the
1146         settings file.
1147
1148 2008-09-18  Dominic Lachowicz  <domlachowicz@gmail.com>
1149
1150         * modules/engines/ms-windows/*: Revert most of previous patch, as
1151         it didn't work as expected; Some work toward #531086 - the new
1152         GtkTooltip widget doesn't theme properly on win32. Now, at least
1153         the background color seems okay
1154         
1155 2008-09-18  Dominic Lachowicz  <domlachowicz@gmail.com>
1156
1157         * modules/engines/ms-windows/*: MS Windows style should use
1158         pango_win32_font_description_from_logfont; Allows us to rip out a
1159         lot of potentially buggy code, and also get the font specification
1160         from the XP theme (#434987)
1161         
1162 2008-09-18  Matthias Clasen  <mclasen@redhat.com>
1163
1164         * configure.in: updated version number to 2.15.0 for development.
1165
1166         * ChangeLog.pre-2-14: rotate ChangeLog
1167
1168 === Branch for 2.14 ===