]> Pileus Git - ~andy/gtk/blob - ChangeLog
Fix some typos. Closes bug #475400.
[~andy/gtk] / ChangeLog
1 2007-09-10  Kjartan Maraas  <kmaraas@gnome.org>
2
3         * gtk/gtkentry.c: Fix some typos. Closes bug #475400.
4
5 2007-09-10  Behdad Esfahbod  <behdad@gnome.org>
6
7         * gdk/x11/gdkgeometry-x11.c (gdk_window_queue),
8         (_gdk_window_process_expose): Fix serial number comparison regression
9         introduced recently. (#474897)
10
11 2007-09-10  Richard Hult  <richard@imendio.com>
12
13         * gtk/gtksearchenginesimple.h: Build fix, correct a typo in the
14         G_BEGIN_DECLS fix below.
15
16 2007-09-10  Matthias Clasen  <mclasen@redhat.com>
17
18         * gtk/gtksearchenginesimple.h: Replace a duplicate G_END_DECLS by
19         G_BEGIN_DECLS.  (#475439, Nigel Tao)
20
21 2007-09-10  Kristian Rietveld  <kris@imendio.com>
22
23         * gtk/gtkmenutoolbutton.c (gtk_menu_tool_button_construct_contents):
24         when creating a new box, be sure to transfer a possible tooltip from
25         the old to the new box. (Fixes #458283, reported by Christian Persch).
26
27 2007-09-10  Kristian Rietveld  <kris@imendio.com>
28
29         * gtk/gtktreeview.c (gtk_tree_view_key_press): only start
30         typeahead search if tree_view has focus (and not one of the column
31         buttons).
32
33 2007-09-09  Matthias Clasen  <mclasen@redhat.com>
34
35         * gtk/gtkdnd.c (gtk_drag_source_info_destroy): Remove
36         update_idle here. Might fix #383003.
37
38 2007-09-09  Matthias Clasen  <mclasen@redhat.com>
39
40         * gtk/gtkiconview.c (gtk_icon_view_item_hit_test): Add a 
41         bounding box test that will avoid getting the individual cell
42         boxes if they haven't been calculated yet.  (#404541)
43
44 2007-09-09  Matthias Clasen  <mclasen@redhat.com>
45
46         * gtk/gtkaction.c:
47         * gtk/gtkradioaction.c:
48         * gtk/gtkrecentaction.c:
49         * gtk/gtktoggleaction.c: Update the documentation to mark
50         the optional constructors parameters. The GtkAction::name
51         property is required, instead, as it is used by GtkUIManager
52         to find the action object from the XML. (#450032, Murray Cumming,
53         patch by Emmanuele Bassi)
54
55 2007-09-09  Matthias Clasen  <mclasen@redhat.com>
56
57         * modules/printbackends/lpr/gtkprintbackendlpr.c:
58         * modules/printbackends/cups/gtkcupsutils.c:
59         * modules/printbackends/cups/gtkprintbackendcups.c: Include
60         config.h first.  (#467719)
61
62 2007-09-09  Matthias Clasen  <mclasen@redhat.com>
63
64         * gtk/gtklinkbutton.c:
65         * gtk/gtkrecentfilter.c:
66         * gtk/gtkprinteroptionwidget.c: Remove trailing commas from
67         enumerations, since some compilers don't like them.  (#467717)
68
69 2007-09-09  Matthias Clasen  <mclasen@redhat.com>
70
71         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_rows_reordered):
72         * gtk/gtktreemodelsort.c (gtk_tree_model_sort_rows_reordered): Don't
73         assume that a path of depth 0 has no indices.  (#467324, Szilard
74         Pfeiffer)
75
76 2007-09-09 18:22:28  Tim Janik  <timj@gtk.org>
77
78         * gdk/x11/gdkgeometry-x11.c (_gdk_window_process_expose): fix invalid
79         list node accesses, spotted by Benjamin Berg, bug #475158.
80
81 2007-09-09  Kristian Rietveld  <kris@gtk.org>
82
83         Reverted r16699:
84
85         2006-10-30  Kristian Rietveld  <kris@gtk.org>
86
87         * gtk/gtktreeview.c (gtk_tree_view_class_init): change left/right
88         keybindings to collapse/expand rows instead of moving the focus
89         cursor. (#105895, Brian Bober and others).
90
91 2007-09-09  Matthias Clasen  <mclasen@redhat.com>
92
93         * NEWS: Updates
94
95         * README.in: Add a note about bug 463773.
96
97 2007-09-08  Matthias Clasen  <mclasen@redhat.com>
98
99         * gtk/gtkstyle.c (draw_insertion_cursor): Revert the clamping
100         of cursor coordinates, since it causes really ugly drawing
101         artifacts with horizontal scrolling.  (#471215, Yevgen Muntyan)
102
103 2007-09-08  Matthias Clasen  <mclasen@redhat.com>
104
105         * gtk/gtkentrycompletion.c:
106         * gtk/gtkentry.c: Apply a number of patches by Xan Lopez 
107         to improve the interaction between actions and inline
108         selection.  (#471132)
109
110 2007-09-07  Matthias Clasen  <mclasen@redhat.com>
111
112         * gtk/gtktoolbar.c: Use g_slice for ToolbarContent.  
113         (#474696, Christian Persch)
114
115 2007-09-07  Matthias Clasen  <mclasen@redhat.com>
116
117         * gtk/gtkprintunixdialog.c: Add an internal child name for
118         the notebook, so that GtkBuilder can be used to add custom tabs.
119         (#472951, Christian Persch)
120
121 2007-09-07  Matthias Clasen  <mclasen@redhat.com>
122
123         * gtk/updateiconcache.c (get_image_meta_data_size): Don't
124         use image->attach_points where image->n_attach_points was meant.
125         Pointed out by Albert Chin.
126
127 2007-09-07  Wouter Bolsterlee  <wbolster@svn.gnome.org>
128
129         * modules/printbackends/cups/gtkcupsutils.c:
130         (_post_send): Fix typo that broke the build.
131
132 2007-09-07  Matthias Clasen  <mclasen@redhat.com>
133
134         * configure.in: Check for the cups function httpGetAuthString().
135
136         * modules/printbackends/cups/gtkcupsutils.c: Use httpGetAuthString()
137         if available.  (#467414, Claudio Saavedra)
138
139 2007-09-07  Kristian Rietveld  <kris@gtk.org>
140
141         * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_init),
142         (gtk_combo_box_cell_layout_get_cells): implement missing get_cells
143         method.  (Spotted by Paolo Borelli).
144
145 2007-09-06  Matthias Clasen  <mclasen@redhat.com>
146
147         * configure.in: Check for cups.h.  (#459732, Guillaume Cottenceau)
148
149 2007-09-06  Matthias Clasen  <mclasen@redhat.com>
150
151         * gdk/gdkrectangle.c (gdk_rectangle_intersect): Allow
152         dest to be NULL.  (#464528, Xan Lopez)
153
154 2007-09-06  Matthias Clasen  <mclasen@redhat.com>
155
156         * gtk/gtkmisc.c (gtk_misc_set_alignment, gtk_misc_set_padding): 
157         Actually emit change notification here.  (#474282, Thomas Rydzynski)
158
159 2007-09-06  Matthias Clasen  <mclasen@redhat.com>
160
161         * gtk/gtkfilechooserdefault.c (shortcuts_drop_uris): Initialize
162         error to NULL before calling g_set_error(). Should fix #473954, 
163         reported by Sebastien Bacher.
164
165 2007-09-06 13:37:28  Tim Janik  <timj@imendio.com>
166
167         * gtk/gtkrange.c (gtk_range_adjustment_value_changed): removed code
168         that forced range repaints upon every motion event, because these tend
169         to stall other repaints on busy CPUs.
170         added a timer to still force repaints every once in a while (roughly
171         5Hz atm) to avoid leaving the user without feedback on the range.
172         fixes bug #460534.
173
174 2007-09-06  Michael Natterer  <mitch@imendio.com>
175
176         * demos/gtk-demo/panes.c: s/gtk_widget_[un]ref/g_object_[un]ref/g
177
178 2007-09-06  Richard Hult  <richard@imendio.com>
179
180         * gdk/quartz/gdkwindow-quartz.c (_gdk_windowing_window_destroy):
181         Patch from William Pitcock: Ungrab windows if necessary when they
182         are destroyed, fixes bug #473441.
183
184 Wed Sep  5 14:15:17 2007  Tim Janik  <timj@imendio.com>
185
186         * gtk/gtknotebook.c (gtk_notebook_class_init): fix wrong default value
187         in ::tab-expand param spec constructor.
188
189 2007-09-04  Fernando Herrera  <fherrera@onirica.com>
190
191         * gtk/gtkbuilder.c: (gtk_builder_finalize),
192         (gtk_builder_add_from_file): copy filename to builder->priv instead of
193         holding a reference to it. Bug #472643
194
195 2007-09-04  Michael Natterer  <mitch@imendio.com>
196
197         * gtk/gtkmodules.c: added missing \n to g_print() in GTK_NOTE().
198
199 2007-09-04  Johan Dahlin  <jdahlin@async.com.br>
200
201         * gtk/gtk-builder-convert (GtkBuilderConverter._parse): Do not remove 
202         empty properties, since we do not know the default GParamSpec values.
203         #472981 (Carlos Garnacho)
204
205         * gtk/gtk-builder-convert (GtkBuilder._packing_prop_to_child_attr):
206         Do not iterate recursively over all child nodes.
207         (GtkBuilderConverter._default_widget_converter): Use a more efficient
208         way of iterating over all property nodes
209         #472974 (Carlos Garnacho)
210
211 2007-09-03  Emmanuele Bassi  <ebassi@gnome.org>
212
213         * gtk/gtkrecentmanager.c
214         (gtk_recent_manager_poll_timeout): Remove the stat() time barrier,
215         as it seems to cause bug #463907 (thanks to Sebastien Bacher).
216
217 2007-08-31  Richard Hult  <richard@imendio.com>
218
219         * configure.in: Revert the previous change as it broke the build
220         (missing po file in po-properties).
221
222 2007-08-31  Pramod Raghavendra <pramodleo@yahoo.co.uk>
223
224         * configure.in: Added kn to ALL_LINGUAS
225
226 2007-08-30  Richard Hult  <richard@imendio.com>
227
228         * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations,
229         gdk_window_get_decorations): Implement those. Based on patch from
230         Stefan Gehn, bug #459459.
231
232 2007-08-30  Richard Hult  <richard@imendio.com>
233
234         * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_keep_above,
235         gdk_window_set_keep_below): Patch from Stefan Gehn to implement
236         those, bug #459667.
237
238 2007-08-30  Richard Hult  <richard@imendio.com>
239
240         * gdk/quartz/gdkimage-quartz.c: (_gdk_quartz_image_copy_to_image):
241         Patch from Stefan Gehn to implement copying from a pixmap, bug
242         #348493.
243
244 2007-08-29  Kristian Rietveld  <kris@imendio.com>
245
246         * gtk/gtksettings.c: lower the default timeout values for
247         gtk-tooltip-timeout and gtk-tooltip-browse-timeout. (#451202,
248         Richard Hult).
249
250 Thu Aug 23 15:32:09 2007  Tim Janik  <timj@imendio.com>
251
252         * gdk/x11/gdkgeometry-x11.c (_gdk_window_process_expose): fix
253         X serial handling to cope with wraparounds and maintain referential
254         integrity when removing list nodes. based on a patch by Hui Wang,
255         fixes #461648.
256
257 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
258
259         * gtk/gtkwindow.c: Update menu accelerators, when adding/removing
260         AccelGroups dynamically. (#469374)
261
262 2007-08-27  Cody Russell  <bratsche@gnome.org>
263
264         * modules/engines/ms-windows/msw_style.c: Correct draw_box()
265         function to check detail for "notebook".  This fixes a problem
266         where notebooks without visible headers were not styling
267         correctly. (#470033, Daniel Atallah and Cody Russell)
268
269 2007-08-23  Cody Russell  <bratsche@gnome.org>
270
271         * gtk/gtkwindow.c (gtk_window_group_remove_window: Use the
272         correct type check on `window'.  We now check GTK_IS_WINDOW
273         rather than GTK_IS_WIDGET. (#461483, Josselin Mouette)
274
275 2007-08-23  Cody Russell  <bratsche@gnome.org>
276
277         * Makefile.am: Fix make dist failure by changing 
278         README.cvs-commits to README.commits. (#469395, Frederic Peters)
279
280 2007-08-23  Cody Russell  <bratsche@gnome.org>
281
282         * HACKING: Change references to README.cvs-commits so they say
283         README.commits.
284
285 2007-08-23  Jan Arne Petersen  <jpetersen@jpetersen.org>
286
287         * gtk/gtkbuilderparser.c: (text): Duplicate the string returned by
288         d[n]gettext before it is potentially freed. (#461945)
289
290 2007-08-23  Emmanuele Bassi  <ebassi@gnome.org>
291
292         * gtkfilechooserdefault.c:
293         (search_hit_get_info_cb), (recent_item_get_info_cb): Check if
294         we are still holding the model before updating it; removes a
295         set of critical warnings when switching to the browse mode from
296         a loading search or recent files list.
297
298         (recent_clear_model), (recent_sort_model),
299         (recent_idle_cleanup): When in recent files mode, set the
300         model for the files list view when we have completed the loading
301         of the recently used files list. This makes switching between
302         modes fast again and reduces the amount of redraws needed
303         to display the list. (#469214)
304
305 2007-08-22  Emmanuele Bassi  <ebassi@gnome.org>
306
307         * configure.in: Remove oc (Occitane) from LINGUAS and unbreak
308         the build.
309
310 2007-08-22  Kristian Rietveld  <kris@imendio.com>
311
312         Do not allow the cursor to go to a separator row.  Fixes #441219,
313         modified patch by Carlos Garnacho.
314
315         * gtk/gtktreeview.c (row_is_separator): new inline function
316         for calling the row-separator-func, made all of gtktreeview.c use
317         this function instead of calling the func themselves,
318         (gtk_tree_view_button_press): treat a click on a separator like
319         a click on empty space,
320         (gtk_tree_view_update_rubber_band_selection_rage): skip
321         non-selectable rows,
322         (search_first_focusable_path),
323         (gtk_tree_view_focus_to_cursor),
324         (gtk_tree_view_move_cursor_up_down),
325         (gtk_tree_view_move_cursor_page_up_down),
326         (gtk_tree_view_move_cursor_start_end): skip separators,
327         (gtk_tree_view_real_set_cursor): do not allow setting the cursor
328         on a separator.
329
330 2007-08-22  Tristan Van Berkom  <tvb@gnome.org>
331
332         * gtk/gtkframe.c: Corrected the published default value of
333         GtkFrame::label-xalign (bug 460272).
334
335 2007-08-21  Kristian Rietveld  <kris@imendio.com>
336
337         * gtk/gtktooltip.c (gtk_tooltip_init),
338         (gtk_tooltip_window_style_set): update alignment padding after
339         theme changes. (Fixes #467003, patch by Benjamin Berg).
340
341 2007-08-21  Kristian Rietveld  <kris@imendio.com>
342
343         * gtk/gtktooltip.c (_gtk_tooltip_handle_event): always set
344         hide_tooltip to TRUE if we are handling a leave notify event. (Fixes
345         #468245, reported by Dennis Jacobfeuerborn).
346
347 2007-08-21  Michael Natterer  <mitch@imendio.com>
348
349         * gtk/gtkpaned.c (gtk_paned_class_init): applied patch from Mikael
350         Hallendal which documents GtkPaned's keybinding signals (#467117).
351
352 2007-08-21  Kristian Rietveld  <kris@imendio.com>
353
354         Fix #457642, reported by Christian Persch.
355
356         * gtk/gtktooltip.c: added debugging output which can be compiled
357         in with a #define, annotated all coordinate translations in the
358         source code,
359         (find_widget_under_pointer): remove the "no-window correction";
360         always convert the coordinates from window relative to allocation
361         relative; after recursing through a container, translate the
362         coordinates from container allocation relative to child widget
363         allocation relative;
364         (find_topmost_widget_from_event): now we get allocation relative
365         coordinates here we do not have to distinguish no-window and window
366         widgets.
367
368 2007-08-18  Cody Russell  <bratsche@gnome.org>
369
370         * gtk/gtkimcontextsimple.c: Fixed incorrect compose mapping
371         for capital U with macron. (#468055, Aaron Crane)
372
373 2007-08-17  Cody Russell  <bratsche@gnome.org>
374
375         * Renamed README.cvs-commits to README.commits
376
377 2007-08-17  Cody Russell  <bratsche@gnome.org>
378
379         * HACKING
380         * README.cvs-commits: Updated documentation about SVN, and
381         updated dependency information.  (#447883, Yesudeep Mangalapilly)
382
383 Fri Aug 17 11:36:29 2007  Tim Janik  <timj@imendio.com>
384
385         * gtk/gtkmenu.c (gtk_menu_popup): Clarified activate_time docs.
386
387 2007-08-16  Cody Russell  <bratsche@gnome.org>
388
389         * gdk/win32/cursor.bdf: Committing changes to the source
390         bdf font file that I forgot to commit yesterday for #458088.
391
392 2007-08-15  Cody Russell  <bratsche@gnome.org>
393
394         * gdk/win32/xcursors.h: Modified the sb_h_double_arrow and
395         sb_v_double_arrow mouse cursors to match the ones that Windows
396         uses for split container controls.  This allows our paned
397         widgets to be more easily identified as paned widgets on
398         Windows, since we don't have any prelighting on the draggable
399         pane part.  (#458088)
400
401 2007-08-15  Cody Russell  <bratsche@gnome.org>
402
403         * gtk/gtkcontainer.c: Another documentation fix that I forgot to
404         commit yesterday.  (#459340, Guillaume Cottenceau)
405
406 2007-08-14  Cody Russell  <bratsche@gnome.org>
407
408         * gtk/gtkwidget.c
409         * gtk/gtkscrolledwindow.c
410         * gtk/gtklabel.c: Correct documentation that refers to the
411         deprecated gtk_widget_set_usize() API.  Refer instead to
412         gtk_widget_set_size_request().  (#459340, Guillaume Cottenceau)
413
414 2007-08-14  Kristian Rietveld  <kris@imendio.com>
415
416         * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): make
417         sure we fail keynav if the only item in the list is already selected.
418         (Fixes #465039, reported by Fernando Herrera).
419
420 2007-08-09  Sven Neumann  <sven@gimp.org>
421
422         * modules/printbackends/file/gtkprintbackendfile.c: change the
423         file extension when the file format is changed in the Print dialog
424         (#356630).
425
426 2007-08-09  Stefan Kost  <ensonic@users.sf.net>
427
428         * docs/reference/gtk/tmpl/gtkruler.sgml:
429         * gtk/gtkruler.c:
430         Move documentation of gtk_ruler_set_range() to source and fix nonsense.
431
432 2007-08-08  Mikael Hallendal  <micke@imendio.com>
433
434         * gtk/gtkcombobox.c (gtk_combo_box_class_init): 
435         Document the new signals popup, popdown and move-active.
436
437 2007-08-07  Matthias Clasen  <mclasen@redhat.com>
438         
439         * MAINTAINERS: Follow new format regulations.
440
441 2007-08-07  Johan Dahlin  <jdahlin@async.com.br>
442
443         * gtk/gtkbuilderparser.c (text): 
444         * gtk/gtkcelllayout.c (attributes_text_element): 
445         * gtk/gtkliststore.c (list_store_text): 
446         Do not assume that text is null-terminated as pointed out by
447         Christopher Fergeau
448         
449         * gtk/gtkbuilderparser.c (text): Use g_strdup on the translated
450         string instead of g_strndup() + the length of the untranslated
451         string. (#461945, Claude Paroz)
452
453 2007-08-07  Kristian Rietveld  <kris@imendio.com>
454
455         * gtk/gtktooltips.c (gtk_tooltips_init),
456         (gtk_tooltips_destroy), (gtk_tooltips_force_window): create a dummy
457         tip_window and tip_label, so old applications with code accessing
458         those fields won't crash.
459
460 2007-08-07  Kristian Rietveld  <kris@imendio.com>
461
462         * gtk/gtktooltip.c (_gtk_tooltip_handle_event): Disable tooltips
463         in touchscreen mode.
464
465 2007-07-31  Richard Hult  <richard@imendio.com>
466
467         * gdk/quartz/gdkwindow-quartz.c: (gdk_window_get_geometry):
468         Implement, fixes bug #405868. Based on patch from metz81@web.de.
469
470 2007-07-31  Xan Lopez  <xan@gnome.org>
471
472         * gtk/gtkentry.c (gtk_entry_completion_key_press): reset the
473         completion prefix on Enter too, plug potential leak.
474         Follow-up to #458298
475
476 2007-07-31  Matthias Clasen  <mclasen@redhat.com>
477
478         * gtk/gtktooltip.c (gtk_tooltip_init): Make the label
479         wrap, for compatibility with the old tooltips code. This
480         fixes absurdly long tooltips in the color selector.
481
482 2007-07-30  Kristian Rietveld  <kris@imendio.com>
483
484         * gtk/gtktreeview.c (gtk_tree_view_set_tooltip_cell): Fix
485         documentation. (#461225, Murray Cumming).
486
487 2007-07-29  Emmanuele Bassi  <ebassi@gnome.org>
488
489         * gtk/gtkrecentchooser.c: Add documentation for properties
490         and fix the deprecation marker for the show-numbers
491         accessor functions (Murray Cumming).
492
493         * gtk/gtkrecentchooser.h: Add deprecation guards around
494         gtk_recent_chooser_set_show_numbers() and
495         gtk_recent_chooser_get_show_numbers(), as promised during
496         last development cycle.
497
498 2007-07-27  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>
499
500         * gdk/directfb/gdkcursor-directfb.c: Attempts to load
501           stock X cursors no longer results in annoying error
502           messages under DirectFB
503
504 2007-07-27  Michael Natterer  <mitch@imendio.com>
505
506         Fix check/radio indicator drawing mess (bug #452225):
507
508         * gtk/gtkstyle.c (gtk_default_draw_check): really decrease the
509         indicator size by one to ensure odd size (don't say -= -1).
510
511         * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render):
512         removed -1 adjustment from calls to gtk_paint_option(). Theme
513         engines now get the actually configured size passed, not one pixel
514         less.
515
516         * gtk/gtkcellrenderertoggle.c
517         * gtk/gtkcheckmenuitem.c: changed default indicator size from 12
518         to 13 so all widgets which draw check/option indicators have the
519         same default size now (and render the same size after above
520         changes).
521
522         * README.in: mention above changes in the release notes.
523
524 2007-07-27  Wouter Bolsterlee  <wbolster@svn.gnome.org>
525
526         * Makefile.am: Include ChangeLog.pre-2-10 in tarballs as
527         well (seems to be forgotten).
528
529 2007-07-25  Matthias Clasen  <mclasen@redhat.com>
530
531         * gtk/gtktooltip.c (_gtk_tooltip_handle_event): Call
532         gtk_tooltip_hide_tooltip() even if the tooltip is not
533         visible yet. This fixes annoying dangling tooltips
534         on systray icons.  
535
536 2007-07-24  Matthias Clasen  <mclasen@redhat.com>
537
538         * gtk/gtkiconcachevalidator.c: Silence the validator.
539
540 2007-07-24  Matthias Clasen  <mclasen@redhat.com>
541
542         * gtk/gtkmenutoolbutton.c: Remove obsolete set-tooltip 
543         handler.  (#458280, Christian Persch)
544
545 2007-07-24  Matthias Clasen  <mclasen@redhat.com>
546
547         * gtk/gtkcolorsel.c:
548         * gtk/gtkfilechooserdefault.c:
549         * gtk/gtkpagesetupunixdialog.c:
550         * gtk/gtkprintunixdialog.c: Port to use new tooltips API.  
551         (#451397, Jan Arne Petersen)
552
553 2007-07-24  Tor Lillqvist  <tml@novell.com>
554
555         * gdk/win32/gdkkeys-win32.c (update_keymap): Cosmetic changes.
556
557 2007-07-24  Matthias Clasen  <mclasen@redhat.com>
558
559         * gtk/gtkmenubar.c (window_key_press_handler):
560         * gtk/gtkmenu.c (gtk_menu_key_press): Restructure the code
561         to make sense, and don't leak an empty accel.  (#459515, Owen Taylor)
562
563 2007-07-23  Matthias Clasen  <mclasen@redhat.com>
564
565         * gtk/gtktooltip.c (gtk_tooltip_set_custom): Protect against
566         recursion via gtk_container_remove().  (#459561, Christian Persch)
567         (gtk_tooltip_window_hide): Simplify.
568
569         * tests/testtooltips.c: Add code to test gtk_tooltip_set_custom()
570
571 2007-07-23  Christian Persch  <chpe@gnome.org>
572
573         * tests/testtooltips.c: (query_tooltip_tree_view_cb): Remove obsolete
574         code. Bug #459566.
575
576 2007-07-23  Matthias Clasen  <mclasen@redhat.com>
577
578         * gtk/gtktreeview.c:
579         * gtk/gtkiconview.c:
580         * gtk/gtkscalebutton.c: Fix some doc formatting errors.
581         (#459313, Gian Mario Tagliaretti)
582
583 2007-07-23  Matthias Clasen  <mclasen@redhat.com>
584
585         * configure.in: Dectect if cups allows access to the http_t
586         authstring field.  
587
588         * modules/printbackends/cups/gtkcupsutils.c: Rely on the
589         HAVE_HTTP_AUTHSTRING define done by configure.
590
591 2007-07-23  Emmanuele Bassi  <ebassi@gnome.org>
592
593         * gtk/gtkrecentchooserdefault.c: Port the GtkRecentChooser default
594         implementation widget to the new tooltips API, and make it look
595         like the GtkFileChooser widget in recent files mode (move the
596         full path from the widget to a tooltip on the row) to improve
597         consistency.
598
599         * gtk/gtkrecentchoosermenu.c: Port the GtkRecentChooserMenu widget
600         to the new tooltips API.
601
602         * tests/testrecentchooser.c:
603         * tests/testrecentchoosermenu.c: Exercise the tooltips code paths.
604
605 2007-07-22  Ross Burton  <ross@openedhand.com>
606
607         * gtk/gtkscrolledwindow.c:
608         Correctly redraw when gtk-scrolled-window-placement is changed
609         after the widget is realised (#458102)
610
611 2007-07-22  Matthias Clasen  <mclasen@redhat.com>
612
613         * gdk/x11/gdkkeys-x11.c: Some documentation fixes.
614
615 2007-07-21  Matthias Clasen  <mclasen@redhat.com>
616
617         * gtk/gtktooltips.[hc]: Rename the tips_data_list field
618         back.  (#447214)
619
620 2007-07-21  Matthias Clasen  <mclasen@redhat.com>
621
622         * configure.in: Bump version
623
624         * === Released 2.11.6 ===
625
626 2007-07-20  Matthias Clasen  <mclasen@redhat.com>
627
628         * gtk/gtktooltip.c (gtk_tooltip_position): Don't pop up
629         under the cursor.  This fixes tooltip-induced flickering 
630         in the tasklist in a bottom panel.
631
632 2007-07-20  Matthias Clasen  <mclasen@redhat.com>
633
634         * gtk/gtkpathbar.c (make_directory_button): Don't leak
635         a label.  (#455901, Christian Persch, Vincent Geddes)
636
637 2007-07-20  Matthias Clasen  <mclasen@redhat.com>
638
639         Apply a patch by Emmanuele Bassi to limit the number
640         of shown recent files.  (#439715)
641
642         * gtk/gtksettings.c: Add a setting for the number
643         of recent files to display by default.
644
645         * gtk/gtkrecentchooserdefault.c: 
646         * gtk/gtkfilechooserdefault.c: Respect the limit.
647
648         * gtk/gtkrecentmanager.c: Remove the poll timeout in 
649         dispose, and do not stat more often than every 5 seconds.
650
651         * gtk/gtkrecentchooserutils.c:
652         * gtk/gtkrecentchoosermenu.c: Cleanups
653
654         * tests/testrecentchoosermenu.c: Test limits.
655
656 2007-07-20  Matthias Clasen  <mclasen@redhat.com>
657
658         * gtk/gtkfilechooserdefault.c: Apply a patch by Emmanuele
659         Bassi to add tooltips to the file lists in recent files and
660         search modes.
661
662 2007-07-20  Ryan Lortie  <desrt@desrt.ca>
663
664         * gtk/gtkwidget.c (gtk_widget_is_composited): add note that the
665         semantics of this call, when mixed with the new
666         gdk_window_set_composited(), will change in the future.
667
668         * gdk/x11/gdkevents-x11.c (gdk_event_translate): only grab Damage
669         events that belong to us.
670
671 2007-07-19  Matthias Clasen  <mclasen@redhat.com>
672
673         * gtk/gtkentry.c (gtk_entry_completion_key_press): Handle
674         keypresses better when there is no completion.  (#458298,
675         Christian Persch, patch by Xan Lopez)
676
677         * gtk/gtkentrycompletion.c
678         (gtk_entry_completion_insert_completion_text): Small cleanup.
679
680 2007-07-19  Matthias Clasen  <mclasen@redhat.com>
681
682         * gtk/gtksettings.c (apply_queued_setting): Merge color
683         scheme before sending notification.  
684
685 2007-07-19  Matthias Clasen  <mclasen@redhat.com>
686
687         * gtk/gtktreeview.c (gtk_tree_view_set_tooltip_column):
688         Only connect/disconnect signals when necessary, emit
689         change notification.
690
691 2007-07-19  Kristian Rietveld  <kris@imendio.com>
692
693         * gtk/gtktooltip.c (find_topmost_widget_coords_from_event): handle
694         no-window and regular widgets seperately.
695
696         * gtk/gtktreeview.c (gkt_tree_view_set_tooltip_cell): rect.x should
697         be zero.
698
699 2007-07-19  Matthias Clasen  <mclasen@redhat.com>
700
701         * gtk/gtk.symbols:
702         * gtk/gtkiconview.h:
703         * gtk/gtkiconview.c (gtk_icon_view_get_tooltip_context):
704         (gtk_icon_view_[sg]et_tooltip_column: Add more convenience
705         API parallel to the treeview convenience API.
706
707 2007-07-19  Matthias Clasen  <mclasen@redhat.com>
708
709         * gtk/gtktextview.c (gtk_text_view_compat_move_focus): 
710         Initialized GValues before unsetting them.  (#457720)
711
712 2007-07-19  Kristian Rietveld  <kris@imendio.com>
713
714         * gtk/gtk.symbols:
715         * gtk/gtktreeprivate.h:
716         * gtk/gtktreeview.[ch] (gtk_tree_view_get_tooltip_context),
717         (gtk_tree_view_[sg]et_tooltip_column): add more convenience API.
718
719         * tests/testtooltip.c (query_tooltip_tree_view_cb): use
720         gtk_tree_view_get_tooltip_context().
721
722         * demos/gtk-demo/demo.ui: add a tooltip column to the list store,
723         set tooltip-column on the tree view.
724
725 2007-07-18  Richard Hult  <richard@imendio.com>
726
727         * gdk/quartz/gdkcursor-quartz.c (gdk_cursor_new_for_display): Ref
728         the cursor in the cached case.
729
730 2007-07-18  Matthias Clasen  <mclasen@redhat.com>
731
732         * gtk/gtktreeview.c: Correct some mistakes in the 
733         documentation of the test-expand/collapse-row signals.  
734         (#457774, Olivier Andrieu)
735
736 2007-07-18  Matthias Clasen  <mclasen@redhat.com>
737
738         * gtk/gtkicontheme.c: Small cleanups
739
740 2007-07-17  Kristian Rietveld  <kris@imendio.com>
741
742         * gtk/gtktooltip.c (find_widget_under_pointer): only do the
743         coordinate check if tmp is not NULL.
744
745 2007-07-16  Kristian Rietveld  <kris@imendio.com>
746
747         * gtk/gtktooltip.c (find_topmost_widget_coords_from_event): check
748         if the pointer is really over the returned widget, since the
749         coordinate check may not always be hit in find_widget_under_pointer().
750
751 2007-07-16  Matthias Clasen <mclasen@redhat.com>
752
753         Fix some issues with some combinations of inline-selection
754         and inline-completion.  (#457384, Christian Persch)
755
756         * gtk/gtkentry.c (gtk_entry_completion_key_press): Don't store
757         the completion_prefix here, and be careful when using 
758         completion_prefix, because it may be NULL.
759         * gtk/gtkentrycompletion.c (gtk_entry_completion_finalize):
760         Free completion_prefix here.
761         * gtk/gtkentrycompletion.c (gtk_entry_completion_real_insert_prefix):
762         (gtk_entry_completion_insert_completion_text): Store the
763         completion_prefix here.
764
765 2007-07-16  Matthias Clasen <mclasen@redhat.com>
766
767         * gtk/gtkfilechooserbutton.c (model_add_special_get_info_cb):
768         Plug a memleak. (#455721, Christian Persch)
769
770 2007-07-16  Matthias Clasen <mclasen@redhat.com>
771
772         * gtk/gtkscalebutton.c: Apply a patch by Guillaume Cottenceau
773         to improve the signal docs.  (#456258)
774
775 2007-07-16  Matthias Clasen <mclasen@redhat.com>
776
777         * gtk/gtkwidget.c: Apply a patch by Xan Lopez to document
778         a lot of GtkWidget signals.  (#172424)
779
780 2007-07-16  Matthias Clasen <mclasen@redhat.com>
781
782         * gtk/gtk.symbols:
783         * gtk/gtkiconview.h:
784         * gtk/gtkiconview.c (gtk_icon_view_set_tooltip_item):
785         (gtk_icon_view_set_tooltip_cell): Convenience functions to
786         position tooltips on icon view items or cells.
787
788 2007-07-14  Richard Hult  <richard@imendio.com>
789
790         * gdk/quartz/gdkevents-quartz.c:
791         (_gdk_quartz_events_update_cursor): Plug leak.
792
793 2007-07-13  Richard Hult  <richard@imendio.com>
794
795         * gdk/quartz/gdkprivate-quartz.h:
796         * gdk/quartz/gdkevents-quartz.c: (gdk_window_is_ancestor): Move
797         from here...
798         * gdk/quartz/gdkwindow-quartz.c: (_gdk_quartz_window_is_ancestor):
799         ...to here.
800         (_gdk_windowing_window_destroy): Update the mouse window if the
801         destroyed window is an ancestor of the current one, not only if
802         they are the same.
803         (gdk_window_hide): Update the mouse window here too.
804
805 2007-07-13  Richard Hult  <richard@imendio.com>
806
807         * gdk/quartz/gdkcolor-quartz.c: (gdk_colors_alloc),
808         (gdk_colors_free): Add stubs.
809
810 2007-07-13  Matthias Clasen  <mclasen@redhat.com>
811
812         * gtk/gtkrecentmanager.c (get_uri_shortname_for_display): Avoid
813         gratitious use of g_strdup_printf().
814
815         * gtk/gtkrecentchooserdefault.c:
816         * gtk/gtkrecentchoosermenu.c: Mark some strings for 
817         translation.  (#439480, Murray Cumming)
818
819 2007-07-13  Kristian Rietveld  <kris@imendio.com>
820
821         #408327, improve tooltip positioning.
822
823         * gtk/gtk.symbols: updated.
824
825         * gtk/gtktooltip.[ch] (gtk_tooltip_position): factor out
826         positioning code in here,
827         (gtk_tooltip_set_tip_area): new function to set the tooltip
828         area,
829         (gtk_tooltip_reset), (_gtk_tooltip_handle_event): hide tooltip
830         once the pointer leaves the tip area.
831
832         * gtk/gtktreeview.[ch] (gtk_tree_view_set_tooltip_row),
833         (gtk_tree_view_set_tooltip_cell): convenience functions to set
834         tip area for row/column/cell.
835
836         * tests/testtooltips.c (query_tooltip_tree_view_cb): use
837         gtk_tree_view_set_tooltip_row.
838
839 2007-07-12  Cody Russell  <bratsche@gnome.org>
840
841         * gdk/win32/gdkevents-win32.c
842         * gdk/win32/gdkwindow-win32.[ch]: Fix transient windows on Win32
843         so that when a transient child window is closed (particularly when
844         there are 3 or more levels of transient windows), the correct window
845         receives focus rather than a seemingly random window. (#112404)
846
847 2007-07-12  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>
848
849         * gdk/directfb/gdkevents-directfb.c:
850         * gdk/directfb/gdkwindow-directfb.c:
851         * gdk/directfb/gdkprivate-directfb.h: Fixed memory leak at window closing,
852         patch provided by Simon Lanzmich
853
854 Thu Jul 12 18:03:02 2007  Tim Janik  <timj@gtk.org>
855
856         * gdk/gdk.c (gdk_threads_add_idle_full): clarified documentation example.
857
858 2007-07-12  Matthias Clasen  <mclasen@redhat.com>
859
860         * gtk/gtktextivew.c: 
861         * gtk/gtkclipboard.c: Add documentation.
862
863 2007-07-11  Matthias Clasen  <mclasen@redhat.com>
864
865         * gtk/gtkcelleditable.c:
866         * gtk/gtkcellrenderer.c:
867         * gtk/gtkcellrenderercombo.c:
868         * gtk/gtkcellrenderertext.c: Add more documentation.
869
870 2007-07-11  Matthias Clasen  <mclasen@redhat.com>
871
872         * gtk/gtktreeview.c:
873         * gtk/gtktoolitem.[hc]: Make parameter naming consistent.
874
875 2007-07-11  Matthias Clasen  <mclasen@redhat.com>
876
877         * gtk/gtkrange.c:
878         * gtk/gtkbindings.c: 
879         * gtk/gtkscalebutton.c: Small doc fixes.
880
881 2007-07-11  Matthias Clasen  <mclasen@redhat.com>
882
883         * gtk/gtkplug.c:
884         * gtk/gtksocket.c: Move docs inline, and add some missing
885         docs.  
886
887 2007-07-11  Kristian Rietveld  <kris@imendio.com>
888
889         * gtk/gtktreeview.c (gtk_tree_view_*_to_*_coords): x should be
890         changed when converting widget <=> bin_window coordinates, not
891         when bin_window <=> tree_window.
892
893 2007-07-11  Matthias Clasen  <mclasen@redhat.com>
894
895         * gtk/gtk.symbols:
896         * gtk/gtkiconview.[hc]
897         (gtk_icon_view_convert_widget_to_bin_window_coords): New
898         function to convert widget coords to what is expected by
899         the at_pos functions.  (#455984)
900
901 2007-07-11  Matthias Clasen  <mclasen@redhat.com>
902
903         * gtk/gtkwiget.c: Don't include gtktooltips.h, it is
904         not needed anymore.
905
906 2007-07-11  Christian Persch  <chpe@gnome.org>
907
908         * gtk/gtkaction.c: (gtk_action_buildable_set_name),
909         (gtk_action_finalize), (gtk_action_set_property),
910         (gtk_action_get_property):
911         * gtk/gtkactiongroup.c: (gtk_action_group_init),
912         (gtk_action_group_add_action),
913         (gtk_action_group_add_action_with_accel),
914         (gtk_action_group_remove_action): Intern the action's name. Saves two
915         string duplicates of it per action; bug #455645.
916
917 2007-07-10  Richard Hult  <richard@imendio.com>
918
919         * gdk/quartz/gdkwindow-quartz.c: (gdk_window_new),
920         (show_window_internal), (gdk_window_show), (gdk_window_hide): Add
921         hack to workaround the broken tracking rect implementation in
922         quartz, that doesn't seem to produce events if the window shows up
923         under the mouse.
924
925 2007-07-10  Kristian Rietveld  <kris@imendio.com>
926
927         * gtk/gtk.symbols:
928         * gtk/gtkwidget.[ch] (gtk_widget_{get,set}_has_tooltip): add
929         getter/setter pair, slight addition to has-tooltip property
930         documentation,
931         (gtk_widget_real_set_has_tooltip): renamed internal function.
932
933 2007-07-10  Christian Persch  <chpe@gnome.org>
934
935         * gtk/gtkaction.c: (gtk_action_sync_tooltip),
936         (gtk_action_set_tooltip):
937         * gtk/gtkuimanager.c: (update_node): Remove work-around for the old
938         tooltips code, and just set the action tooltip immediately on the
939         proxy widget. Bug #455482.
940
941 2007-07-10  Kristian Rietveld  <kris@imendio.com>
942
943         * gtk/gtktooltip.c (find_widget_under_pointer),
944         (child_location_foreach): use gtk_container_forall, instead of
945         gtk_container_foreach().  Makes tooltips on notebook tabs work. (Fixes
946         bug reported by Christian Persch).
947
948 2007-07-10  Kristian Rietveld  <kris@imendio.com>
949
950         * gtk/gtktooltip.c (child_location_foreach): ignore invisible
951         (!drawable) widgets.  (Fixes bug reported by Paolo Borelli).
952
953 2007-07-10  Matthias Clasen  <mclasen@redhat.com>
954
955         * README.in: Make sure all deprecations are mentioned.
956
957 2007-07-10  Matthias Clasen  <mclasen@redhat.com>
958
959         * gtk/gtkrecentmanager.c: Fix some doc formatting
960
961 2007-07-10  Matthias Clasen  <mclasen@redhat.com>
962
963         * gtk/gtk-builder-convert: Fix a typo
964
965 2007-07-10  Matthias Clasen  <mclasen@redhat.com>
966
967         * NEWS: Updates
968
969 2007-07-09  Matthias Clasen  <mclasen@redhat.com>
970
971         * gtklabel.[ch]: Use a bit of the GtkLabel structure to
972         remember that a pattern has been set.
973         (gtk_label_set_pattern_internal): Don't do anything if 
974         a specific pattern has been set.
975         (gtk_label_set_pattern): set the new bit to TRUE when 
976         setting a pattern, and recalculate everything if the 
977         pattern is unset. Fix gtk_label_set_pattern() not working 
978         anymore.  (#452861, Vincent Untz)
979
980 2007-07-09  Claude Paroz  <claude@2xlibre.net>
981
982         * configure.in: Changed uz to uz@cyrillic and uz@Latn to uz.
983         See bug #451164.
984
985 2007-07-09  Matthias Clasen  <mclasen@redhat.com>
986
987         * gtk/gtkvolumebutton.c: Remove deprecated tooltips,
988         use new tooltips API.  (#449311, Jan Arne Petersen)
989
990 2007-07-09  Matthias Clasen  <mclasen@redhat.com>
991
992         * gtk/gtkselection.c (normalize_to_crlf): Don't ignore
993         the passed-in len parameter.  (#430049, Yevgen Muntyan)
994
995 2007-07-09  Matthias Clasen  <mclasen@redhat.com>
996
997         * gtk/gtkframe.c (gtk_frame_size_allocate): Improve the
998         handling of broken situations.  (#427899, Francesco Montorsi)
999
1000 2007-07-09  Matthias Clasen  <mclasen@redhat.com>
1001
1002         * gtk/gtkviewport.c (gtk_viewport_size_request): Changed size 
1003         requisition so the viewport does not add the border thickness 
1004         if it has GTK_SHADOW_NONE selected.  (#361781, Miguel Gomez)
1005
1006 2007-07-09  Matthias Clasen  <mclasen@redhat.com>
1007
1008         * gtk/gtktooltip.c (gtk_tooltip_trigger_tooltip_query): 
1009         Fix a typo in the docs.  (#453930, Guillaume Cottenceau)
1010
1011 2007-07-09  Kristian Rietveld  <kris@imendio.com>
1012
1013         Replace non-deprecated API using old tooltips API, deprecate
1014         old tooltips API for real. (#451575).
1015
1016         * gtk/gtk.symbols: updated.
1017
1018         * gtk/gtkwidget.c (gtk_widget_real_show_help): don't call
1019         _gtk_tooltips_toggle_keyboard_mode() anymore.
1020
1021         * gtk/gtkmenutoolbutton.[ch] (gtk_menu_tool_button_set_arrow_tooltip):
1022         deprecated,
1023         (gtk_menu_tool_button_set_arrow_tooltip_{text,markup}): replacements.
1024
1025         * gtk/gtktoolitem.[ch] (gtk_tool_item_real_set_tooltip): use
1026         new API,
1027         (gtk_tool_item_set_tooltip): deprecated,
1028         (gtk_tool_item_set_tooltip_{text,markup): replacements.
1029         (GtkToolItemClass:set_tooltip): deprecated.
1030
1031         * gtk/gtktooltips.[ch]: strip out all unused parts, made
1032         gtk_tooltips_set_tip() call gtk_widget_set_tooltip_text(),
1033         deprecate all of gtk_tooltips_*.
1034
1035         * gtk/gtktoolbar.[ch] (gtk_toolbar_get_tooltips): always return
1036         TRUE,
1037         (GtkToolbar:tooltips): deprecated, renamed.
1038
1039         * gtk/gtkaction.c (gtk_action_sync_tooltip): use new API to
1040         set the tooltip text.
1041
1042         * tests/autotestfilechooser.c: #undef GTK_DISABLE_DEPRECATED for now,
1043         will be removed GtkFileChooserDefault has been converted.
1044
1045 2007-07-09  Matthias Clasen  <mclasen@redhat.com>
1046
1047         * gtk/gtktreeview.c
1048         (gtk_tree_view_convert_bin_window_to_widget_coords:
1049         Fix a typo in the docs.  (#453673, Guillaume Cottenceau)
1050
1051 2007-07-09  Matthias Clasen  <mclasen@redhat.com>
1052
1053         * gtk/gtkcombobox.c (gtk_combo_box_model_row_deleted): Emit 
1054         ::changed when removing the active row.  (#452056, Paul Pogonyshev)
1055
1056 2007-07-09  Matthias Clasen  <mclasen@redhat.com>
1057
1058         * gtk/gtksearchenginesimple.c: Address some thread-safety
1059         issues.  (#452598)
1060
1061 2007-07-09  Matthias Clasen  <mclasen@redhat.com>
1062
1063         * modules/printbackends/*/Makefile.am: Fix build problems
1064         on Cygwin.  (#448604)
1065
1066 2007-07-09  Jaap Haitsma  <jaap@haitsma.org>
1067
1068         * gtk/gtkstatusicon.c: Remove usage of deprecated GtkTooltips API. Use
1069         gtk_widget_set_tooltip_text instead
1070
1071 2007-07-09  Johan Dahlin  <jdahlin@async.com.br>
1072
1073         * gtk/gtktooltip.c:
1074         * gtk/gtktooltip.h: Make the GTK_TOOLTIP and GTK_IS_TOOLTIP macros public.
1075
1076 2007-07-09  Johan Dahlin,,,  <jdahlin@lozenge>
1077
1078         * demos/gtk-demo/demo.ui:
1079         * gtk/gtk-builder-convert:
1080         * gtk/gtkactiongroup.c: (gtk_action_group_buildable_init),
1081         (gtk_action_group_buildable_add_child),
1082         (accelerator_start_element),
1083         (gtk_action_group_buildable_custom_tag_start),
1084         (gtk_action_group_buildable_custom_tag_end):
1085         * gtk/gtkuimanager.c: (child_hierarchy_changed_cb),
1086         (gtk_ui_manager_buildable_construct_child):
1087         * tests/buildertest.c: (test_uimanager_simple):
1088
1089         Add actiongroup/action accelerator support for builder. #454654
1090
1091 2007-07-08  Matthias Clasen  <mclasen@redhat.com>
1092
1093         * gtk/gtkbuilderparser.c (pgettext): Support old-style
1094         message contexts, too. 
1095
1096 2007-07-08  Johan Dahlin  <jdahlin@async.com.br>
1097
1098         * gtk/gtk-builder-convert: Improve the way properties
1099         are copied over from a menuitem to an action.
1100         
1101 2007-07-08  Johan Dahlin  <jdahlin@async.com.br>
1102
1103         * gtk/gtk-builder-convert (GtkBuilderConverter._convert_menuitem): Convert
1104         GtkMenus which are not part of a GtkMenuBar. Also move over activate signals
1105         when converting a GtkMenuItem subclass to an action. 
1106         (#454830, Bastien Nocera)
1107
1108         * gtk/gtkbuilderparser.c (parse_signal): Parse last_modification_time
1109         attribute in <signal> tag
1110
1111 2007-07-07  Matthias Clasen <mclasen@redhat.com>
1112
1113         * gtk/gtkbuilderprivate.h:
1114         * gtk/gtkbuilderparser.c: Support context and comments
1115         for properties.
1116
1117 2007-07-07  Matthias Clasen <mclasen@redhat.com>
1118
1119         * gtk/gtkwidget.c: Fix some typos, and a memory management bug.  
1120
1121 2007-07-08  Johan Dahlin  <jdahlin@async.com.br>
1122
1123         * gtk/gtkwidget.c (gtk_widget_buildable_custom_tag_start): 
1124         Parse <accessibility> but don't do anything yet.
1125         * gtk/gtk-builder-convert (GtkBuilderConverter._parse): 
1126         Do not strip atk/accessibility tags
1127         * tests/buildertest.c (test_widget): 
1128         Test this
1129         
1130 Sun Jul  8 01:33:45 2007  Tim Janik  <timj@gtk.org>
1131
1132         * gdk/gdkwindow.c: docu fixup by Bjoern Lindqvist, #454703.
1133
1134 2007-07-07  Richard Hult  <richard@imendio.com>
1135
1136         * gdk/quartz/GdkQuartzWindow.c ([GdkQuartzWindow -windowDidResignMain:]) 
1137         ([GdkQuartzWindow -windowDidBecomeMain:]): 
1138         * gdk/quartz/gdkwindow-quartz.c (_gdk_quartz_window_did_resign_main)
1139         (_gdk_quartz_window_did_become_main, gdk_window_hide)
1140         (_gdk_windowing_window_destroy): Keep a stack of main windows and
1141         select the most recent one when hiding/closing the current one.
1142
1143 2007-07-07  Johan Dahlin  <jdahlin@async.com.br>
1144
1145         * gtk/gtk-builder-convert (GtkBuilderConverter._convert_textview_text): 
1146         Convert GtkTextView::text properties
1147         (GtkBuilderConverter): Refactor; Optimize widget lookups by not
1148         traversing the whole tree.
1149         Use a common api to create sizegroups, actiongroups and uimanagers
1150         to avoid name conflicts.
1151         Output newly created objects sorted by id before the old roots under
1152         <interface>
1153         (GtkBuilderConverter._parse): Remove unsupported atkrelation and atkproperty
1154         tags
1155         (GtkBuilderConverter._convert_menuitem): Add support for CheckMenuItems
1156         and do not set name and action on separators
1157         (GtkBuilderConverter._add_action_from_menuitem): Only set stock_id
1158         on the action if the menuitem had a stock or label property set
1159
1160 2007-07-06  Richard Hult  <richard@imendio.com>
1161
1162         * gdk/quartz/gdkprivate-quartz.h:
1163         * gdk/quartz/gdkwindow-quartz.c:
1164         * gdk/quartz/GdkQuartzWindow.c: Fix (de)miniaturizing transient
1165         windows, by (un)setting the parent before and after miniaturizing.
1166
1167 2007-07-06  Richard Hult  <richard@imendio.com>
1168
1169         * gdk/quartz/gdkkeys-quartz.c (gdk_keymap_have_bidi_layouts): Add
1170         stub.
1171
1172 2007-07-06  Johan Dahlin  <jdahlin@async.com.br>
1173
1174         * gtk/gtkbuilder.c (gtk_builder_get_type_from_name): Add a missing
1175         semi-colon in the doc string, spotted by Johannes Sasonko
1176
1177 2007-07-05  Matthias Clasen  <mclasen@redhat.com>
1178
1179         * gtk/gtkbuilder.c: Support pixbuf properties by specifying
1180         a filename as the property value.  (#447966)
1181
1182 Wed Jul  4 12:20:23 2007  Tim Janik  <timj@imendio.com>
1183
1184         * gdk/gdkevents.c (gdk_event_request_motions): added usage example
1185         to gdk_event_request_motions() docs.
1186
1187 2007-07-04  Tor Lillqvist  <tml@novell.com>
1188
1189         * gtk/gtkstatusicon.c: On Win32 call
1190         gtk_status_icon_button_press() in an idle callback and not
1191         directly from the window procedure to avoid "g_main_loop_run():
1192         called recursively from within a source's check() or prepare()
1193         member, iteration not possible" warnings.
1194
1195 2007-07-04  Chris Wilson  <chris@chris-wilson.co.uk>
1196
1197         * gtk/gtkrecentchoosermenu.c (idle_populate_func),
1198         (idle_populate_clean_up), (gtk_recent_chooser_menu_populate):
1199         Remove a surplus GDK_THREADS_LEAVE() and avoid a potential use after
1200         free in the source destroy notify. (#453033)
1201
1202 2007-07-04  Johan Dahlin  <jdahlin@async.com.br>
1203
1204         * gtk/gtkcelllayout.c (_gtk_cell_layout_buildable_add_child): 
1205         pack children from the start instead of the end, this should
1206         probably be made configurable at some point.
1207
1208         * gtk/gtk-builder-convert:
1209         Add support for converting GtkComboBox items, also make sure
1210         that we support more than one GtkAdjustment in a file
1211
1212 2007-07-03  Richard Hult  <richard@imendio.com>
1213
1214         * gdk/quartz/gdkevents-quartz.c: Keep track of button state and
1215         include it in key events. Needed for gimp's selection tools and
1216         fixes bug #453411.
1217
1218 2007-07-03  Matthias Clasen  <mclasen@redhat.com>
1219
1220         * gtk/gtkbuilder.c: Fix some typos in docs.  (#452278,
1221         Adam Schreiber)
1222
1223 2007-07-03  Richard Hult  <richard@imendio.com>
1224
1225         * gdk/quartz/gdkevents-quartz.c (create_key_event): Include
1226         modifier state in key release events. Fixes bug #453413.
1227
1228 2007-07-03  Matthias Clasen  <mclasen@redhat.com>
1229
1230         * gtk/gtkcelllayout.c (attributes_text_element): Report
1231         errors about integer parsing back up.  (#452988)
1232
1233         * tests/buildertest.c: Add an extra check.
1234
1235 2007-07-03  Matthias Clasen  <mclasen@redhat.com>
1236
1237         * gtk/gtkbutton.c (gtk_button_construct_child): Don't leave
1238         priv->image dangling when use-stock is set to FALSE.  (#437281,
1239         Jochen Baier)
1240
1241 2007-07-03  Tor Lillqvist  <tml@novell.com>
1242
1243         * configure.in: Handle GDK_PIXBUF_EXTRA_LIBS like GDK_EXTRA_LIBS,
1244         i.e. clear it if enable_explicit_deps isn't on. If we build with
1245         --with-included-loaders and --enable-explicit-deps=no we don't
1246         want -ltiff -ljpeg etc in the gdk-pixbuf-2.0.pc file.
1247
1248 2007-07-03  Tor Lillqvist  <tml@novell.com>
1249
1250         * gdk/win32/gdkkeys-win32.c (gdk_keymap_have_bidi_layouts):
1251         Implement. Just return FALSE for now. What should this function
1252         actually do? Does keyboards layouts being "in use" mean that such
1253         layouts can be switched to on the fly using some extra-GTK+
1254         mechanism? If so we need to actually check that.
1255
1256 2007-07-03  Tristan Van Berkom  <tvb@gnome.org>
1257
1258         * gtk/gtkwidget.c: Fixed assertions from setting "tooltip-text" to NULL
1259         (bug 452425)
1260
1261 2007-07-03  Johan Dahlin  <jdahlin@async.com.br>
1262
1263         * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root): Add a
1264         --root option. Filter empty properties. Convert GtkAdjustments.
1265
1266         * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished): Mimic the behavior
1267         of gtk_dialog_add_action_widget closer, to make clicking on the buttons
1268         actually work.
1269
1270 2007-07-02  Matthias Clasen  <mclasen@redhat.com>
1271
1272         * configure.in: Bump version
1273
1274         * === Released 2.11.5 ===
1275
1276         * tests/autotestkeywords.cc: Make platform includes
1277         conditional.
1278
1279         * gtk/Makefile.am: File list fixes
1280
1281         * NEWS: Updates
1282
1283 2007-07-02  Kristian Rietveld  <kris@gtk.org>
1284
1285         * gtk/gtk.symbols:
1286         * gtk/gtktreeview.[ch] (gtk_tree_view_is_rubber_banding_active): new
1287         function to check whether a rubber banding operation is currently
1288         active.  (#393579, Christian Neumair).
1289
1290 2007-07-02  Matthias Clasen  <mclasen@redhat.com>
1291
1292         * NEWS: Updates
1293
1294 2007-07-02  Jan Arne Petersen  <jpetersen@jpetersen.org>
1295
1296         * gtk/gtkscalebutton.c: (gtk_scale_button_update_icon): Add
1297         parentheses to fix the operator order in the icon selection.
1298
1299 2007-07-01  Johan Dahlin  <jdahlin@async.com.br>
1300
1301         * gtk/gtk-builder-convert (GtkBuilderConverter): 
1302         Convert to getopt, improved documentation, change
1303         the script to require two arguments
1304
1305 2007-06-30  Richard Hult  <richard@imendio.com>
1306
1307         Continue the event handling cleanup:
1308
1309         * gdk/quartz/gdkevents-quartz.c: (synthesize_crossing_events):
1310         Don't do anything if the old and new windows are the same,
1311         simplifies the callers.
1312         (find_mouse_window_for_ns_event): Always return a window (root
1313         instead of NULL). Remove unneccessary check for the current mouse
1314         window being NULL, that was a workaround for a now fixed
1315         bug. Convert to root coordinates if we don't find a window.
1316         (synthesize_crossing_events_for_ns_event): Simplify and add
1317         comment.
1318
1319 2007-06-30  Richard Hult  <richard@imendio.com>
1320
1321         * gdk/quartz/gdkevents-quartz.c:
1322         (synthesize_crossing_events_for_ns_event): Simplify (get the
1323         origin directly from the window).
1324
1325 2007-06-30  Richard Hult  <richard@imendio.com>
1326
1327         * gdk/quartz/gdkevents-quartz.c: (create_crossing_event),
1328         (synthesize_crossing_events), (find_mouse_window_for_ns_event),
1329         (synthesize_crossing_events_for_ns_event): No need to special case
1330         the root window now that it has the right size.
1331
1332 2007-06-30  Richard Hult  <richard@imendio.com>
1333
1334         * gdk/quartz/gdkwindow-quartz.c:
1335         * gdk/quartz/gdkevents-quartz.c: Improve comments in those
1336         files. Add a debugging helper to print out information about a
1337         window.
1338
1339 2007-06-30  Johan Dahlin  <jdahlin@async.com.br>
1340
1341         * gtk/gtkbuilder.c:
1342         * gtk/gtkbuilder.h:
1343         * gtk/gtkbuilderparser.c:
1344         * gtk/gtkbuilderprivate.h:
1345         * gtk/gtkwidget.c: 
1346         * tests/buildertest.c:
1347
1348         Improve error handling for enum/flags, rename the converter functions
1349         to be consistent. Add tests. Fixes #452465
1350
1351 2007-06-30  Richard Hult  <richard@imendio.com>
1352
1353         * gdk/quartz/gdkwindow-quartz.c: (gdk_window_get_origin): Make
1354         this work properly for the root window.
1355
1356 2007-06-30  Richard Hult  <richard@imendio.com>
1357
1358         * gdk/quartz/GdkQuartzView.c: Improve the tracking rect updating:
1359         - No need to override setFrame.
1360         - Use our own size instead of the bounds from the view as it's not
1361         always updated before the tracking rect.
1362         - Only reset the tracking rect if the new window is nil).
1363         
1364         * gdk/quartz/GdkQuartzWindow.c: Update the bounds of the content
1365         view when the window size changes.
1366
1367 2007-06-30  Matthias Clasen  <mclasen@redhat.com>
1368
1369         * gtk/gtkbuilderparser.c (_gtk_builder_parse_boolean): 
1370         Use g_ascii_strdown() instead of a rolling our own.
1371
1372 2007-06-30  Johan Dahlin  <jdahlin@async.com.br>
1373
1374         * gtk/gtkbuilderparser.c: (_get_type_by_symbol), (parse_object),
1375         (parse_child):
1376         * tests/buildertest.c: (test_types):
1377         Move type-func to <object> instead of <child>, add a test to
1378         make sure that it works as desired, #452463
1379
1380         * gtk/gtkbuilder.c: (gtk_builder_value_from_string_type):
1381         * gtk/gtkbuilderparser.c: (_gtk_builder_parse_boolean),
1382         (parse_property), (parse_signal):
1383         * gtk/gtkbuilderprivate.h:
1384         * tests/buildertest.c: (test_value_from_string):
1385         Make boolean string parsing consistent, #452464
1386
1387 2007-06-30  Matthias Clasen  <mclasen@redhat.com>
1388
1389         * gtk/gtkbuilder.c:
1390         * gtk/gtkbuildable.c: Documentation updates.
1391
1392 2007-06-29  Matthias Clasen  <mclasen@redhat.com>
1393
1394         * gdk/gdk.symbols:
1395         * gdk/gdkkeys.h:
1396         * gdk/x11/gdkkeys-x11.c (gdk_keymap_have_bidi_layouts): New
1397         function to determine if keyboard layouts for both LTR and LTR 
1398         languages are in use. Refactor the direction caching code to
1399         make this information available.  (#353805, Behnam Esfahbod)
1400
1401 2007-06-29  Matthias Clasen  <mclasen@redhat.com>
1402
1403         * modules/printbackend/cups/gtkcupsutils.c (_post_check):
1404         (_get_check): Enable SSL support.  (#451070, Vince Busam)
1405
1406 2007-06-29  Johan Dahlin  <jdahlin@async.com.br>
1407
1408         * gtk/gtkbuilder.c: (gtk_builder_finalize),
1409         (gtk_builder_get_parameters), (_gtk_builder_construct):
1410         * tests/buildertest.c:
1411
1412         Improve reference counting, #447967
1413
1414 2007-06-29  Ryan Lortie  <desrt@desrt.ca>
1415
1416         * tests/testgtk.c (create_composited_window): Connect the "destroy"
1417         signal so that the 'window' pointer is set back to NULL (like for the
1418         other examples).
1419
1420         * gdk/x11/gdkwindow-x11.c (gdk_window_impl_x11_finalize): Don't
1421         destroy the Damage here.  By finalize() XDestroyWindow has already
1422         been called (and took the Damage with it).
1423
1424         Bug #452046.
1425
1426 2007-06-29  Emmanuele Bassi  <ebassi@gnome.org>
1427
1428         * gtk/gtkrecentchooserdefault.c (recent_meta_data_func): Escape
1429         markup entities in the name and URI before displaying them.
1430
1431 2007-06-29  Emmanuele Bassi  <ebassi@gnome.org>
1432
1433         * gtk/gtkrecentmanager.c (get_icon_for_mime_type): Do not
1434         cache the icon pixbufs but rely on the GtkIconTheme not to
1435         hit the disk cache too much (should tentatively fix #426987).
1436
1437 2007-06-28  Mathias Hasselmann  <mathias.hasselmann@gmx.de>
1438
1439         * modules/engines/ms-windows/msw_style.c: Draw no bevel
1440         when "GtkToolbar::shadow-type" is "none" (#450469).
1441
1442 2007-06-28  Johan Dahlin  <jdahlin@async.com.br>
1443
1444         * gtk/gtk-builder-convert (_indent): Prettify the output by
1445         running it through xmllint --format if xmllint is available 
1446         which also requires the subprocess module only available 
1447         in python 2.4 or later
1448
1449 2007-06-28  Christian Persch  <chpe@gnome.org>
1450
1451         * gtk/gtkvolumebutton.c: (gtk_volume_button_class_init),
1452         (gtk_volume_button_init), (gtk_volume_button_dispose),
1453         (gtk_volume_button_update_tooltip): Make the volume button use range
1454         0.0 to 1.0 by default, and fix tooltips code to cope with different ranges.
1455         Bug #451866.
1456
1457 2007-06-28  Yevgen Muntyan  <muntyan@tamu.edu>
1458
1459         * gtk/gtktextutil.c (_gtk_text_util_get_block_cursor_location):
1460         do right thing in one-character lines and at paragraph end (#448313).
1461
1462         * configure.in: require pango-1.17.3 to get fixed pango_layout_index_to_line_x()
1463         (pango #448342).
1464
1465 2007-06-27  Johan Dahlin  <jdahlin@async.com.br>
1466
1467         * gtk/gtkbuilderparser.c (parse_property): Use
1468         the attribute name in the error message instead of
1469         the value.
1470         
1471         * demos/gtk-demo/demo.ui: Set name of Help menu
1472         to HelpMenu
1473
1474         * gtk/gtkbuilder.c (apply_delayed_properties): 
1475         Print out the name of the right object in the warning
1476         (#451314, Philip Withnall)
1477
1478         * gtk/gtk-builder-convert (GtkBuilderConverter._parse): Remove
1479         glade-interface doctype if found.
1480         (GtkBuilderConverter._convert): 
1481         Make sure that we can convert Gazpacho files too.
1482
1483 2007-06-27  Cody Russell  <bratsche@gnome.org>
1484
1485         * modules/engines/ms-windows/msw_style.c (draw_themed_tab_button):
1486         Fixed, very hackishly, a one pixel error that occurs using the
1487         XP theme engine only on the left-most tab, if it is active, when
1488         the notebook is bottom-oriented. (#392283)
1489
1490 2007-06-27  Johan Dahlin  <jdahlin@async.com.br>
1491
1492         * tests/buildertest.c: (test_value_from_string): 
1493         Check the code and domain of GErrors instead of the string values
1494         
1495         * gtk/gtkbuilder.c: (gtk_builder_get_parameters),
1496         (gtk_builder_value_from_string),
1497         (gtk_builder_value_from_string_type):
1498         * gtk/gtkbuilder.h:
1499         * gtk/gtkcontainer.c: (gtk_container_buildable_set_child_property),
1500         (attributes_text_element):
1501         * gtk/gtkliststore.c: (list_store_text):
1502         * tests/buildertest.c: (test_value_from_string):
1503
1504         Add GtkBuilder and GError arguments to gtk_builder_value_from_string
1505         and gtk_builder_value_from_string_type. (#451428)
1506
1507 2007-06-27  Xan Lopez  <xan@gnome.org>
1508
1509         * gtk/gtkvbbox.c (gtk_vbutton_box_size_allocate):
1510         * gtk/gtkhbbox.c (gtk_hbutton_box_size_allocate):
1511
1512         Do not add border_width to the first button initial
1513         coordinate, since it's already taken into account in
1514         the allocation value. (#451484)
1515
1516 2007-06-27  Michael Natterer  <mitch@imendio.com>
1517
1518         Merged from maemo-gtk:
1519
1520         * gtk/gtkmenu.c (gtk_menu_handle_scrolling): when updating the
1521         scroll arrows' state, make sure we don't overwrite the insensitive
1522         state that might have been set by the first scroll step hitting
1523         the top/bottom border of the menu.
1524
1525 Wed Jun 27 13:27:21 2007  Tim Janik  <timj@gtk.org>
1526
1527         * gtk/gtkradiobutton.[hc]: applied patch to improve variable names, 
1528         by Olivier Delhomme, #451527.
1529
1530 Wed Jun 27 11:57:41 2007  Tim Janik  <timj@imendio.com>
1531
1532         * gtk/gtkstatusicon.c (gtk_status_icon_position_menu): fixed
1533         push_in description.
1534
1535 2007-06-27  Johan Dahlin  <jdahlin@async.com.br>
1536
1537         * gtk/gtkbuilderparser.c: Plug leaks in error code paths
1538
1539 2007-06-26  Johan Dahlin  <jdahlin@async.com.br>
1540
1541         * tests/buildertest.c (test_object_properties): 
1542         Add a test to check object properties
1543
1544         * gtk/gtkbuilder.h (enum): 
1545         * gtk/gtkbuilderparser.c (end_element): 
1546         * tests/buildertest.c (test_parser): 
1547         Set an error if we encounter properties without values set
1548         (#451303, Philip Withnall)
1549         (test_object_properties): Add a test
1550
1551         * demos/gtk-demo/builder.c (do_builder): Connect the
1552         destroy signal in the example instead of the ui file.
1553         Also set the screen and title of the window.
1554         (#451345, Thomas Rydzynski)
1555
1556 2007-06-26  Richard Hult  <richard@imendio.com>
1557
1558         * gtk/gtkbuilder.c: (gtk_builder_value_from_string_type): Fix a
1559         bunch of small bugs when parsing property values
1560         (boolean/int/uint/long/ulong/float/double). Bug #451353.
1561
1562         * tests/buildertest.c: Add tests for the above.
1563
1564 2007-06-26  Emmanuele Bassi  <ebassi@gnome.org>
1565
1566         * gtk/gtkfilechooserdefault.c (list_mtime_data_func): Fix
1567         a typo in the previous commit.
1568
1569         (shortcuts_append_desktop): Remove unused variable and
1570         hush the compiler warning.
1571
1572 2007-06-26  Emmanuele Bassi  <ebassi@gnome.org>
1573
1574         * gtk/gtkfilechooserdefault.c (list_mtime_data_func): Show
1575         the time of last change in the file chooser, for files
1576         modified today or yesterday. (#324543)
1577
1578         * configure.in: Check for localtime_r().
1579
1580 2007-06-26  Cody Russell  <bratsche@gnome.org>
1581
1582         * modules/engines/ms-windows/xp_theme.[ch]
1583         * modules/engines/ms-windows/msw_style.c: Add support for 
1584         drawing checkboxes with inconsistent states. (Tor, #164809)
1585
1586 2007-06-26  Johan Dahlin  <jdahlin@async.com.br>
1587
1588         * gtk/gtk-builder-convert (GtkBuilderConverter.to_xml): Encode 
1589         the output in utf-8 as suggested by Bogdan Nicula
1590
1591 2007-06-22  Mathias Hasselmann  <mathias.hasselmann@gmx.de>
1592  
1593         * configure.in, tests/Makefile.am, tests/autotestkeywords.cc,
1594         tests/dummy-headers/*: Extend the C++ keyword test
1595         to include internal GDK headers (#449016).
1596
1597 2007-06-26  Mathias Hasselmann  <mathias.hasselmann@gmx.de>
1598
1599         * ChangeLog, configure.in, tests/Makefile.am, 
1600         tests/autotestkeywords.cc: Create test for finding
1601         C++ keywords in public header files (#449016).
1602
1603 2007-06-26  Kristian Rietveld  <kris@imendio.com>
1604
1605         * gtk/gtktooltips.h: remove the deprecation macros for now to fix
1606         the build and give us a chance to fix widgets which use GtkTooltips
1607         in their API.
1608
1609 2007-06-26  Kristian Rietveld  <kris@imendio.com>
1610
1611         * gtk/gtk.symbols:
1612         * gtk/gtktooltips.[ch]:
1613         * docs/reference/gtk/tmpl/gtktooltips.sgml: deprecate GtkTooltips.
1614
1615 2007-06-25  Johan Dahlin  <jdahlin@async.com.br>
1616
1617         * gtk/gtk-builder-convert: Add a script to convert libglade files
1618         to something gtkbuilder can parse.
1619         Fixes #447995
1620
1621 2007-06-25  Richard Hult  <richard@imendio.com>
1622
1623         * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Don't steal
1624         menu events while the keyboard is grabbed.
1625
1626 2007-06-25  Richard Hult  <richard@imendio.com>
1627
1628         * gdk/quartz/Makefile.am:
1629         * gdk/quartz/xcursors.h:
1630         * gdk/quartz/gdkcursor-quartz.c: Fallback to X cursors for the
1631         ones that OS X doesn't provide. Fixes bug #327912.
1632
1633 2007-06-25  Emmanuele Bassi  <ebassi@gnome.org>
1634
1635         * gtk/gtkrecentmanager.c:
1636         (build_recent_info): building a GtkRecentInfo can never fail.
1637
1638         (gtk_recent_manager_get_items): Clamp the list while building
1639         it so we don't need to traverse it more than once. (#446532,
1640         Philip Withnall)
1641
1642 2007-06-25  Tor Lillqvist  <tml@novell.com>
1643
1644         * gdk/win32/gdkevents-win32.c (gdk_pointer_grab): Revert my
1645         attempted overly simple fix for #445284, as it causes a
1646         regression. (For instance, in GIMP the tool cursor gets used also
1647         for the right-click menu in image windows.) A more complex fix is
1648         needed to more completely emulate X11 behaviour.
1649
1650 2007-06-24  Kristian Rietveld  <kris@gtk.org>
1651
1652         * Makefile.am: fix little mistake in my last commit ...
1653
1654 2007-06-24  Kristian Rietveld  <kris@gtk.org>
1655
1656         * gtk/gtksearchenginequartz.[ch]: Add a search engine which queries
1657         the Spotlight database on MacOS X (only available in 10.4 and
1658         higher).
1659
1660         * gtk/gtksearchengine.c (_gtk_search_engine_new): try creating
1661         quartz search engine if we are on OS X.
1662
1663         * Makefile.am: added use_quartz_sources section with new file.
1664
1665 2007-06-22  Emmanuele Bassi  <ebassi@gnome.org>
1666
1667         * gtk/gtksearchenginebeagle.c:
1668         * gtk/gtksearchenginesimple.c:
1669         * gtk/gtksearchenginetracker.c: Remove the MIME type calls and
1670         queries from the search engine implementations, since we use our
1671         own GtkFileSystem to filter out basing on MIME types and we cannot
1672         query MIME types anyway. The GtkQuery private object still has
1673         MIME type, as well as location, support for future expansion.
1674
1675 Fri Jun 22 12:13:39 2007  Tim Janik  <timj@imendio.com>
1676
1677         * gtk/gtkframe.c (gtk_frame_paint): applied patch from Xan Lopez
1678         to eliminate gap in painted frame for yaling=0.0 or yalign=1.0.
1679
1680         * tests/testframe.c: added test application from Xan Lopez to
1681         test xalign/yalign interactions with xthickness/ythickness.
1682
1683 Fri Jun 22 00:34:34 2007  Tim Janik  <timj@gtk.org>
1684
1685         * gdk/x11/gdkdisplay-x11.c (gdk_x11_display_get_xdisplay): applied
1686         patch from Mark Tiefenbruck to add missing return_if_fail, #449862.
1687
1688 2007-06-21  Matthias Clasen  <mclasen@redhat.com>
1689
1690         * gtk/gtktoolbar.c: Remove debug spew.  (#449492, Christian Persch)
1691
1692 2007-06-21  Matthias Clasen  <mclasen@redhat.com>
1693
1694         * gtk/gtkmain.c (gtk_main_do_event): Remove faulty and irrelevant
1695         enter-leave compression code.  (#449167, patch by Tim Janik)
1696
1697 2007-06-19  Johan Dahlin  <jdahlin@async.com.br>
1698
1699         * gdk/quartz/GdkQuartzView.c ([GdkQuartzView -updateTrackingRect]): Fix a typo
1700         in a comment
1701
1702 2007-06-20  Richard Hult  <richard@imendio.com>
1703
1704         * gdk/quartz/gdkwindow-quartz.c (gdk_window_new): 
1705         * gdk/quartz/GdkQuartzWindow.c (windowDidResize): Don't create or
1706         update the tracking rect in the window, move it to the view where
1707         it belongs.
1708
1709         * gdk/quartz/GdkQuartzView.c (updateTrackingRect)
1710         (viewDidMoveToWindow, viewWillMoveToWindow)
1711         (setFrame, setBounds): Create and update the tracking rect here.
1712
1713 2007-06-19  Mathias Hasselmann  <mathias.hasselmann@gmx.de>
1714
1715         * gdk/gdkinternals.h: Restore G_BEGIN_DECLS at the
1716         top of this file to make C++ compilers happy.
1717
1718 2007-06-19  Matthias Clasen <mclasen@redhat.com>
1719
1720         * configure.in: Bump version
1721
1722         * === Released 2.11.4 ===
1723
1724         * NEWS: Updates
1725
1726 2007-06-19  Sven Neumann  <sven@gimp.org>
1727
1728         * gtk/gtkicontheme.c (gtk_icon_info_copy): use g_slice_dup().
1729
1730 2007-06-19  Sven Neumann  <sven@gimp.org>
1731
1732         * gtk/gtktooltips.[ch]: mark the GtkTooltips struct as private.
1733         Keep the tooltips in a hash table instead of a linked list.
1734         Improves performance when using large amounts of tooltips (#447214).
1735
1736         * README.in: document the GtkTooltips changes.
1737
1738 2007-06-19  Johan Dahlin  <jdahlin@async.com.br>
1739
1740         * gtk/*: Rename buildable methods to not clash with widget 
1741         methods. (#448928, Torsten Schoenfeld)
1742
1743 2007-06-19  Emmanuele Bassi  <ebassi@gnome.org>
1744
1745         * gtk/gtkrecentmanager.c: Use g_timeout_add_seconds_full() for
1746         the timed poll of the storage file, since we are using multiple
1747         seconds intervals and we don't actually care about millisecond
1748         precision.
1749
1750         (threads_dispatch), (threads_free), (gtk_recent_manager_init),
1751         (gtk_recent_manager_set_filename): Roll our own version of
1752         gdk_threads_add_timeout() using g_timeout_add_seconds_full()
1753         while holding the GDK main lock.
1754
1755         * configure.in: Bump up the required GLib version, in order
1756         to use g_timeout_add_seconds_full().
1757
1758 2007-06-19  Emmanuele Bassi  <ebassi@gnome.org>
1759
1760         * gtk/gtkrecentmanager.c: Use a static variable to hold the
1761         singleton and remove the code that binds a recent manager to
1762         a GdkScreen.
1763
1764         (gtk_recent_manager_set_screen): Make it a NOOP.
1765         (gtk_recent_manager_get_for_screen): Proxy for
1766         gtk_recent_manager_get_default().
1767
1768         * gtk/gtk.symbols:
1769         * gtk/gtkrecentmanager.h: Deprecate gtk_recent_manager_set_screen()
1770         and gtk_recent_manager_get_for_screen().
1771
1772         * gtk/gtkmain.c: Force a synchronisation of the GtkRecentManager
1773         singleton (if any) when reaching main loop depth of 0.
1774
1775         * gtk/gtkrecentchooserdefault.c:
1776         (gtk_recent_chooser_default_dispose): Disconnect the changed
1777         signal only if we have a manager and we are connected to it.
1778
1779         (set_recent_manager): Ditto.
1780
1781         * README.in: Document the deprecations.
1782
1783 2007-06-18  Matthias Clasen <mclasen@redhat.com>
1784
1785         * gtk/gtkcellrendererspin.c: Fix some issues with refcounting
1786         of the adjustment.  (#448544, Carlos Garnacho)
1787
1788 2007-06-18  Gustavo J. A. M. Carneiro  <gjc@gnome.org>
1789
1790         reviewed by: Matthias Clasen
1791
1792         * gtk/gtkaccelgroup.c (gtk_accel_group_finalize): Remove closure
1793         invalidate notifiers. (#448484)
1794
1795 2007-06-17  Matthias Clasen <mclasen@redhat.com>
1796
1797         * README.in: Updates
1798
1799         * gtk/gtkmenushell.c: Make GtkMenuShell as an abstract type.
1800         It was already documented as such.  (#412357, Vincent Geddes)
1801
1802 2007-06-17  Matthias Clasen <mclasen@redhat.com>
1803
1804         * gtk/gtkcontainer.c: Fix a doc typo.
1805
1806 2007-06-17  Richard Hult  <richard@imendio.com>
1807
1808         * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Forward
1809         Mac OS menu shortcut events to the right menu.
1810
1811 2007-06-17  Richard Hult  <richard@imendio.com>
1812
1813         * gdk/quartz/gdkevents-quartz.c (gdk_event_translate)
1814         (synthesize_crossing_events_for_ns_event)
1815         (find_window_for_ns_event): More refactoring of the event
1816         handling: Extract synthesizing of crossing events from
1817         find_window_for_ns_event so that it doesn't have any side effects,
1818         and call the new function from gdk_event_translate instead.
1819
1820 2007-06-16  Richard Hult  <richard@imendio.com>
1821
1822         * gdk/quartz/gdkevents-quartz.c: (find_window_for_ns_event),
1823         (gdk_event_translate): Remove pointless logging for unhandled events.
1824         Activate the application on non-left clicks, since that is only done
1825         for left clicks and we depend on it to get events routed properly for
1826         context menus and other popup windows.
1827
1828 2006-09-22  Dennis Cranston  <dennis_cranston@yahoo.com>
1829
1830         * gtk/gtkfilechooserbutton.c: (change_icon_theme),
1831         (model_add_bookmarks), (model_update_current_folder):
1832         * gtk/gtkfilechooserdefault.c: (shortcuts_reload_icons),
1833         (shortcuts_insert_path):  Use the remote folder icon when
1834         appropriate.
1835
1836         Follow up to #354887
1837
1838 2007-06-17  Christian Persch  <chpe@gnome.org>
1839
1840         * gtk/Makefile.am: Pass the print settings to the preview programme.
1841         Bug #403717, patch by Carlos Garcia Campos.
1842
1843 2007-06-17  Xan Lopez  <xan@gnome.org>
1844
1845         * gdk/x11/gdkgeometry-x11.c: replace GDK_WINDOW calls by cast to
1846         GdkWindow. Patch by Tilman Sauerbeck from #63820.
1847
1848 2007-06-17  Daniel Elstner  <danielk@openismus.com>
1849         
1850         * modules/input/gtkimcontextmultipress.c (vfunc_filter_keypress):
1851         Change input method behavior to act on key presses instead of
1852         key releases, matching normal text input behavior.  This change
1853         alleviates the need to take special action for control keys not
1854         handled by the input module itself.
1855
1856 2007-06-17  Behdad Esfahbod  <behdad@gnome.org>
1857
1858         * gtk/gtkfontsel.c: List font sizes 6 and 7pt too. (#440450,
1859         Sebastien Bacher, Alex "weej" Jones)
1860
1861 2007-06-16  Yevgen Muntyan  <muntyan@tamu.edu>
1862
1863         * gtk/gtktextdisplay.c (render_para): fixed couple of drawing
1864         problems with block cursor (#448321).
1865
1866 2007-06-16  Richard Hult  <richard@imendio.com>
1867
1868         * gdk/quartz/gdkevents-quartz.c: (gdk_event_translate): Ignore
1869         events and break any grabs while the window is being dragged.
1870
1871 2007-06-16  Richard Hult  <richard@imendio.com>
1872
1873         * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_transient_for):
1874         Defer setting the parent until the window is shown, otherwise it
1875         gets unconditionally shown here.
1876
1877 2007-06-16  Johan Dahlin  <jdahlin@async.com.br>
1878
1879         * gtk/gtkbuilderparser.c (text): Swap argument order to dgettext
1880         (#448299, Jan Arne Petersen)
1881
1882 2007-06-16  Richard Hult  <richard@imendio.com>
1883
1884         * gdk/quartz/gdkevents-quartz.c (find_mouse_window_for_ns_event):
1885         Move the checks for no window or a non-GDK window from here...
1886         (gdk_event_translate): ...to here. Reorder the code so that we
1887         detect the cases where we need to break grabs before bailing
1888         out.
1889
1890 2007-06-16  Richard Hult  <richard@imendio.com>
1891
1892         * gdk/quartz/gdkevents-quartz.c (gdk_event_translate) 
1893         (break_all_grabs): Break out into a separate function.
1894
1895 2007-06-16  Richard Hult  <richard@imendio.com>
1896
1897         * gdk/quartz/GdkQuartzWindow.c: (isInMove): Implement, to be used
1898         to detect if the window is currently being moved with the mouse.
1899
1900 2007-06-16  Richard Hult  <richard@imendio.com>
1901
1902         * gdk/quartz/gdkwindow-quartz.c (gdk_window_set_transient_for):
1903         Don't set parent/child relationship for tooltip windows since that
1904         moves the parent window to the front, due to the tooltip having a
1905         high window level.
1906
1907 2007-06-16  Christian Persch  <chpe@gnome.org>
1908
1909         * gtk/gtkbuilder.c: (gtk_builder_real_get_type_from_name),
1910         (gtk_builder_get_type_from_name):
1911         * gtk/gtkbuilder.h: Don't use "typename" C++ keyword as parameter
1912         name. Bug #448193.
1913
1914 2007-06-15  Matthias Clasen  <mclasen@redhat.com>
1915         
1916         * configure.in: Bump version
1917
1918         * === Released 2.11.3 ===
1919
1920 2007-06-15  Johan Dahlin  <jdahlin@async.com.br>
1921
1922         * gtk/gtkuimanager.c: Base class should be GObject, not GtkObject.
1923
1924 2007-06-15  Matthias Clasen  <mclasen@redhat.com>
1925
1926         * gtk/gtkbuildable.c:
1927         * gtk/gtkbuilder.c: Documentation fixes
1928
1929         * gtk/gtktreeview.c: Fix up cross-references in docs.
1930         
1931         * gtk/Makefile.am: Don't install gtkbuilderprivate.h
1932
1933         * gtk/gtk.h: Include gtkbuilder.h
1934
1935         * NEWS: Updates
1936
1937 2007-06-15  Johan Dahlin  <jdahlin@async.com.br>
1938
1939         * gtk/gtkbuilder.c (gtk_builder_add_from_file): 
1940         (gtk_builder_value_from_string_type): 
1941         Use gsize instead of unsigned and gulong instead of long,
1942         fixes complation on OSX, fixes #447987
1943
1944 2007-06-15  Matthias Clasen  <mclasen@redhat.com>
1945         
1946         * gtk/gtkmenushell.[ch]: add move_selected signal to allow 
1947         overriding the default internal behaviour.  (#446833, Ryan Lortie)
1948
1949 2007-06-15  Mathias Hasselmann  <mathias.hasselmann@gmx.de>
1950
1951         * gtk/gtkwidget.c: Forgot to free the unescaped tooltip text.
1952
1953 2007-06-15  Mathias Hasselmann  <mathias.hasselmann@gmx.de>
1954
1955         * gtk/gtkwidget.c: Improving handling of tooltip-text property.
1956         * tests/testtooltips.c: Also check result of tooltip getters.
1957
1958 2007-06-15  Mathias Hasselmann  <mathias.hasselmann@gmx.de>
1959
1960         * docs/reference/gtk/gtk-sections.txt, gtk/gtk.symbols,
1961         gtk/gtkwidget.c, gtk/gtkwidget.h, tests/testtooltips.c: Introduce
1962         convenience property "GtkWidget:tooltip-text" taking care of escaping
1963         it for unwanted markup entities. Add functions to set tooltip text:
1964         gtk_widget_set_tooltip_text(), gtk_widget_set_tooltip_markup(),
1965         gtk_widget_get_tooltip_text(), gtk_widget_get_tooltip_markup().
1966
1967         * gtk/gtktooltip.c, gtk/gtktooltip.h: Add gtk_tooltip_set_text()
1968         to set the tooltip text without using markup.
1969
1970         Patches from Emmanuele Bassi (#447643).
1971
1972 2007-06-15  Johan Dahlin  <jdahlin@async.com.br>
1973
1974         reviewed by: Matthias Clasen
1975
1976         * demos/gtk-demo/Makefile.am:
1977         * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
1978         (do_builder):
1979         * demos/gtk-demo/demo.ui:
1980         * docs/reference/gtk/gtk-docs.sgml:
1981         * docs/reference/gtk/gtk-sections.txt:
1982         * docs/reference/gtk/gtk.types:
1983         * docs/reference/gtk/tmpl/gtkbuildable.sgml:
1984         * docs/reference/gtk/tmpl/gtkbuilder.sgml:
1985         * gtk/Makefile.am:
1986         * gtk/gtk.h:
1987         * gtk/gtk.symbols:
1988         * gtk/gtkaction.c: (gtk_action_buildable_init),
1989         (gtk_action_buildable_set_name), (gtk_action_buildable_get_name):
1990         * gtk/gtkactiongroup.c: (gtk_action_group_get_type),
1991         (gtk_action_group_buildable_init),
1992         (gtk_action_group_buildable_add),
1993         (gtk_action_group_buildable_set_name),
1994         (gtk_action_group_buildable_get_name):
1995         * gtk/gtkbuildable.c: (gtk_buildable_get_type),
1996         (gtk_buildable_set_name), (gtk_buildable_get_name),
1997         (gtk_buildable_add), (gtk_buildable_set_property),
1998         (gtk_buildable_parser_finished), (gtk_buildable_construct_child),
1999         (gtk_buildable_custom_tag_start), (gtk_buildable_custom_tag_end),
2000         (gtk_buildable_custom_finished),
2001         (gtk_buildable_get_internal_child):
2002         * gtk/gtkbuildable.h:
2003         * gtk/gtkbuilder.c: (gtk_builder_class_init), (gtk_builder_init),
2004         (gtk_builder_finalize), (gtk_builder_set_property),
2005         (gtk_builder_get_property), (_gtk_builder_resolve_type_lazily),
2006         (gtk_builder_real_get_type_from_name),
2007         (gtk_builder_get_parameters), (gtk_builder_get_internal_child),
2008         (_gtk_builder_construct), (_gtk_builder_add),
2009         (apply_delayed_properties), (_gtk_builder_finish),
2010         (gtk_builder_new), (gtk_builder_add_from_file),
2011         (gtk_builder_add_from_string), (gtk_builder_get_object),
2012         (object_add_to_list), (gtk_builder_get_objects),
2013         (gtk_builder_set_translation_domain),
2014         (gtk_builder_get_translation_domain),
2015         (gtk_builder_connect_signals_default),
2016         (gtk_builder_connect_signals), (gtk_builder_connect_signals_full),
2017         (gtk_builder_value_from_string),
2018         (gtk_builder_value_from_string_type),
2019         (_gtk_builder_enum_from_string), (_gtk_builder_flags_from_string),
2020         (gtk_builder_get_type_from_name), (gtk_builder_error_quark):
2021         * gtk/gtkbuilder.h:
2022         * gtk/gtkbuilderparser.c: (state_push), (state_peek), (state_pop),
2023         (error_missing_attribute), (error_invalid_attribute),
2024         (error_invalid_tag), (builder_construct), (parse_object),
2025         (free_object_info), (_get_type_by_symbol), (parse_child),
2026         (free_child_info), (parse_property), (free_property_info),
2027         (parse_signal), (_free_signal_info), (parse_interface),
2028         (create_subparser), (free_subparser), (subparser_start),
2029         (subparser_end), (parse_custom), (start_element), (end_element),
2030         (text), (_gtk_builder_parser_parse_buffer):
2031         * gtk/gtkbuilderprivate.h:
2032         * gtk/gtkcelllayout.c: (attributes_start_element),
2033         (attributes_text_element),
2034         (_gtk_cell_layout_buildable_custom_tag_start),
2035         (_gtk_cell_layout_buildable_custom_tag_end),
2036         (_gtk_cell_layout_buildable_add):
2037         * gtk/gtkcelllayout.h:
2038         * gtk/gtkcellview.c: (gtk_cell_view_buildable_init),
2039         (gtk_cell_view_buildable_custom_tag_start),
2040         (gtk_cell_view_buildable_custom_tag_end):
2041         * gtk/gtkcolorseldialog.c:
2042         (gtk_color_selection_dialog_buildable_interface_init),
2043         (gtk_color_selection_dialog_buildable_get_internal_child):
2044         * gtk/gtkcombobox.c: (gtk_combo_box_buildable_init),
2045         (gtk_combo_box_buildable_custom_tag_start),
2046         (gtk_combo_box_buildable_custom_tag_end):
2047         * gtk/gtkcomboboxentry.c:
2048         (gtk_combo_box_entry_buildable_interface_init),
2049         (gtk_combo_box_entry_buildable_get_internal_child):
2050         * gtk/gtkcontainer.c: (gtk_container_get_type),
2051         (gtk_container_buildable_init), (gtk_container_buildable_add),
2052         (gtk_container_buildable_set_child_property),
2053         (attributes_start_element), (attributes_text_element),
2054         (gtk_container_buildable_custom_tag_start),
2055         (gtk_container_buildable_custom_tag_end):
2056         * gtk/gtkdebug.h:
2057         * gtk/gtkdialog.c: (gtk_dialog_buildable_interface_init),
2058         (gtk_dialog_buildable_get_internal_child),
2059         (attributes_start_element), (attributes_text_element),
2060         (gtk_dialog_buildable_custom_tag_start),
2061         (gtk_dialog_buildable_custom_finished):
2062         * gtk/gtkentrycompletion.c: (gtk_entry_completion_buildable_init):
2063         * gtk/gtkexpander.c: (gtk_expander_buildable_add),
2064         (gtk_expander_buildable_init):
2065         * gtk/gtkfontsel.c:
2066         (gtk_font_selection_dialog_buildable_interface_init),
2067         (gtk_font_selection_dialog_buildable_get_internal_child):
2068         * gtk/gtkframe.c: (gtk_frame_buildable_init),
2069         (gtk_frame_buildable_add):
2070         * gtk/gtkiconview.c: (gtk_icon_view_buildable_init),
2071         (gtk_icon_view_buildable_custom_tag_start),
2072         (gtk_icon_view_buildable_custom_tag_end):
2073         * gtk/gtkliststore.c: (gtk_list_store_buildable_init),
2074         (list_store_start_element), (list_store_end_element),
2075         (list_store_text), (gtk_list_store_buildable_custom_tag_start),
2076         (gtk_list_store_buildable_custom_tag_end):
2077         * gtk/gtkmain.c:
2078         * gtk/gtknotebook.c: (gtk_notebook_buildable_init),
2079         (gtk_notebook_buildable_add):
2080         * gtk/gtksizegroup.c: (gtk_size_group_buildable_init),
2081         (size_group_start_element),
2082         (gtk_size_group_buildable_custom_tag_start),
2083         (gtk_size_group_buildable_custom_finished):
2084         * gtk/gtktreestore.c: (gtk_tree_store_buildable_init),
2085         (tree_model_start_element),
2086         (gtk_tree_store_buildable_custom_tag_start),
2087         (gtk_tree_store_buildable_custom_finished):
2088         * gtk/gtktreeview.c: (gtk_tree_view_buildable_init),
2089         (gtk_tree_view_buildable_add):
2090         * gtk/gtktreeviewcolumn.c: (gtk_tree_view_column_buildable_init):
2091         * gtk/gtkuimanager.c: (gtk_ui_manager_buildable_init),
2092         (gtk_ui_manager_buildable_add),
2093         (gtk_ui_manager_buildable_construct_child),
2094         (gtk_ui_manager_buildable_custom_tag_start),
2095         (gtk_ui_manager_buildable_custom_tag_end):
2096         * gtk/gtkwidget.c: (gtk_widget_get_type),
2097         (gtk_widget_buildable_interface_init),
2098         (gtk_widget_buildable_set_name), (gtk_widget_buildable_get_name),
2099         (gtk_widget_buildable_set_property),
2100         (gtk_widget_buildable_parser_finshed), (accel_group_start_element),
2101         (gtk_widget_buildable_custom_tag_start),
2102         (gtk_widget_buildable_custom_finshed):
2103         * gtk/gtkwindow.c: (gtk_window_buildable_interface_init),
2104         (gtk_window_buildable_set_property),
2105         (gtk_window_buildable_parser_finished):
2106         * tests/Makefile.am:
2107         * tests/buildertest.c: (builder_new_from_string), (test_parser),
2108         (signal_normal), (signal_after), (signal_object),
2109         (signal_object_after), (signal_first), (signal_second),
2110         (signal_extra), (signal_extra2), (test_connect_signals),
2111         (test_uimanager_simple), (test_domain), (test_translation),
2112         (test_sizegroup), (test_list_store), (test_tree_store),
2113         (test_types), (test_spin_button), (test_notebook),
2114         (test_construct_only_property), (test_children),
2115         (test_child_properties), (test_treeview_column), (test_icon_view),
2116         (test_combo_box), (test_combo_box_entry), (test_cell_view),
2117         (test_dialog), (test_accelerators), (test_widget), (main):
2118
2119         Add GtkBuilder, fixes #172535
2120         
2121 2007-06-15  Hans Breuer <hans@breuer.org>
2122
2123         * gtk/makefile.msc.in tests/makefile.msc : updated
2124         * gdk/win32/gdkwindow-win32.c : explicit usage of RegisterClassExW
2125         to match the WNDCLASSEXW. 
2126         True dynamic linking of SetLayeredWindowAttributes
2127         * tests/testprint.c tests/testnouiprint.c : use G_PI
2128
2129 2007-06-14  Johan Dahlin  <jdahlin@async.com.br>
2130
2131         * gtk/gtk.symbols: Add missing symbol 
2132         gtk_text_layout_set_overwrite_mode
2133
2134 2007-06-14  Behdad Esfahbod  <behdad@gnome.org>
2135
2136         * gtk/gtknotebook.c (gtk_notebook_get_group_id): Fix compiler
2137         warning. (#447586, Kazuki IWAMOTO)
2138
2139 2007-06-14  Tor Lillqvist  <tml@novell.com>
2140
2141         * gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Use
2142         g_win32_get_windows_version() instead of _winver so that this
2143         compiles on Cygwin, too. Not that I know if it makes sense to
2144         build GTK+ with the Win32 backend for Cygwin, but some people want
2145         to.
2146
2147 2007-06-13  Matthias Clasen  <mclasen@redhat.com>
2148
2149         * NEWS: Updates
2150
2151         * NEWS, README.in: Move the combobox note to the README,
2152         where it seems more appropriate.
2153
2154 2007-06-13  Matthias Clasen  <mclasen@redhat.com>
2155
2156         * gtk/gtkwidget.c (gtk_widget_modify_cursor): Improve docs.
2157         (#447396, Masatake YAMATO)
2158
2159 2007-06-14  Carlos Garnacho  <carlos@imendio.com>
2160
2161         * gtk/gtkcombobox.c: removed unused and hardly visible GtkFrame from
2162         the menu widget hierarchy when ::appears-as-list is TRUE. (#435471)
2163         * NEWS: add a note about repercussions of this change to RC files.
2164
2165 2007-06-13  Behdad Esfahbod  <behdad@gnome.org>
2166
2167         * gdk/directfb/gdkgc-directfb.c: #undef GDK_DISABLE_DEPRECATED to
2168         get prototype for gdk_font_ref(). (#447163, Dann Frazier, Loïc Minier)
2169
2170 2007-06-13  Michael Natterer  <mitch@imendio.com>
2171
2172         * gtk/gtkmenuitem.[ch]: add "submenu" property. Fix
2173         gtk_menu_item_set_submenu() to accept NULL submenus and deprecate
2174         gtk_menu_item_remove_submenu() because we have a properly working
2175         setter now (bug #447065).
2176
2177         * gtk/gtk.symbols: deprecate gtk_menu_item_remove_submenu().
2178
2179         * gtk/gtkcombobox.c: use gtk_menu_item_set_submenu() instead of
2180         gtk_menu_item_remove_submenu().
2181
2182 2007-06-13  Cody Russell  <bratsche@gnome.org>
2183
2184         * gtk/gtkwidget.c: Fix inconsistency in GTK_WIDGET_SAVED_STATE
2185         (#435840, Xan Lopez)
2186
2187 2007-06-13  Kristian Rietveld  <kris@imendio.com>
2188
2189         * gtk/gtk.symbols
2190         * gtk/gtkfilesystem.[ch]: rename _gtk_file_system_create to
2191         gtk_file_system_create to make it public and bring trunk back
2192         in sync with gtk-2-10.
2193
2194         * gtk/gtkfilechooserdefault.c (set_file_system_backend): updated.
2195
2196 2007-06-13  Michael Natterer  <mitch@imendio.com>
2197
2198         * gtk/gtklabel.c (gtk_label_set_label): added calls to
2199         g_object_freeze/thaw_notify() so gtk_label_get_text() doesn't
2200         return the old text when called from a "notify::label" callback.
2201
2202 2007-06-13  Kristian Rietveld  <kris@imendio.com>
2203
2204         Audit of GtkTreeView coordinate system usage. (#142494).
2205
2206         * gtk/gtktreeview.[ch]: general documentation updates,
2207         (gtk_tree_view_scroll_to_cell), (gtk_tree_view_get_dest_row_at_pos):
2208         update coordinate translations,
2209         (gtk_tree_view_tree_to_widget_coords),
2210         (gtk_tree_view_widget_to_tree_coords): Deprecated,
2211         (gtk_tree_view_convert_.*_coords): 6 new functions for doing
2212         transformations between coordinate systems.
2213
2214         * gtk/gtk.symbols: updated.
2215
2216         * tests/testtooltips.c (query_tooltip_tree_view_cb): fix testcase
2217         with new gtk_tree_view_convert_widget_to_bin_window_coords().
2218
2219         * docs/reference/gtk/Makefile.am
2220         * docs/reference/gtk/images/tree-view-coordinates.png: add new image.
2221
2222         * docs/reference/gtk/tmpl/gtktreeview.sgml: eloborate on the
2223         different coordinate systems.
2224
2225 2007-06-13  Kristian Rietveld  <kris@imendio.com>
2226
2227         * gtk/gtkcellrendererprogress.c
2228         (gtk_cell_renderer_progress_class_init),
2229         (gtk_cell_renderer_progress_init),
2230         (gtk_cell_renderer_progress_[gs]et_property),
2231         (gtk_cell_renderer_progress_render): Add orientation property and some
2232         slight refactoring here and there.  (Fixes #344836, reported by
2233         Benjamin Montgomery).
2234
2235 2007-06-12  Matthias Clasen  <mclasen@redhat.com>
2236
2237         * gdk/Makefile.am: Remove linux-fb from DIST_SUBDIRS
2238
2239         * configure.in: Remove linux-fb parts.
2240
2241 2007-06-12  Michael Natterer  <mitch@imendio.com>
2242
2243         * gtk/gtkiconview.c (update_text_cell): use PANGO_BREAK_WORD_CHAR
2244         instead of PANGO_BREAK_WORD so the text cell doesn't overflow the
2245         wrap-width if there is no whitespace found to break at.
2246         Fixes bug #446107.
2247
2248 2007-06-12  Kristian Rietveld  <kris@imendio.com>
2249
2250         Fix #410815, reported by Lucas Rocha.
2251
2252         * gtk/gtkiconview.c (gtk_icon_view_layout): determine a suitable
2253         wrap-width with the first icon, if it exists,
2254         (adjust_wrap_width): try to use icon_view->priv->item_width
2255         if available,
2256         (gtk_icon_view_set_cell_data): don't call adjust_wrap_width here,
2257         which caused changes in wrap-width during the layouting process and
2258         resulted in layouting artefacts,
2259         (update_text_cell): don't set the wrap-width property, this should
2260         be handled by adjust_wrap_width.
2261
2262 2007-06-12  Behdad Esfahbod  <behdad@gnome.org>
2263
2264         * gdk/gdkwindow.c (gdk_window_get_pointer): Improve docs.
2265         (#446138, Björn Lindqvist)
2266
2267 2007-06-12  Yevgen Muntyan  <muntyan@tamu.edu>
2268
2269         * gtk/gtkentry.c (gtk_entry_expose), (gtk_entry_toggle_overwrite),
2270         (gtk_entry_draw_cursor):
2271         * gtk/gtkstyle.c (_gtk_widget_get_cursor_gc),
2272         (_gtk_widget_get_cursor_color):
2273         * gtk/gtkstyle.h:
2274         * gtk/gtktextdisplay.c (gtk_text_renderer_prepare_run),
2275         (gtk_text_renderer_draw_shape), (text_renderer_set_state),
2276         (render_para):
2277         * gtk/gtktextlayout.c (gtk_text_layout_set_overwrite_mode),
2278         (gtk_text_layout_invalidate_cache), (get_block_cursor),
2279         (add_cursor), (gtk_text_layout_get_line_display),
2280         (_gtk_text_layout_get_block_cursor):
2281         * gtk/gtktextlayout.h:
2282         * gtk/gtktextutil.c (layout_get_char_width),
2283         (_gtk_text_util_get_block_cursor_location):
2284         * gtk/gtktextutil.h:
2285         * gtk/gtktextview.c (gtk_text_view_set_editable),
2286         (gtk_text_view_toggle_overwrite), (gtk_text_view_set_overwrite),
2287         (gtk_text_view_ensure_layout), (text_window_invalidate_cursors):
2288         Implement block-cursor for overwrite mode.  (#80378)
2289
2290 2007-06-11  Matthias Clasen  <mclasen@redhat.com>
2291
2292         * configure.in: Bump GLib requirement to 2.13.3 (#446616, Behdad
2293         Esfahbod)
2294
2295 2007-06-11  Matthias Clasen  <mclasen@redhat.com>
2296
2297         * modules/printbackends/cups/gtkprintbackendfile.c:
2298         * modules/printbackends/cups/gtkprintbackendcups.c: Fix some
2299         locking issues.  (#420249, Christian Persch)
2300
2301 2007-06-11  Matthias Clasen  <mclasen@redhat.com>
2302
2303         * configure.in: When debugging is turned on, use error-checking
2304         mutexes.
2305
2306 2007-06-11  Emmanuele Bassi  <ebassi@gnome.org>
2307
2308         * gtk/gtknotebook.h: Fix declaration of the create_window()
2309         vfunc inside GtkNotebookClass. (#446513, Kazuki Iwamoto)
2310
2311 2007-06-11  Matthias Clasen  <mclasen@redhat.com>
2312         
2313         * tests/testiconview.c: Use icons of varying size.
2314         
2315 2007-06-10  Matthias Clasen  <mclasen@redhat.com>
2316
2317         * gtk/gtkrc.c (gtk_rc_parse_style): Accept class names starting
2318         with lowercase letters for style property assignments, since 
2319         GType accepts these too, and gtkmm uses such class names.  (#343012,
2320         Murray Cumming, Johannes Schmid)
2321
2322 2007-06-10  Matthias Clasen  <mclasen@redhat.com>
2323
2324         * gtk/gtkentry.c (gtk_entry_finalize): Don't leak cursor_hadjustment.
2325         Store cursor_hadjustment as object data rather than in the private
2326         struct.
2327
2328 2007-06-10  Matthias Clasen  <mclasen@redhat.com>
2329
2330         * gdk/x11/gdkspawn-x11.c (set_environment): Handle child_setup
2331         being NULL.  (#445691, Christopher Taylor)
2332
2333 2007-06-10  Emmanuele Bassi  <ebassi@gnome.org>
2334
2335         * gtk/gtksearchenginesimple.c: Unconditionally define _GNU_SOURCE
2336         and XOPEN_SOURCE, in order to make the simple search engine backend
2337         build on really ancient GNU libc. (#444097)
2338
2339 2007-06-10  Michael Natterer  <mitch@imendio.com>
2340
2341         * gdk/quartz/gdkdrawable-quartz.c (gdk_quartz_draw_arc): fix
2342         angles by flipping the coordinate system back to its original y
2343         direction. The implementation is still broken for ellipses, will
2344         have to simulate them using bezier curves.
2345
2346 2007-06-10  Cody Russell  <bratsche@gnome.org>
2347
2348         * gdk/win32/gdkevents-win32.c (gdk_pointer_grab):
2349         Don't revert the mouse cursor to the built-in one when
2350         the user holds the mouse button down. (#445284, Tor Lillqvist)
2351
2352 2007-06-10  Emmanuele Bassi  <ebassi@gnome.org>
2353
2354         * gtk/gtkscalebutton.[ch]: Fix some coding style bits.
2355
2356         (gtk_scale_button_dispose), (gtk_scale_button_class_init),
2357         (gtk_scale_button_init): Use the GObject private data API instead
2358         of allocating the private structure ourselves.
2359
2360         (gtk_scale_button_dispose), (gtk_scale_button_finalize): Free
2361         the icons string vector inside ::finalize and not in ::dispose.
2362
2363         (gtk_scale_button_update_icon): Use g_strv_length() instead
2364         of an empty for loop.
2365
2366 2007-06-09  Matthias Clasen  <mclasen@redhat.com>
2367
2368         * gtk/gtkwidget.c:
2369         * gtk/gtkscrolledwindow.c: Update docs
2370         * gtk/gtkwidget.h: Deprecate gtk_widget_{ref,unref}
2371
2372         * gtk/gtkbox.c: Move docs inline.
2373
2374         * gtk/gtkrange.c:
2375         * gtk/gtkscale.c: Doc formatting improvements.
2376
2377 2007-06-09  Matthias Clasen  <mclasen@redhat.com>
2378
2379         * gtk/gtkscalebutton.c: Add an icons property, make 
2380         gtk_scale_button_new() a convenience function.  (#445855,
2381         Murray Cumming)
2382
2383 2007-06-09  Matthias Clasen  <mclasen@redhat.com>
2384
2385         * gtk/gtkhscale.c (gtk_hscale_new):
2386         * gtk/gtkvscale.c (gtk_vscale_new): Cosmetic change to make
2387         it more obvious that this is a convenience function.
2388
2389 2007-06-09  Matthias Clasen  <mclasen@redhat.com>
2390
2391         * gtk/gtkcalendar.c (gtk_calendar_init): Handle return values
2392         from nl_langinfo() more correctly. 
2393
2394 2007-06-09  Carlos Garnacho  <carlos@imendio.com>
2395
2396         * gtk/gtkrc.c (gtk_rc_parse_engine): initialize rc_priv in the else
2397         branch too. (#445539)
2398
2399 2007-06-08  Benjamin Berg  <benjamin@sipsolutions.net>
2400
2401         * gtk/gtkscrolledwindow.c: (gtk_scrolled_window_paint):
2402         Fix shadow painting if the scrollbars-within-bevel style property is
2403         set and border_width is nozero. (#445054)
2404
2405 2007-06-08  Matthias Clasen  <mclasen@redhat.com>
2406
2407         Make it possible for theme engines to support symbolic 
2408         colors.  (#426192, Andrea Cimitan, patch by Olivier Samyn)
2409
2410         * gtk/gtk.symbols:
2411         * gtk/gtkrc.h:
2412         * gtk/gtkrc.c (gtk_rc_parse_color_full): Export this function
2413
2414         * gtk/gtkrc.c (gtk_rc_parse_engine): Copy color hashes
2415         to new style before parsing engine section.
2416
2417 2007-06-08  Michael Natterer  <mitch@imendio.com>
2418
2419         * gdk/quartz/gdkdrawable-quartz.c: add utility function
2420         gdk_quartz_fix_cap_not_last_line() which fixes the coordinates for
2421         GDK_CAP_NOT_LAST lines at least for horizontal and vertical lines.
2422
2423         (gdk_quartz_draw_segments)
2424         (gdk_quartz_draw_lines): use it here.
2425
2426 2007-06-07  Michael Natterer  <mitch@imendio.com>
2427
2428         * gdk/quartz/gdkgc-quartz.c: add gdk_gc_quartz_init() and set
2429         some values to the defaults used by X11.
2430
2431         (gdk_quartz_gc_set_values): really set cap_style when
2432         GDK_GC_CAP_STYLE is in the mask, not line_style.
2433
2434 2007-06-07  Michael Natterer  <mitch@imendio.com>
2435
2436         * gdk/quartz/gdkgc-quartz.c (_gdk_quartz_gc_update_cg_context):
2437         use the same code for GDK_XOR as for GDK_INVERT. Xor with an
2438         arbitrary color is impossible to implement with quartz.
2439
2440 2007-06-07  Matthias Clasen  <mclasen@redhat.com>
2441
2442         * gtk/gtksettings.c: Fix a typo in the docs.
2443
2444 2007-06-07  Christian Neumair  <cneumair@gnome.org>
2445
2446         * gtk/gtkstock.[ch]: Add GTK_STOCK_DISCARD, #158008.
2447
2448 2007-06-07  Matthias Clasen  <mclasen@redhat.com>
2449
2450         * gtk/gtktreeview.c: Documentation additions.
2451
2452         * gtk/gtknotebook.c: Add a doc comment.
2453
2454 2007-06-06  Matthias Clasen  <mclasen@redhat.com>
2455
2456         * gtk/gtkfilechooserbutton.c (model_add_special):
2457         * gtk/gtkfilechooserdefault.c (shortcuts_append_desktop):
2458         * gtk/gtkfilesystemunix.c (get_icon_name_for_directory):
2459         * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system):
2460         Use g_get_user_special_dir() to obtain the path for the
2461         DESKTOP directory.  
2462
2463 2007-06-06  Matthias Clasen  <mclasen@redhat.com>
2464
2465         * gtk/Makefile.am: Add the 16x16 version of gtk-select-color.png
2466         to the list of stock icons.  (#444786)
2467
2468 2007-06-06  Kristian Rietveld  <kris@imendio.com>
2469
2470         * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_init),
2471         (gtk_cell_renderer_progress_class_init),
2472         (gtk_cell_renderer_progress_[gs]et_property),
2473         (gtk_cell_renderer_progress_render): add text-[xy]align properties
2474         for aligning the text label of the progress bar.  (#334576,
2475         suggestion from Steven Sheehy).
2476
2477 2007-06-06  Yevgen Muntyan  <muntyan@tamu.edu>
2478
2479         * gtk/gtkwidget.c:
2480         * gtk/gtkwidget.h: new method, gtk_widget_modify_cursor() (#79585).
2481         
2482         * gtkrc.c:
2483         * gtkrc.h: new functions _gtk_rc_style_set_rc_property() and 
2484         _gtk_rc_style_unset_rc_property().
2485         
2486         * gtk/gtk.symbols: added gtk_widget_modify_cursor.
2487         
2488         * tests/testtext.c (do_cursor_visible_changed):
2489         * tests/testgtk.c (create_styles): test it.
2490
2491 2007-06-06  Richard Hult  <richard@imendio.com>
2492
2493         * gdk/quartz/gdkevents-quartz.c (find_mouse_window_for_ns_event)
2494         (find_window_for_ns_event): Rework how we get the event window:
2495         don't get the window from the NSEvent, always use the mouse window
2496         instead. Fix mouse window tracking by only using MouseExited for
2497         non-gdk windows, and to always use the NSEvent window to get the
2498         right gdk window in MouseEntered. Add comments to the code. Fixes bug
2499         #350460.
2500
2501 2007-06-06  Richard Hult  <richard@imendio.com>
2502
2503         * gdk/quartz/gdkevents-quartz.c (get_converted_window_coordinates):
2504         Don't do anything if the two windows are the same.
2505         (find_window_for_ns_event): Translate coordinates to be relative
2506         the grab window when appropriate.
2507
2508 2007-06-06  Emmanuele Bassi  <ebassi@gnome.org>
2509
2510         * gtk/gtkfilechooserdefault.c:
2511         (get_file_info_finished), (shortcuts_insert_path),
2512         (shortcuts_add_bookmarks), (shortcuts_add_current_folder): Factor
2513         out the search shortcut, the recently used shortcut and the separator
2514         from the shortcut selection combo. (#444734)
2515
2516         (recent_idle_load): Remove the idle source that lazily loads the
2517         recently used files, if the GtkRecentManager returns an empty
2518         list. (#443913)
2519
2520 2007-06-06  Ross Burton  <ross@openedhand.com>
2521
2522         * gdk/x11/gdkspawn-x11.c:
2523         Set DISPLAY in the child process using g_setenv() instead of
2524         constructing a new envp, which lets callers use child setup
2525         functions which call putenv (#442617).
2526
2527 2007-06-06  Johan Dahlin  <jdahlin@async.com.br>
2528
2529         reviewed by: Matthias Clasen <mclasen@redhat.com>
2530         
2531         * gtk/gtkassistant.c (gtk_assistant_update_buttons_state): 
2532         Check if the wizard is empty before trying to access the first page.
2533         (#444310, Johan Dahlin)
2534
2535 2007-06-06  Matthias Clasen  <mclasen@redhat.com>
2536
2537         * configure.in: Bump version
2538
2539         * === Released 2.11.2 ===
2540
2541         * NEWS: Updates
2542
2543 2007-06-06  Kristian Rietveld  <kris@imendio.com>
2544
2545         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_queue_resize): use
2546         GTK_IS_TREE_VIEW_COLUMN() in g_return_if_fail here.
2547
2548 2007-06-06  Kristian Rietveld  <kris@imendio.com>
2549
2550         * gtk/gtktreeviewcolumn.[ch] (gtk_tree_view_column_get_tree_view): new
2551         function.  (#342471, Lorenzo Gil Sanchez).
2552
2553         * gtk/gtk.symbols: updated.
2554
2555 2007-06-06  Kristian Rietveld  <kris@imendio.com>
2556
2557         * gtk/gtktooltip.c (gtk_tooltip_paint_window): remove unused
2558         call to gtk_widget_size_request().  (Reported by Carlos
2559         Garnacho).
2560
2561 2007-06-06  Kristian Rietveld  <kris@imendio.com>
2562
2563         * gtk/gtktooltip.c (gtk_tooltip_show_tooltip): bail out if
2564         last_window is not a GdkWindow anymore. (Fixes #434021, several
2565         reporters).
2566
2567 2007-06-06  Matthias Clasen <mclasen@redhat.com>
2568
2569         * gdk/Makefile.am: Remove leftover reference to medialib_h_sources.
2570
2571 2007-06-06  Brian Cameron  <brian.cameron@sun.com>
2572
2573         * gdk/Makefile.am: Add gdkmedialib.h to EXTRA_DIST so this header
2574           file gets included with the distribution, as needed.  Fixes bug
2575           #442888.  Reviewed by Matthias Clasen.
2576
2577 2007-06-06  Richard Hult  <richard@imendio.com>
2578
2579         * gdk/quartz/gdkevents-quartz.c
2580         (_gdk_quartz_events_update_mouse_window): Ignore if the old and new
2581         windows are the same.
2582
2583 2007-06-06  Kristian Rietveld  <kris@imendio.com>
2584
2585         * gtk/gtktreeview.c (gtk_tree_view_unrealize): also remove the
2586         auto expand timeout if it exists.
2587
2588 2007-06-06  Richard Hult  <richard@imendio.com>
2589
2590         * gdk/quartz/gdkevents-quartz.c (synthesize_crossing_events):
2591         Update comment to be more clear and print a warning if we try to
2592         create a crossing event without knowing what the current mouse
2593         window is, to help track down focus bugs.
2594
2595         * gdk/quartz/gdkevents-quartz.c
2596         (_gdk_quartz_events_update_focus_window): Fix indentation.
2597
2598 2007-06-06  Richard Hult  <richard@imendio.com>
2599
2600         * gdk/quartz/GdkQuartzWindow.c: Don't let temp windows become key
2601         window.
2602
2603 2007-06-06  Tor Lillqvist  <tml@novell.com>
2604
2605         * gdk/x11/gdkwindow-x11.c (gdk_window_set_opacity): Fix
2606         embarrassing crash. (#444457, Torsten Schoenfeld)
2607
2608 2007-06-05  Yevgen Muntyan  <muntyan@tamu.edu>
2609
2610         * demos/gtk-demo/textview.c (insert_text): Drop the phrase
2611         saying invisible text doesn't work (#444236).
2612
2613 2007-06-05  Matthias Clasen <mclasen@redhat.com>
2614
2615         * gdk/x11/gdkevents-x11.c (gdk_event_translate): Check that
2616         window_private is not NULL before using it.  (#444351, David Ronis)
2617
2618 2007-06-05  Jakub Steiner <jimmac@ximian.com>
2619
2620         * gtk/stock-icons/{16,24}/gtk-find*: drop the paper sheet.
2621                 gtk-find is used for search, rather than find within a document
2622                 (file dialog).
2623
2624 2007-06-05  Kristian Rietveld  <kris@gtk.org>
2625
2626         Fix #399071, suggestion from Benoit Dejean.
2627
2628         * gtk/gtkliststore.[ch] (gtk_list_store_set_vector_internal): new
2629         function, factored out code iterating (columns, values) vectors from
2630         gtk_list_store_new_with_valuesv to here,
2631         (gtk_list_store_set_valuesv): new public function to set list store
2632         values using (columns, values) vectors,
2633         (gtk_list_store_new_with_valuesv): call new _set_vector_internal
2634         instead.
2635
2636         * gtk/gtktreestore.[ch] (gtk_tree_store_set_vector_internal),
2637         (gtk_tree_store_set_valuesv), (gtk_tree_store_new_with_valuesv):
2638         likewise.
2639
2640         * gtk/gtk.symbols: updated.
2641
2642 2007-06-04  Richard Hult  <richard@imendio.com>
2643
2644         * gdk/quartz/gdkwindow-quartz.c:
2645         (show_window_internal): Don't try to make temp windows key
2646         windows, fixes problem introduced below.
2647
2648 2007-06-04  Richard Hult  <richard@imendio.com>
2649
2650         * gdk/quartz/GdkQuartzWindow.c: 
2651         * gdk/quartz/gdkwindow-quartz.c: Implement simple versions of
2652         gdk_window_set_accept_focus and gdk_window_set_focus_on_map.
2653
2654 2007-06-04  Richard Hult  <richard@imendio.com>
2655
2656         * gdk/quartz/gdkwindow-quartz.c: (gdk_window_raise),
2657         (gdk_window_lower): Implement.
2658
2659 2007-06-04  Richard Hult  <richard@imendio.com>
2660
2661         * gdk/quartz/gdkwindow-quartz.c:
2662         * gdk/quartz/gdkwindow-quartz.h: Implement 
2663         gdk_window_set_transient_for.
2664
2665 2007-06-04  Cody Russell  <bratsche@gnome.org>
2666
2667         * gtk/gtklinkbutton.h
2668         * gtk/gtkaboutdialog.h: Change function argument "link"
2669         to "link_" to fix warnings for applications compiling
2670         with -Wshadow. (#379213)
2671
2672 2007-06-04  Cody Russell  <bratsche@gnome.org>
2673
2674         * gtk/gtkpathbar.c (gtk_path_bar_scroll_down): Check
2675         if down_button is NULL.  This happens when the pathbar button
2676         for the current directory is too large to fit in the
2677         space, e.g. on Windows for directories named something like
2678         "My Documents and Settings".  (#389603)
2679
2680 2007-06-04  Matthias Clasen  <mclasen@redhat.com>
2681
2682         * configure.in: Bump version
2683
2684         * === Released 2.11.1 ===
2685
2686         * gdk/gdkwindow.c (gdk_window_set_composited): Improve docs.
2687
2688         * NEWS:
2689         * README.in: Updates
2690
2691 2007-06-04  Michael Natterer  <mitch@imendio.com>
2692
2693         Move "move-focus" signals from several widgets to GtkWidget to
2694         enable more flexible costomization of keyboard navigation via
2695         bindings. Fixes bug #414947.
2696
2697         * gtk/gtkwidget.c: add "move-focus" binding signal, default to
2698         calling the toplevel GtkWindow's "move-focus" vfunc.
2699
2700         * gtk/gtktextview.[ch]
2701         * gtk/gtkwindow.[ch]: remove "move-focus" signals and add compat
2702         code that makes sure that both emitting the signal on the widget
2703         and overriding the virtual functions keeps working as before.
2704
2705         * gtk/gtktoolbar.c: remove "move-focus" signal here too and use
2706         GtkWidget's signal. This change slightly changes keyboard
2707         navigation in toolbars. I'll fix the behavior if somebody can
2708         explain me if and how exactly the new behavior is broken.
2709
2710 2007-06-04  Matthias Clasen  <mclasen@redhat.com>
2711
2712         * gtk/gtkmarshalers.list:
2713         * gtk/gtknotebook.[hc]: Add a create-window signal that allows
2714         to override the global create-window-hook on a per-notebook
2715         basis. The default handler falls back to the global hook.
2716         (#386935, Christian Hammond)
2717         
2718 2007-06-04  Emmanuele Bassi  <ebassi@gnome.org>
2719
2720         * gtk/gtkradiobutton.[ch]:
2721         * gtk/gtk.symbols:
2722         * tests/testgtk.c: Revert previous commit; the API is not yet
2723         finalized - see bug #166995.
2724
2725 2007-06-04  Emmanuele Bassi  <ebassi@gnome.org>
2726
2727         * gtk/gtkradiobutton.h:
2728         * gtk/gtkradiobutton.c:
2729         * gtk/gtk.symbols: Add gtk_radio_button_set_value(),
2730         gtk_radio_button_get_current_value() and gtk_radio_button_get_value().
2731         Use these functions to set and get an arbitrary integer associated to
2732         a GtkRadioButton in a group, like the value associated to a
2733         GtkRadioAction.
2734
2735         * tests/testgtk.c:
2736         (create_radio_buttons), (radio_toggled_cb): Exercise the new API.
2737
2738 2007-06-03  Torsten Schoenfeld  <kaffeetisch@gmx.de>
2739
2740         * gtk/gtkicontheme.c (choose_icon): Initialize unthemed_icon to NULL
2741         to avoid accessing uninitialized memory when
2742         gtk_icon_theme_choose_icon() is called with an empty names list.
2743
2744 2007-06-03  Richard Hult  <richard@imendio.com>
2745
2746         * gdk/quartz/gdkevents-quartz.c: (create_crossing_event): Set the key
2747         modifier state.
2748
2749 2007-06-03  Richard Hult  <richard@imendio.com>
2750
2751         * gdk/quartz/gdkevents-quartz.c: Make pointer grab emulation work a bit
2752         better:
2753         (gdk_display_pointer_is_grabbed): Do what the docs say and don't
2754         consider implicit grabs here.
2755         (gdk_pointer_grab): Overriding a grab by the same app should always be
2756         succesful.
2757         (gdk_event_translate): Implicit grabs should not be owner events.
2758
2759 2007-06-03  Matthias Clasen  <mclasen@redhat.com>
2760
2761         * NEWS: Updates
2762
2763 2007-06-03  Matthias Clasen  <mclasen@redhat.com>
2764
2765         * docs/tools/widgets.c: Add a volume button
2766
2767 2007-06-03  Matthias Clasen  <mclasen@redhat.com>
2768
2769         * gtk/gtkradiobutton.c:
2770         * gtk/gtkradiomenuitem.c: Fix doc typos.  
2771
2772 2007-06-03  Matthias Clasen  <mclasen@redhat.com>
2773
2774         * configure.in: Allow to disable Xinerama.  (#348065, Diego Pettenò)
2775
2776 2007-06-03  Xan Lopez  <xan@gnome.org>
2777
2778         * gtk/gtknotebook.c: remove index parameter in gtk_notebook_switch_page
2779         and remove g_return_if checks in private functions. (#443247)
2780
2781 2007-06-01  Richard Hult  <richard@imendio.com>
2782
2783         * gdk/quartz/gdkevents-quartz.c:
2784         (get_converted_window_coordinates), (create_crossing_event): Fix the
2785         coordinates in crossing events so they are relative to the right
2786         window.
2787
2788 2007-06-01  Richard Hult  <richard@imendio.com>
2789
2790         * gdk/quartz/gdkevents-quartz.[ch]: Make function naming
2791         consistent for the various functions that retrieve data from an
2792         event.
2793
2794         * gdk/quartz/gdkprivate-quartz.h: 
2795         * gdk/quartz/gdkwindow-quartz.[ch]: Remove the now unused
2796         _gdk_quartz_window_find_child_by_point() function.
2797
2798 2007-06-01  Matthias Clasen  <mclasen@redhat.com>
2799
2800         Add support for composited child windows.  (#412882, Ryan Lortie)
2801
2802         * gdk/gdk.symbols:
2803         * gdk/gdkdisplay.h:
2804         * gdk/gdkinternals.h:
2805         * gdk/gdkwindow.[hc]: Add gdk_display_supports_composite() and
2806         gdk_window_set_composited().
2807
2808         * gdk/x11/gdkevents-x11.c:
2809         * gdk/x11/gdkdisplay-x11.[hc]:
2810         * gdk/x11/gdkwindow-x11.[hc]: X11 implementation.
2811
2812         * gdk/win32/gdkdisplay-win32.c:
2813         * gdk/win32/gdkwindow-win32.c: Dummy win32 implementration.
2814
2815         * gdk/quartz/gdkdisplay-quartz.c:
2816         * gdk/quartz/gdkwindow-quartz.c: Dummy Quartz implementation.
2817
2818         * gdk/directfb/gdkdisplay-directfb.c:
2819         * gdk/directfb/gdkwindow-directfb.c: Dummy DirectFB implementation.
2820
2821         * tests/testgtk.c: Add a "composited window" test.
2822
2823 2007-06-01  Michael Natterer  <mitch@imendio.com>
2824
2825         * gtk/gtkmenuitem.c (gtk_menu_item_position_menu): don't switch
2826         submenu opening direction for overlapping reasons if there is even
2827         less space on the other side (bug #441863, Tommi Komulainen).
2828
2829 2007-06-01  Michael Natterer  <mitch@imendio.com>
2830
2831         * gtk/gtkfilechooserdialog.c (response_cb): change fix for #347883
2832         to not obfuscate the code.
2833
2834 2007-06-01  Yevgen Muntyan  <muntyan@tamu.edu>
2835
2836         Avoid recreating pangolayouts in GtkTextView on cursor movement
2837         (#435405, Behdad Esfahbod).
2838
2839         * gtk/gtktextlayout.c:
2840         * gtk/gtktextlayout.h: new GtkTextLayout method invalidate_cursors(),
2841         and functions gtk_text_layout_invalidate_cursors() and
2842         gtk_text_layout_cursors_changed(), to use when invalidation is due
2843         to moved marks or changed selection.
2844
2845         * gtk/gtktextbtree.c:
2846         * gtk/gtktextbtree.h: use what's appropriate when invalidating layout.
2847
2848         * gtk/gtk.symbols: add new functions.
2849
2850         * README.in: added a note about changed GtkTextLayout API.
2851
2852 2007-06-01  Alp Toker  <alp.toker@collabora.co.uk>
2853
2854         * gdk/gdkcairo.c (gdk_cairo_set_source_pixmap): Fix doc typos.
2855
2856 2007-05-31  Yevgen Muntyan  <muntyan@tamu.edu>
2857
2858         * gtk/gtkstyle.c (get_insertion_cursor_gc): use text colors from
2859         widget style to draw cursor instead of hardcoded black and grey
2860         (#79585, comment #30).
2861
2862 2007-06-01  Kristian Rietveld  <kris@gtk.org>
2863
2864         * gtk/gtkcellrenderertext.c (get_size): transform the ink_rect using
2865         pango_extents_to_pixels to avoid rounding errors.  (Fixes #430218,
2866         Shlomi Israel).
2867
2868 2007-05-31  Mathias Hasselmann  <mathias.hasselmann@gmx.de>
2869
2870         * tests/autotestfilechooser.c: Reactivate the other file-chooser
2871         tests. Forgot that before commiting revision 17994.
2872
2873 2007-05-31  Mathias Hasselmann  <mathias.hasselmann@gmx.de>
2874
2875         * gtk/gtkfilechooserdialog.c, tests/autotestfilechooser.c: Reset
2876         the internal response_requested flag, once the response triggered by
2877         file_chooser_widget_response_requested has been processed (#347883).
2878
2879 2007-05-30  Richard Hult  <richard@imendio.com>
2880
2881         * gdk/quartz/gdkselection-quartz.c (gdk_free_text_list): Add this
2882         function, bug #438440.
2883
2884 2007-05-30  Tor Lillqvist  <tml@novell.com>
2885
2886         * gdk/win32/gdkevents-win32.c (gdk_pointer_grab): Subtract the
2887         multi-monitor offset from x and y before setting up the rectangle
2888         for ClipCursor(). Fixes #442326.
2889
2890 2007-05-30  Matthias Clasen  <mclasen@redhat.com>
2891
2892         * gtk/gtkiconview.c (gtk_icon_view_layout): Queue a resize
2893         if the size changed.  (#418047, Alex Graveley)
2894
2895 2007-05-30  Simos Xenitellis  <simos@gnome.org>
2896
2897         * gdk/gdkkeysyms-update.pl: Updated script to new upstream 
2898         location of keysymdef.h (#442183)
2899
2900 2007-05-30  Emmanuele Bassi  <ebassi@gnome.org>
2901
2902         * gtk/gtkfilechooserdefault.c (update_chooser_entry): Return
2903         after setting the file chooser entry with the current selection.
2904
2905 2007-05-30  Matthias Clasen  <mclasen@redhat.com>
2906
2907         * gtk/gtkiconcachevalidator.c: Correct the handling
2908         of display names.  (#441767, Marcin Bachry)
2909
2910 2007-05-30  Xan Lopez  <xan@gnome.org>
2911
2912         * gtk/gtknotebook.c (gtk_notebook_set_current_page): Small cleanup.
2913         Fixes #442172.
2914
2915 2007-05-28  Cody Russell  <bratsche@gnome.org>
2916
2917         * gdk/win32/xcursors.h: Fix initialization of last item. (#440511)
2918
2919 2007-05-28  Richard Hult  <richard@imendio.com>
2920
2921         * gdk/quartz/gdkevents-quartz.c (get_child_coordinates_from_ancestor)
2922         (get_ancestor_coordinates_from_child): Break out code that was
2923         repeated into separate functions and call them instead.
2924         (find_window_for_mouse_nsevent): Break out this from
2925         find_window_for_nsevent to make the code clearer.
2926         (find_window_for_nsevent): Use the above and fix the returned
2927         coordinates in the process so that they are always relative the
2928         found window, both for the normal case and during grabs. Still
2929         needs fixing for the case where we get nsevents for a window other
2930         than than grab window during grabs.
2931
2932 2007-05-28  Richard Hult  <richard@imendio.com>
2933
2934         * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Fix typo,
2935         we need both press and release in the mask to trigger implicit
2936         grabs.
2937
2938 2007-05-28  Richard Hult  <richard@imendio.com>
2939
2940         * gdk/quartz/gdkevents-quartz.c (pointer_ungrab_internal): Reset
2941         all the grab state, to help debugging.
2942         (gdk_event_translate): Use pointer_ungrab_internal instead of
2943         duplicating the code here.
2944
2945 2007-05-28  Richard Hult  <richard@imendio.com>
2946
2947         * gdk/quartz/gdkprivate-quartz.h:
2948         * gdk/quartz/gdkwindow-quartz.c (find_child_window_helper)
2949         (_gdk_quartz_window_find_child): Refactored version of
2950         _gdk_quartz_window_find_child_by_point, that doesn't return any
2951         coordinates as the users of this function already have the
2952         coordinates and need to translate them differently.
2953         (_gdk_windowing_window_get_pointer): Fixup coordinate translation.
2954         (_gdk_windowing_window_at_pointer): Likewise.
2955
2956 2007-05-28  Richard Hult  <richard@imendio.com>
2957
2958         * gdk/quartz/gdkevents-quartz.c
2959         (find_window_interested_in_event_mask): Don't traverse beyond the
2960         toplevel of the passed in window.
2961
2962 2007-05-28  Richard Hult  <richard@imendio.com>
2963
2964         * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init): Set
2965         a size for the root window.
2966
2967 2007-05-28  Richard Hult  <richard@imendio.com>
2968
2969         * gdk/quartz/gdkwindow-quartz.c: Add comments about what various
2970         coordinates are relative to.
2971
2972 2007-05-28  Carlos Garnacho  <carlos@imendio.com>
2973
2974         * gtk/gtkwidget.c (gtk_widget_propagate_hierarchy_changed_recurse):
2975         Add back variable declaration removed in r17958.
2976
2977 2007-05-28  Carlos Garcia Campos  <carlosgc@gnome.org>
2978
2979         * gtk/gtkprinter.[ch]: Add new capability
2980         GTK_PRINT_CAPABILITY_NUMBER_UP.
2981         * docs/reference/gtk/tmpl/gtkprintunixdialog.sgml: 
2982         * gtk/gtkprintunixdialog.c: (update_dialog_from_capabilities):
2983         * modules/printbackends/file/gtkprintbackendfile.c:
2984         (file_printer_get_options), (file_printer_get_settings_from_options):
2985         * modules/printbackends/cups/gtkprintbackendcups.c:
2986         (cups_printer_get_capabilities): Add a new print capability to specify
2987         whether print dialog will offer printing multiple pages per sheet. (#398414)
2988         
2989 2007-05-28  Matthias Clasen  <mclasen@redhat.com>
2990
2991         * gtk/gtktoolbar.h: Actually undeprecate 
2992         gtk_toolbar_[un]set_icon_size.  (#314172. Yevgen Muntyan)
2993
2994 2007-05-28  Matthias Clasen  <mclasen@redhat.com>
2995
2996         * gtk/gtkwidget.c: Document some more signals
2997
2998         * gtk/gtktextview.c: Improve docs
2999
3000 2007-05-27  Tor Lillqvist  <tml@novell.com>
3001
3002         * configure.in (GDK_EXTRA_LISB): Drop bogus -user32 switch. Was
3003         supposed to be -luser32, but he "l" was missing. But nobody has
3004         noticed, so presumably unnecessary.
3005
3006 2007-05-26  Matthias Clasen  <mclasen@redhat.com>
3007
3008         * gtk/gtkprintoperationpreview.c: Improve docs
3009
3010 2007-05-26  Matthias Clasen  <mclasen@redhat.com>
3011
3012         * gtk/gtkentry.c: Move docs inline.
3013
3014 2007-05-26  Matthias Clasen  <mclasen@redhat.com>
3015
3016         * gdk/directfb/gdkkeys-directfb.c: Remove duplicate doc comments
3017         that cause problems when building the docs.
3018
3019 2007-05-26  Matthias Clasen  <mclasen@redhat.com>
3020         
3021         * gdk/x11/gdkdisplay-x11.c: Update docs
3022         * gdk/gdk.c: Update docs
3023         * gdk/directfb/gdkwindow-directfb.c: Remove duplicate doc comments.
3024         * gdk/x11/gdkwindow-x11.c: Fix doc formatting
3025
3026 2007-05-26  Matthias Clasen  <mclasen@redhat.com>
3027
3028         * gtk/gtktooltip.c:
3029         * gtk/gtkstatusicon.c:
3030         * gtk/gtkscalebutton.c:
3031         * gtk/gtkrecentaction.c:
3032         * gtk/gtkrange.c:
3033         * gtk/gtkprinter.c:
3034         * gtk/gtkprintsettings.c:
3035         * gtk/gtkpapersize.c:
3036         * gtk/gtkpagesetup.c:
3037         * gtk/gtknotebook.c:
3038         * gtk/gtkentrycompletion.c: Document new api
3039
3040 2007-05-26  Richard Hult  <richard@imendio.com>
3041
3042         * gtk/gtkprinter.c: (gtk_printer_set_location): Fix typo to get the
3043         build working.
3044
3045 2007-05-26  Matthias Clasen  <mclasen@redhat.com>
3046
3047         * configure.in: Require gtk-doc 1.6, for signal and property links.
3048         * gtk/gtkbox.c:
3049         * gtk/gtkbutton.c:
3050         * gtk/gtkcontainer.c:
3051         * gtk/gtkdialog.c:
3052         * gtk/gtkentry.c:
3053         * gtk/gtkimage.c:
3054         * gtk/gtklabel.c:
3055         * gtk/gtkmisc.c:
3056         * gtk/gtksettings.c:
3057         * gtk/gtkwidget.c: Documentation improvements, link signals
3058         and properties where it makes sense.
3059
3060 2007-05-25  Matthias Clasen  <mclasen@redhat.com>
3061
3062         * gtk/gtktextmark.c:
3063         * gtk/gtktextbuffer.c: Formatting fixes.
3064
3065 2007-05-25  Matthias Clasen  <mclasen@redhat.com>
3066
3067         Allow to separate GtkTextMark creation from buffer insertion.
3068         (#132818, Gustavo Giráldez, patch by Yevgen Muntyan)
3069
3070         * gtk/gtktextmarkprivate.h:
3071         * gtk/gtktextmark.[hc] (gtk_text_mark_new): New function to 
3072         create a GtkTextMark.
3073
3074         * gtk/gtktextbuffer.[hc] (gtk_text_buffer_add_mark): New 
3075         function to add an existing mark to a buffer. 
3076
3077         * gtk/gtktextbtree.c: Allow adding existing marks.
3078
3079         * gtk/gtk.symbols: Add new functions.
3080
3081         * tests/testtextbuffer.c: Add some tests for new mark 
3082         functionality.
3083
3084 2007-05-25  Xan Lopez  <xan@gnome.org>
3085
3086         * gtk/gtkaction.c: (gtk_action_set_short_label):
3087         Use private->data->short_label to update the proxies. (#440780)
3088
3089 2007-05-25  Richard Hult  <richard@imendio.com>
3090
3091         * gdk/quartz/gdkimage-quartz.c: (_gdk_quartz_image_copy_to_image):
3092         Implement copying from a window, part of bug #348493.
3093
3094 2007-05-25  Matthias Clasen  <mclasen@redhat.com>
3095
3096         * gtk/gtkprintoperation-unix.c (unix_end_run): Hold a 
3097         refence on the print operation until gtk_print_job_send()
3098         is done.  (#440040, Chris Vine)
3099
3100 2007-05-25  Matthias Clasen  <mclasen@redhat.com>
3101
3102         * gtk/gtkiconview.c (gtk_icon_view_accessible_ref_child):
3103         Don't crash and don't leak.  (#439565, Pedro Villavicencio)
3104
3105 2007-05-25  Matthias Clasen  <mclasen@redhat.com>
3106
3107         * gtk/gtkiconfactory.c: Improve a warning
3108         * gtk/gtkicontheme.c (gtk_icon_info_load_icon): Always
3109         set the error when returning NULL.  (#440982, Carlos Garcia
3110         Campos)
3111
3112 2007-05-25  Michael Natterer  <mitch@imendio.com>
3113
3114         Merge fix from maemo-gtk:
3115
3116         * gtk/gtkmenushell.c (gtk_menu_shell_enter_notify): open submenus
3117         also if the menu item we're entering is already selected. Also, it
3118         makes no sense to forward the event to the parent menu shell if we
3119         are entering a menu item of *this* menu shell.
3120
3121 2007-05-24  Matthias Clasen  <mclasen@redhat.com>
3122
3123         * gtk/stock-icons/*: Make sure all svg icons are added
3124         as pngs.
3125
3126 2007-05-24  Matthias Clasen  <mclasen@redhat.com>
3127
3128         * modules/input/Makefile.am: Fix broken DESTDIR support
3129
3130 2007-05-24  Michael Natterer  <mitch@imendio.com>
3131
3132         * gtk/gtktooltip.c (find_widget_under_pointer): apply patch from
3133         Bogdan Nicula which fixes a crash on GdkWindows which have no
3134         GtkWidget as user_data (bug #440890).
3135
3136 2007-05-24  Matthias Clasen  <mclasen@redhat.com>
3137
3138         * configure.in: Bump version
3139
3140         * === Released 2.11.0 ===
3141
3142         * NEWS: Updates
3143
3144 2007-05-23  Matthias Clasen  <mclasen@redhat.com>
3145
3146         * gtk/gtk.symbols: 
3147         * gdk/x11/xsettings-common.h: 
3148         * gdk/gdk.symbols: Add some missing symbols.
3149
3150         * gtk/paper_names_offsets.c:
3151         * gtk/gen-paper-names.c: Make variables static.
3152
3153         * gtk/gtktooltip.[hc]:
3154         * gtk/gtkvolumebutton.c:
3155         * gtk/gtkscalebutton.c:  Fix up symbol aliasing.
3156
3157 2007-05-23  Yevgen Muntyan  <muntyan@tamu.edu>
3158
3159         * gtk/gtkprintunixdialog.c: missing #include <ctype.h>.
3160
3161         * gtk/gtkhandlebox.c (gtk_handle_box_paint):
3162         * gtk/gtkpagesetupunixdialog.c (_gtk_load_custom_papers):
3163         * gtk/gtkstatusbar.c (gtk_statusbar_get_context_id):
3164         * gtk/gtkiconcache.c (_gtk_icon_cache_new_for_path):
3165         * gtk/gtktrayicon-x11.c (gtk_tray_icon_send_dock_request):
3166         * gtk/gtkpreview.c (gtk_preview_finalize):
3167         * gtk/gtknotebook.c (gtk_notebook_set_group_id):
3168         * tests/testnotebookdnd.c (window_creation_function):
3169         * tests/testiconview.c (do_popup_menu):
3170         Fixed some compiler warnings (#440689).
3171
3172 2007-05-23  Kristian Rietveld  <kris@imendio.com>
3173
3174         * gtk/gtktooltip.c (find_widget_under_pointer): translate coordinates
3175         from the window they were received on to the event widget's window;
3176         correct for no-window widgets after that, bail out on failure.  This
3177         makes the coordinates given by GtkWidget::query-tooltip truly relative
3178         to widget->window.  (#435188).
3179
3180         * gtk/gtkwidget.c (gtk_widget_class_init): update docs for
3181         GtkWidget::query-tooltip.
3182
3183 2007-05-22  Behdad Esfahbod  <behdad@gnome.org>
3184
3185         * gtk/gtkprintcontext.c (gtk_print_context_finalize),
3186         (_gtk_print_context_new), (_gtk_print_context_get_fontmap),
3187         (gtk_print_context_set_cairo_context),
3188         (gtk_print_context_get_pango_fontmap),
3189         (gtk_print_context_create_pango_context):
3190         Don't create new pango fontmaps.  Use the default pangocairo
3191         fontmap and set resolution on PangoContext instead. (#417707)
3192
3193 2007-05-21  Richard Hult  <richard@imendio.com>
3194
3195         * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Set the
3196         resolution.
3197         
3198         * gdk/quartz/gdkscreen-quartz.c: Use the autorelease pool macros.
3199
3200 2007-05-21  Michael Natterer  <mitch@imendio.com>
3201
3202         * gtk/gtkcombobox.c (gtk_combo_box_set_model): revert last change.
3203
3204 Mon May 21 13:58:32 2007  Tim Janik  <timj@imendio.com>
3205
3206         * gtk/gtkcombobox.c (gtk_combo_box_set_model): removed redundant check.
3207
3208 2007-05-21  Tor Lillqvist  <tml@novell.com>
3209
3210         * gtk/gtkscalebutton.c (gtk_scale_popup): Make it work better with
3211         multiple monitors.
3212
3213 2007-05-20  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>
3214
3215         * gdk/directfb/gdkwindow-directfb.c:
3216         * gdk/directfb/gdkdirectfb.h: Updated minimum DirectFB version
3217         required to enable gdk_directfb_create_child_window.
3218         (Closes: #437379)
3219
3220 2007-05-20  Bastien Nocera  <hadess@hadess.net>
3221
3222         * gtk/Makefile.am:
3223         * gtk/gtk.h:
3224         * gtk/gtk.symbols:
3225         * gtk/gtkvolumebutton.[ch]: Add the GtkVolumeButton widget,
3226         a button that pops up a scale when clicked (Closes: #415775)
3227         * tests/Makefile.am:
3228         * tests/testvolumebutton.c: Add a test program for the
3229         volume button
3230
3231 2007-05-19  Bastien Nocera  <hadess@hadess.net>
3232
3233         reviewed by: Matthias Clasen <mclasen@redhat.com>
3234
3235         * gtk/Makefile.am:
3236         * gtk/gtk.h:
3237         * gtk/gtk.symbols:
3238         * gtk/gtkscalebutton.[ch]: Add the GtkScaleButton widget,
3239         a button that pops up a scale when pressed
3240
3241 2007-05-19  Matthias Clasen  <mclasen@redhat.com>
3242
3243         * gtk/gtk.symbols:
3244         * gtk/gtknotebook.[hc]: Deprecate gtk_notebook_[gs]et_group_id
3245         in favour of new functions gtk_notebook_[gs]et_group, which
3246         takes a pointer as group identifier and makes it easier to
3247         avoid group id collisions.  (#386930, Christian Hammond)
3248                 
3249         * tests/testnotebookdnd.c: Use new grouping api.
3250
3251 2007-05-18  Matthias Clasen  <mclasen@redhat.com>
3252
3253         * gtk/gtkactiongroup.c: Warn and refuse to add actions with
3254         duplicate names.  (#150877, Tommi Komulainen, patch by Kalle
3255         Vahlman)
3256
3257 2007-05-18  Matthias Clasen  <mclasen@redhat.com>
3258
3259         * gtk/gtk.symbols:
3260         * gtk/gtkentry.[hc]: Add gtk_entry_[gs]et_cursor_hadjustment()
3261         to allow automatic scrolling in response to cursor movements
3262         in the entry.  (#438651, Nate Nielsen)
3263
3264 2007-05-18  Matthias Clasen  <mclasen@redhat.com>
3265
3266         * gtk/gtktextview.c: Add a toggle-cursor-visibility keybinding
3267         signal, and bind F7 to it.  (#380048, Tim Miao)
3268
3269 2007-05-18  Matthias Clasen  <mclasen@redhat.com>
3270
3271         * gtk/gtk.symbols:
3272         * gtk/gtkicontheme.h:
3273         * gtk/gtkicontheme.c: Add a function to look up an icon from
3274         a list of icon names.  (#396901, Luca Ferretti)
3275
3276 2007-05-18  Emmanuele Bassi  <ebassi@gnome.org>
3277
3278         * gtk/gtkrecentchooserdefault.c:
3279         (gtk_recent_chooser_default_dispose): Reset the state on dispose.
3280
3281         (cleanup_after_load): load_id != 0 && load_state == LOAD_EMPTY
3282         is a valid state, if the main loop never had the chance to
3283         properly spin at least once. (#438671)
3284
3285 2007-05-18  Emmanuele Bassi  <ebassi@gnome.org>
3286
3287         * gtk/gtkrecentchooserdefault.c (recent_meta_data_func): Mark
3288         string for translation. (#439437)
3289
3290 2007-05-18  Matthias Clasen  <mclasen@redhat.com>
3291
3292         * gtk/gtkwindow.c (gtk_window_set_transient_for): Fix
3293         doc typo.  (#438100, Vincent Untz)
3294
3295 2007-05-18  Michael J. Chudobiak  <mjc@cvs.gnome.org>
3296
3297         * INSTALL.in:
3298         * README.in:
3299         * configure.in: Bump libtiff requirement to 3.6.0, by requiring
3300           presence of TIFFReadRGBAImageOriented.
3301
3302         * gdk-pixbuf-scaled-anim.c: (get_scaled_pixbuf):
3303         Preserve pixbuf options when generating a new scaled pixbuf.
3304
3305         * io-jpeg.c: (get_orientation), (gdk_pixbuf__jpeg_image_load),
3306         (gdk_pixbuf__jpeg_image_load_increment): Read the exif
3307         orientation tag and associate it with the "orientation" pixbuf
3308         option. Renders libexif unnecessary in some applications.
3309
3310         * io-tiff.c: (tiff_image_parse): Read the tiff orientation tag,
3311         compensate for the partial rotations performed by libtiff,
3312         and generate an "orientation" option for the pixbuf.
3313
3314 2007-05-18  Carlos Garnacho  <carlos@imendio.com>
3315
3316         * gtk/gtkexpander.c: remove c++ style comment.
3317
3318 2007-05-18  Carlos Garnacho  <carlos@imendio.com>
3319
3320         Make combobox menu popdown keybindable (#433593)
3321
3322         * gtk/gtkcombobox.c (gtk_combo_box_class_init): Add "popdown" binding
3323         signal and keybindings.
3324         (gtk_combo_box_real_popdown): Added, "popdown" keybinding signal
3325         handler.
3326         (gtk_combo_box_menu_key_press):
3327         (gtk_combo_box_list_key_press): forward the event to the combobox if
3328         it wasn't handled by the menu.
3329
3330 2007-05-18  Carlos Garnacho  <carlos@imendio.com>
3331
3332         * gtk/gtknotebook.c (gtk_notebook_init) (gtk_notebook_drag_motion)
3333         (gtk_notebook_drag_drop): Allow widgets up in the hierarchy to run
3334         their DnD handlers if the target doesn't match with anything the
3335         notebook manages. (#350665, Joakim Lundborg).
3336
3337 2007-05-18  Carlos Garnacho  <carlos@imendio.com>
3338
3339         Refactor GtkFileChooserDialog sizing.
3340
3341         * gtkfilechooserembed.[ch] (delegate_get_resizable_hints)
3342         (_gtk_file_chooser_embed_get_resizable_hints):
3343         s/resizable_hints/resizable/, return just one boolean value to
3344         determine whether the filechooser should be resizable or not.
3345
3346         * gtkfilechooserprivate.h (struct GtkFileChooserDialogPrivate): remove
3347         variables related to the GtkFileChooserEmbed get_default_size() and
3348         get_resizable() implementations.
3349         (struct GtkFileChooserDefault): Move default size management here.
3350
3351         * gtkfilechooserdefault.c (gtk_file_chooser_default_size_allocate):
3352         Added, store currently allocated size to calculate default size later.
3353         (gtk_file_chooser_default_get_resizable_hints):
3354         s/resizable_hints/resizable/.
3355         (gtk_file_chooser_default_set_property): Reload settings if the file
3356         chooser action changes, this way the save expander state will be known
3357         before mapping the window, avoiding wrong window positioning and
3358         flickering. (#424299, #424309)
3359         (find_good_size_from_style): Only get size from style if it wasn't set
3360         previously.
3361         (gtk_file_chooser_default_get_default_size): return default size based
3362         on stored default size and preview/extra widget sizes.
3363
3364         * gtkfilechooserdialog.c (file_chooser_widget_update_hints)
3365         (file_chooser_widget_realized_size_changed)
3366         (file_chooser_widget_unrealized_size_changed): simplified to
3367         (file_chooser_widget_size_changed): set window size and resizability
3368         based on the GtkFileChooserEmbed interface implementation. (Bug
3369         #420285, Tomeu Vizoso)
3370         (gtk_file_chooser_dialog_map): force a dialog size change, so it's
3371         clamped for sure to the 75% of the screen size.
3372
3373 2007-05-18  Carlos Garnacho  <carlos@imendio.com>
3374
3375         * gtk/gtknotebook.c (gtk_notebook_real_insert_page): Do not unset
3376         the brand new current page if there was none set previously. Fixes
3377         #425138 (Reported by Michail Crayson). Some code simplifications.
3378         (gtk_notebook_draw_arrow): code style fix.
3379
3380 2007-05-16  Matthias Clasen  <mclasen@redhat.com>
3381
3382         * gtk/gtkpathbar.c: Add ATK names to the Up, Down, and Root
3383         buttons. Keep the focus from vanishing when Up or Down arrows
3384         become insensitive or invisible.  (#357005, Patrick Wade)
3385
3386 2007-05-16  Brian Cameron  <brian.cameron@sun.com>
3387
3388         * acconfig.h, configure.in, gdk/Makefile.am, gdkprivate.h, gdkrgb.c,
3389           gdkdraw.c, gdk-pixbuf/gdk-pixbuf-scale.c,
3390           gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/pixops/pixops.[ch],
3391           gdk-pixbuf/pixops/timescale.c:  Add Sun mediaLib support so that
3392           hardware acceleration via mediaLib is enabled if mediaLib is
3393           detected via configure.  Enhancement request #344813.  I was given
3394           permission to commit in the bug report by Matthias Clasen.
3395         * gdk/medialib.[ch]: New files added for mediaLib support.
3396         * docs/reference/gdk-pixbuf/tmpl/scaling.sgml,
3397           docs/reference/gdk/tmpl/rgb.sgml, gdk/gdkdraw.c:  Add docs for
3398           mediaLib support.
3399
3400 2007-05-15  Torsten Schoenfeld  <kaffeetisch@gmx.de>
3401
3402         * gtk/gtkprintoperation.c (pdf_end_run): Unset priv->platform_data and
3403         priv->free_platform_data to prevent gtk_print_operation_finalize()
3404         from freeing the cairo surface a second time.
3405
3406 2007-05-14  Kristian Rietveld  <kris@gtk.org>
3407
3408         * gtk/gtkfilechooserdefault.c (recent_column_path_sort_func): remove
3409         dangling semicolon, fixes the segfault ebassi was seeing earlier today
3410         ;)
3411
3412 2007-05-14  Tristan Van Berkom  <tvb@gnome.org>
3413
3414         * gtk/gtkaboutdialog.c: Functions: gtk_about_dialog_get/set_name() 
3415         were deprecated in favour of gtk_about_dialog_get/set_program_name(), 
3416         the GtkAboutDialog now uses the "program-name" property instead of 
3417         the conflicting "name" property (fixes bug 345822).
3418
3419 2007-05-14  Emmanuele Bassi  <ebassi@gnome.org>
3420
3421         * configure.in: Add check for GNU extensions to ftw()/nftw().
3422
3423         * gtk/gtksearchenginesimple.c: Fix compilation on systems with
3424         only POSIX-compliant ftw(). (#435797, based on a patch by
3425         Richard Hult)
3426
3427 2007-05-14  Emmanuele Bassi  <ebassi@gnome.org>
3428
3429         * gtk/gtkfilechooserdefault.c:
3430         Convert the GtkTreeIter inside the sorting functions for the
3431         search and recent modes. This doesn't yet fix the segfault when
3432         clicking the 'Name' column in recent mode, though.
3433
3434 2007-05-14  Behdad Esfahbod  <behdad@gnome.org>
3435
3436         * modules/input/gtkimcontextthai.c
3437         (gtk_im_context_thai_filter_keypress):
3438         Fix check for modifier keys. (#438261, Theppitak Karoonboonyanan)
3439
3440 2007-05-14  Matthias Clasen  <mclasen@redhat.com>
3441
3442         * gtk/gtkscrolledwindow.c: Document scrollbars-within-bevel
3443         as 2.12 addition.  (#438131, Mart Raudsepp)
3444
3445 2007-05-14  Matthias Clasen  <mclasen@redhat.com>
3446
3447         * gtk/gtkvseparator.c (gtk_vseparator_size_request): Fix
3448         size requisition for wide vertical separators.  (#438113, 
3449         Benjamin Berg)
3450
3451 2007-05-13  Emmanuele Bassi  <ebassi@gnome.org>
3452
3453         * gtk/gtksearchenginesimple.c: Include <ftw.h> and use nftw() and
3454         all the symbols defined in <ftw.h> conditionally.
3455
3456 2007-05-13  Cody Russell  <bratsche@gnome.org>
3457
3458         * gdk/win32/gdkevents-win32.c: Only do the configure event context
3459         iteration under WM_WINDOWPOSCHANGED instead of inside
3460         handle_configure_event().  This fixes a bug that prevented window
3461         contents from being redrawn after gtk_window_resize(). (#436721)
3462
3463 2007-05-12  Behdad Esfahbod  <behdad@gnome.org>
3464
3465         * gdk/gdkdraw.c (gdk_draw_trapezoids): Fix wrong cairo path
3466         generation.  (#437879, Eddie C. Dost)
3467
3468 2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>
3469
3470         GtkFileChooser search fixes and recent files support.  (#435342)
3471         
3472         * gtk/gtkfilechooserdefault.c: Support drag and drop for
3473         adding shortcuts of folders when in search or recent files
3474         mode.
3475
3476 2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>
3477
3478         GtkFileChooser search fixes and recent files support.  (#435342)
3479
3480         * gtk/gtkfilechooserprivate.h:
3481         * gtk/gtkfilechooserdefault.c: Follow the sorting order of
3482         the GtkTreeView displaying the files list.
3483
3484         (shortcuts_get_index), (shortcuts_insert_separator),
3485         (shortcuts_model_create), (shortcuts_combo_filter_func): Remove
3486         the separator between the Search and the Recently Used shortcuts.
3487
3488         (list_select_func), (list_icon_data_func), (list_name_data_func),
3489         (list_mtime_data_func): Update the sensitivity of the row
3490         depending on the GtkFileChooserAction used.
3491
3492 2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>
3493
3494         GtkFileChooser search fixes and recent files support.  (#435342)
3495
3496         * gtk/gtkfilechooserprivate.h:
3497         * gtk/gtkfilechooserdefault.c: Update the contents of the
3498         files list when changing the filter of the GtkFileChooserDefault
3499         widget.
3500
3501 2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>
3502
3503         GtkFileChooser search fixes and recent files support.  (#435342)
3504
3505         * gtk/gtkfilechooserdefault.c: Update the add bookmark button
3506         sensitivity when in search or recent files mode, and allow
3507         adding a bookmark for a folder.
3508
3509 2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>
3510
3511         GtkFileChooser search fixes and recent files support.  (#435342)
3512
3513         * gtk/gtkfilechooserdefault.c: UI fixes in the Search mode: add
3514         a mnemonic to the label, de-boldify the label's text and assign
3515         focus to the search entry when switching to the search mode.
3516
3517         (list_name_data_func): Split the text in both search and recent
3518         files mode: on the first line use the short name and on the
3519         second line use the full path.
3520
3521 2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>
3522
3523         GtkFileChooser search fixes and recent files support.  (#435342)
3524
3525         * gtk/gtkfilechooserprivate.h:
3526         * gtk/gtkfilechooserdefault.c: Add support for showing the
3527         recently used files list as a special shortcut item.
3528
3529 2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>
3530         
3531         GtkFileChooser search fixes and recent files support.  (#435342)
3532
3533         * gtk/gtkfilechooserdefault.c: Overall whitespace fixes and
3534         indentation style consistency.
3535
3536         (list_row_activated): If the search hit is a folder, follow it
3537         when activating the row, and switch back to browse mode.
3538
3539         (search_clear_model), (search_start_query),
3540         (search_entry_activate_cb), (search_setup_widgets): Remember
3541         the last query when switching between modes.
3542
3543 2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>
3544
3545         GtkFileChooser search fixes and recent files support.  (#435342)
3546
3547         * gtk/gtkfilechooserdefault.c:
3548         (_gtk_file_chooser_default_class_init): Add key binding for
3549         the Search shortcut; default to MOD1+S.
3550
3551         (search_shortcut_handler): Handle the key binding.
3552
3553         (search_hit_get_info_cb), (search_add_hit), (search_clear_model),
3554         (search_setup_model): Retrieve informations on the search hits
3555         when adding them to the model.
3556
3557         (list_icon_data_func): Show the search hit icon.
3558
3559 2007-05-11  Michael Natterer  <mitch@imendio.com>
3560
3561         * gtk/gtktextview.c (selection_motion_event_handler): call
3562         gdk_event_request_motions(event) so selecting works with
3563         XInput devices too. Spotted by Tommi Komulainen.
3564
3565 2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>
3566
3567         * gtk/gtksearchengine.c (_gtk_search_engine_new): Fall back
3568         to GtkSearchEngineSimple only if gthread has already been
3569         initialiased; otherwise, disable search support in the file
3570         chooser widget.  (#435847)
3571
3572 2007-05-10  Matthias Clasen <mclasen@redhat.com>
3573
3574         * gtk/gtkbutton.c (gtk_button_set_image): Unparent the old
3575         image before overwriting priv->image.  (#437281, Jochen Baier)
3576
3577 2007-05-10  Matthias Clasen <mclasen@redhat.com>
3578
3579         * gtk/gtkscrolledwindow.c (gtk_scrolled_window_scroll_child):
3580         Correct a confusing warning.  (#437284, Björn Lindqvist)
3581
3582 2007-05-10  Matthias Clasen <mclasen@redhat.com>
3583
3584         * gdk/gdkdraw.c (gdk_draw_pixbuf): Don't call into
3585         the backend if the region is empty.  (#437081, Sven Neumann)
3586
3587 2007-05-10  Matthias Clasen <mclasen@redhat.com>
3588
3589         * gtk/gtksearchenginesimple.c (search_visit_func);
3590         Assume Posix nftw behaviour. 
3591
3592 2007-05-09  Dom Lachowicz <domlachowicz@gmail.com>
3593
3594         * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: GtkTreeView doesn't 
3595         expand/collapse with Right/Left cursor keys on Windows
3596         (#436269, Daniel Atallah)
3597
3598 2007-05-09  Cody Russell  <bratsche@gnome.org>
3599
3600         * gtk/gtkmenu.c:
3601         (get_arrows_border): New function to calculate the border sizes needed 
3602         for the scroll arrows.
3603         (get_arrows_visible_area): New function to calculate the arrows visible 
3604         area.
3605         (get_arrows_sensitive_area): New function to calculate the arrows
3606         sensitive area.
3607         (gtk_menu_paint): Refactored code to calculate the border sizes needed
3608         for the scroll arrows into get_arrows_border and the code to calculate 
3609         the visible area into get_arrows_visible_area.
3610         (gtk_menu_handle_scrolling): Refactored arrow sensitive calculations
3611         to get_arrows_sensitive_area.
3612         (gtk_menu_realize, gtk_menu_size_allocate, gtk_menu_scroll_by,
3613         gtk_menu_position, gtk_menu_scroll_to, gtk_menu_scroll_item_visible,
3614         get_visible_size, get_menu_height, gtk_menu_real_move_scroll): Update
3615         callers.  (From #436533, Tommi Komulainen)
3616
3617 2007-05-09  Kristian Rietveld  <kris@imendio.com>
3618
3619         * gtk/gtktreeview.c (gtk_tree_view_key_press),
3620         (gtk_tree_view_key_release):
3621         * gtk/gtkiconview.c (gtk_icon_view_class_init),
3622         (gtk_icon_view_key_press),
3623         (gtk_icon_view_key_release): Disable key bindings during rubber
3624         banding, make pressing Esc stop rubber banding.  (#405027).
3625
3626 2007-05-09  Emmanuele Bassi  <ebassi@gnome.org>
3627
3628         * gtk/gtkrecentmanager.c:
3629         (gtk_recent_info_get_icon): Return GTK_STOCK_DIRECTORY for entries
3630         with MIME type "x-directory/normal", instead of GTK_STOCK_FILE.
3631
3632 2007-05-05  Richard Hult  <richard@imendio.com>
3633
3634         * gdk/quartz/gdkdrawable-quartz.c:
3635         (gdk_quartz_drawable_get_context),
3636         (gdk_quartz_drawable_release_context): Fix bugs #428733 and #433301.
3637         Turns out the lockFocus logic was flawed, now we only lock/unlock 
3638         when called outside a real expose event and never flush manually.
3639
3640 2007-05-03  Behdad Esfahbod  <behdad@gnome.org>
3641
3642         * gtk/gtklabel.c (gtk_label_ensure_layout):
3643         * gtk/gtktextlayout.c (set_para_values): Make GTK_JUSTIFY_FILL work,
3644         using pango_layout_set_justify() that works now. (#435675)
3645
3646 2007-05-03  Emmanuele Bassi  <ebassi@gnome.org>
3647
3648         * gtk/gtksearchenginesimple.c (search_engine_simple_finalize): Remove
3649         spurious g_free() call.
3650
3651 Thu May  3 16:27:34 2007  Tim Janik  <timj@imendio.com>
3652
3653         * tests/testgtk.c (create_handle_box): made handle box test non-modal,
3654         so other test can interact with handle boxes.
3655
3656 2007-05-02  Emmanuele Bassi  <ebassi@gnome.org>
3657
3658         Add search file support in the GtkFileChooser. Original patch
3659         by Federico Mena Quintero; patch updated by Matthias Clasen.
3660         See bug #344785.
3661
3662         * gtk/gtksearchengine.[ch]: Private search engine abstraction
3663         object.
3664
3665         * gtk/gtksearchenginebeagle.[ch]: Private search engine
3666         implementation using libbeagle (via g_module_open()).
3667
3668         * gtk/gtksearchenginesimple.[ch]: Private search engine
3669         implementation using file tree walking.
3670
3671         * gtk/gtksearchenginetracker.[ch]: Private earch engine
3672         implementation using libtracker (via g_module_open()).
3673
3674         * gtk/gtkquery.[ch]: Private query object for the search
3675         engines.
3676
3677         * gtk/gtkfilechooserprivate.h:
3678         * gtk/gtkfilechooserdefault.c: Use the GtkSearchEngine to
3679         query a search engine backend using GtkQuery; create a new
3680         operating mode, OPERATION_MODE_SEARCH, and call the common
3681         operating mode OPERATION_MODE_BROWSE; add support for virtual
3682         shortcuts inside the shortcuts model and create a new "Search"
3683         virtual shortcut.
3684
3685         * gtk/Makefile.am: Update the build with the new files
3686
3687 2007-05-02  Armin Burgmeier  <armin@openismus.com>
3688
3689         * gtk/gtkcombobox.c: Destroy the menu in dispose instead of
3690         finalize, because the menu might unparent itself from its parent and
3691         cause a signal emission on a finalized object. (#430746)
3692
3693 2007-05-02  Dom Lachowicz <domlachowicz@gmail.com>
3694
3695         * modules/engines/ms-windows/msw_style.c: MS-Windows Theme top tabs 
3696         rendered upside down for non-XP theme (#435053, Daniel Atallah)
3697
3698 Wed May  2 11:35:45 2007  Tim Janik  <timj@imendio.com>
3699
3700         * docs/faq/gtkfaq.sgml: removed, since this file is long outdated
3701         and fully replaced by docs/faq/gtk-faq.sgml.
3702
3703 2007-05-02  Kristian Rietveld  <kris@imendio.com>
3704
3705         * gtk/gtktreeview.c (gtk_tree_view_grab_notify): stop the rubber band
3706         if it's active.
3707
3708 2007-05-01  Matthias Clasen  <mclasen@redhat.com>
3709
3710         * gtk/gtkiconcachevalidator.c: Don't be too strict when checking
3711         icon flags.  (#435062)
3712
3713 2007-05-01  Matthias Clasen  <mclasen@redhat.com>
3714         
3715         * gtk/Makefile.am: When generating gtkbuiltincache.h, only copy
3716         pngs.
3717
3718 2007-05-01  Matthias Clasen  <mclasen@redhat.com>
3719
3720         * gtk/gtkfilesystemmodel.c (_gtk_file_system_model_path_do):
3721         Don't ignore the fact that gtk_file_system_get_parent() 
3722         may return NULL.  (#424042, Jan Martinek)
3723
3724 2007-05-01  Dan Winship  <danw@novell.com>
3725
3726         * gdk/x11/gdkwindow-x11.c (setup_toplevel_window): Make sure the
3727         leader_window's WM_CLIENT_LEADER points to itself. #435028
3728
3729 2007-05-02  Christian Persch  <chpe@gnome.org>
3730
3731         * gtk/gtktreemodel.c: (gtk_tree_iter_copy), (gtk_tree_iter_free): Use
3732         GSlice for gtk_tree_iter_copy. Bug #434863.
3733
3734 2007-05-02  Christian Persch  <chpe@gnome.org>
3735
3736         * gtk/gtkpapersize.c: (gtk_paper_size_get_paper_sizes): Put only
3737         GtkPaperSizes into the list, don't mix it with GtkPageSetups. Bug
3738         #434861.
3739
3740 2007-05-02  Christian Persch  <chpe@gnome.org>
3741
3742         * gtk/gtkpapersize.c: (gtk_paper_size_new_from_info),
3743         (gtk_paper_size_new), (gtk_paper_size_new_custom),
3744         (gtk_paper_size_copy), (gtk_paper_size_free): Use GSlice to allocate
3745         GtkPaperSize. Bug #434862.
3746
3747 2007-05-02  Christian Persch  <chpe@gnome.org>
3748
3749         * gtk/gtkstatusbar.c: (gtk_statusbar_get_context_id),
3750         (gtk_statusbar_expose_event): No need to allocate a guint; just stuff
3751         the ID into the pointer directly. Bug #434865.
3752
3753 2007-05-01  Matthias Clasen  <mclasen@redhat.com>
3754
3755         * gtk/gtkfilechooserdefault.c (struct UpdateCurrentFolderData),
3756         (update_current_folder_get_info_cb): add a new struct field to clear
3757         the file entry after the current folder has been updated.
3758
3759         (gtk_file_chooser_default_update_current_folder),
3760         (change_folder_and_display_error): Add a new function parameter to
3761         trigger file entry clearing.
3762
3763         (edited_idle_create_folder_cb),
3764         (file_list_drag_data_received_get_info_cb),
3765         (gtk_file_chooser_default_map),
3766         (gtk_file_chooser_default_set_current_folder),
3767         (switch_to_selected_folder), (save_entry_get_info_cb),
3768         (shortcuts_activate_volume_mount_cb), (shortcuts_activate_volume),
3769         (shortcuts_activate_get_info_cb), (list_row_activated),
3770         (path_bar_clicked): use new function parameter appropriately.
3771
3772         (gtk_file_chooser_default_should_respond): trigger file entry clearing
3773         after the directory is updated instead of clearing it before, this way 
3774         we avoid reloading the completion model with the soon to be old folder, 
3775         causing a warning and a glitch in the folder where completion happens. 
3776         (#379414, Carlos Garnacho)
3777
3778 2007-05-01  Matthias Clasen  <mclasen@redhat.com>
3779
3780         * gtk/gtkiconcachevalidator.[hc]: Add an icon cache validator.
3781
3782         * gtk/updateiconcache.c: Validate the generated cache before
3783         moving it in place. Also add a --validate option to validate
3784         an existing icon cache.
3785
3786         * gtk/gtkiconcache.c: Validate icon caches before using them.
3787
3788         * gtk/Makefile.am: Integrate it.
3789
3790 2007-05-01  Michael Emmel  <mike.emmel@gmail.com>
3791
3792         * gdk/directfb/gdkdisplay-directfb.c:
3793         Added stub gdk_notify_startup_complete_with_id to compile
3794         * gdk/directfb/gdkwindow-directfb.c:
3795         Added gdk_window_set_opacity
3796         * gdk/directfb/gdkkeys-directfb.c:
3797         Fix menu key handling crash Bug #413328
3798
3799 2007-05-01  Christian Persch  <chpe@gnome.org>
3800
3801         * gtk/gtkprinter.h:
3802         * gtk/gtkprintjob.h: Also move gtk_print_capabilities_get_type() to
3803         the new location. Bug #390437.
3804
3805 2007-04-30  Matthias Clasen  <mclasen@redhat.com>
3806
3807         * gtk/gtksettings.c (settings_update_color_scheme):
3808         Make sure we always have a color_hash.  (#423916, Jens Granseuer)
3809
3810 2007-04-30  Christian Persch  <chpe@gnome.org>
3811
3812         * docs/reference/gtk/gtk-sections.txt:
3813         * gtk/gtk.symbols:
3814         * gtk/gtkprinter-private.h:
3815         * gtk/gtkprinter.c: (gtk_printer_get_capabilities),
3816         (gtk_print_capabilities_get_type):
3817         * gtk/gtkprinter.h:
3818         * gtk/gtkprintjob.c:
3819         * gtk/gtkprintjob.h:
3820         * gtk/gtkprintunixdialog.c: (selected_printer_changed):
3821         Make gtk_printer_get_capabilities public, and move the
3822         GtkPrintCapabilities definition to gtkprinter.h. Bug #390437.
3823
3824 2007-04-30  Matthias Clasen  <mclasen@redhat.com>
3825
3826         * gtk/gtkexpander.c (gtk_expander_realize): A NO_WINDOW widget
3827         must not set the background of its window.  (#433972,
3828         Guilherme Polo)
3829
3830 2007-04-30  Richard Hult  <richard@imendio.com>
3831
3832         * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_opacity):
3833         Implement.
3834
3835 2007-04-30  Matthias Clasen  <mclasen@redhat.com>
3836
3837         * modules/printbackends/cups/gtkprintbackendcups.c: Get all
3838         the printer attributes when getting the list of printers,
3839         not via separate requests.  (#387889, Krishan Purahoo)
3840
3841 2007-04-30  Matthias Clasen  <mclasen@redhat.com>
3842
3843         Some more compiler warning fixes.
3844
3845         * gdk/directfb/gdkscreen-directfb.c (gdk_screen_is_composited):
3846         Fix NULL/FALSE confusion.
3847
3848 2007-04-30  Matthias Clasen  <mclasen@redhat.com>
3849
3850         Fix some compiler warnings.  (#433642, Kjartan Maraas)
3851
3852         * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_get_info):
3853         (gtk_file_system_win32_create_folder):
3854         * gtk/gtkaction.c (gtk_action_create_menu): Fix NULL/FALSE confusion.  
3855
3856         * gtk/gtklinkbutton.c (gtk_link_button_clicked): Pass
3857         the right type to uri_func.  
3858         
3859         * gtk/gtktext.c (gtk_text_key_press):
3860         * gtk/gtkstatusicon.c (gtk_status_icon_get_property): 
3861         * gtk/gtkxembed.c (_gtk_xembed_send_message): Add casts.
3862
3863         * gtk/gtktrayicon-x11.c (gtk_tray_icon_manager_window_destroyed): 
3864         (gtk_tray_icon_delete):
3865         * gtk/gtkprintunixdialog.c (create_main_page):
3866         * gtk/gtkhsv.c (gtk_hsv_motion): Remove unused variables.
3867
3868         * gtk/gtkliststore.c: Adapt callbacks to GSequence types.
3869
3870 2007-04-30  Cody Russell  <bratsche@gnome.org>
3871
3872         * gdk/win32/gdkwindow-win32.c: Reintroduced erase_background(),
3873         but now we're calling it from _gdk_windowing_window_clear_area()
3874         instead of from the WM_ERASEBKGND event.  Also fixes the area
3875         that is cleared so that it is not an extra row and column too
3876         large.  (Neil Roberts, #415681)
3877
3878 2007-04-30  Matthias Clasen  <mclasen@redhat.com>
3879
3880         * gtk/gtktextview.c: Allow indents to be negative.  (#Bug 434308)
3881
3882 2007-04-30  Michael Natterer  <mitch@imendio.com>
3883
3884         * gtk/gtkmenushell.c (gtk_menu_shell_enter_notify): pop up the
3885         submenu explicitely only in touchscreen mode since otherwise
3886         selecting the item already pops up the submenu. Restores the
3887         drag-selection timeout (spotted by Søren Sandmann, #128968).
3888
3889 2007-04-30  Michael Natterer  <mitch@imendio.com>
3890
3891         * gtk/gtkpapersize.h: really rename gtk_paper_size_get_builtins()
3892         to gtk_paper_size_get_paper_sizes().
3893
3894 2007-04-30  Tor Lillqvist  <tml@novell.com>
3895
3896         * gtk/gtkpapersize.c (gtk_paper_size_get_paper_sizes):
3897         _gtk_load_custom_papers() exists only on Unix.
3898
3899 2007-04-30  Tor Lillqvist  <tml@novell.com>
3900
3901         Add functionality to set overall opacity of a top-level
3902         window. (#405316)
3903
3904         * gdk/gdk.symbols: Add gdk_window_set_opacity.
3905
3906         * gdk/x11/gdkwindow-x11.c
3907         * gdk/win32/gdkwindow-win32.c: Implement
3908         gdk_window_set_opacity(). On X11 use the _NET_WM_WINDOW_OPACITY
3909         property. On Win32 use SetLayeredWindowAttributes(LWA_ALPHA).
3910
3911         * gdk/gdkwindow.h: Declare gdk_window_set_opacity().
3912
3913         * gdk/x11/gdkscreen-x11.c (gdk_screen_get_rgba_colormap): Document
3914         that this is not implemented in the Windows backend. Add reference
3915         to gdk_window_set_opacity().
3916
3917         * gtk/gtk.symbols: Add gtk_window_set_opacity and
3918         gtk_window_get_opacity.
3919
3920         * gtk/gtkwindow.c (struct _GtkWindowPrivate)
3921         (gtk_window_class_init): Add opacity property, a double in the
3922         range [0, 1].
3923         (gtk_window_set_opacity, gtk_window_get_opacity): Implement.
3924         (gtk_window_realize): If opacity is set, call
3925         gdk_window_set_opacity().
3926
3927         * gtk/gtkwindow.h: Declare gtk_window_set_opacity() and
3928         gtk_window_get_opacity().
3929
3930 2007-04-30  Matthias Clasen <mclasen@redhat.com>
3931
3932         * gtk/gtk.symbols:
3933         * gtk/gtkpapersize.[hc]: Rename gtk_paper_size_get_builtins()
3934         to gtk_paper_size_get_paper_sizes() and optionally include
3935         custom paper sizes.
3936
3937         * gtk/gtkpagesetupunixdialog.c: Internally export a function
3938         to load custom paper sizes.
3939
3940         * modules/printbackends/file/gtkprintbackendfile.c: Implement
3941         printer_list_papers, returning all paper sizes.  (#434329,
3942         Christian Persch)
3943
3944 2007-04-30  Matthias Clasen <mclasen@redhat.com>
3945         
3946         * gtk/gtkprintoperation.c: Translate the default job
3947         name, and don't utf8-validate the job name in the
3948         setter.  (#421993, Morten Welinder)
3949
3950 2007-04-30  Matthias Clasen <mclasen@redhat.com>
3951
3952         * gtk/gtkprintjob.c (gtk_print_job_get_surface): Use
3953         g_unlink.  (#421990, Morten Welinder)
3954
3955 2007-04-29  Matthias Clasen <mclasen@redhat.com>
3956
3957         Fix some issues with reference handling in the printing
3958         code.  (#429902, Mathias Hasselmann)
3959
3960         * gtk/gtkprintoperation.c (gtk_print_operation_finalize):
3961         Unref the print context, if we have one.
3962         (gtk_print_operation_done): Add a default ::done handler 
3963         that unrefs the print context.
3964         (preview_ready): Take a reference on the print operation
3965         preview here.
3966         (print_pages_idle): ...not here,
3967         (preview_print_idle_done): ...and release it here.
3968
3969         * tests/print-editor.c (preview_cb): Take a reference
3970         on the print operation here.
3971
3972 2007-04-29  Matthias Clasen <mclasen@redhat.com>
3973
3974         * gtk/gtkprintoperation.c (print_pages_idle): Don't get
3975         stuck in a recursive mainloop if a synchronous preview
3976         is cancelled.
3977
3978 2007-04-29  Matthias Clasen <mclasen@redhat.com>
3979
3980         Make the emission of ::end-print and ::done consistent
3981         for previews.  (#347567, Yevgen Muntyan)
3982
3983         * gtk/gtkprintoperation.c (preview_iface_end_preview): Set
3984         the finished status here.
3985         (preview_end_run): ...and not here.
3986         (print_pages_idle_done): Emit ::done for a cancelled preview.
3987         (print_pages_idle): If a preview has been cancelled, don't
3988         emit ::ready, but emit ::end-print. 
3989
3990         * tests/print-editor.c: Use ::end-print to undo allocations
3991         from ::begin-print.
3992
3993 2007-04-29  Matthias Clasen <mclasen@redhat.com>
3994
3995         * gtk/gtkpapersize.c (gtk_paper_size_new): Mark paper sizes
3996         in the PWG "custom" namespace as custom. Add a link to 
3997         the spec in the docs.  (#426416, Andreas Guelzow)
3998
3999 2007-04-29  Matthias Clasen <mclasen@redhat.com>
4000
4001         * gtk/gtkprintoperation.c (gtk_print_operation_run): Document
4002         that a print operation can be run only once, and add a 
4003         corresponding g_return_if_fail().   (#379399, Masao Mutoh)
4004
4005 2007-04-29  Dan Winship  <danw@novell.com>
4006
4007         * gdk/x11/gdkdisplay-x11.c
4008         (gdk_x11_display_broadcast_startup_message): New method to
4009         marshall and send a Startup Notification message. (from #415070)
4010         (gdk_notify_startup_complete_with_id): Use that
4011
4012 2007-04-29  Mattthias Clasen  <mclasen@redhat.com>
4013
4014         * gtk/gtkprintoperation-unix.c 
4015         (_gtk_print_operation_platform_backend_launch_preview):
4016         Don't leak a file descriptor, and don't make the error
4017         dialog modal.  (#421985, Morten Welinder, Christian Persch)
4018
4019 2007-04-29  Xan Lopez  <xan@gnome.org>
4020
4021         * docs/faq/gtk-faq.sgml: Fix typo in FAQ (#373706,
4022         Diego Escalante Urrelo).
4023
4024         I'm fixing gtk-faq.sgml as it seems this is the file
4025         we actually use...
4026
4027 2007-04-29  Matthias Clasen  <mclasen@redhat.com>
4028
4029         * gtk/gtktoolbar.c (_gtk_toolbar_elide_underscores): 
4030         Only strip parentheses of the form (_x).  (#434261,
4031         Brian Wellington)
4032
4033 2007-04-29  Matthias Clasen  <mclasen@redhat.com>
4034
4035         * gtk/gtkprintoperation-unix.c
4036         (_gtk_print_operation_platform_backend_launch_preview):
4037         Support passing a print settings file to the preview 
4038         command.  (#403717, Christian Persch)
4039
4040         * gtk/gtksettings.c: Document %s in the 
4041         gtk-print-preview-command setting.
4042
4043 2007-04-29  Matthias Clasen  <mclasen@redhat.com>
4044
4045         * gtk/gtkprintoperation.c (print_pages_idle): Also check
4046         the default handler when deciding whether to emit the
4047         paginate signal.  (#345345, Yevgen Muntyan)
4048
4049 2007-04-29  Matthias Clasen  <mclasen@redhat.com>
4050
4051         * gtk/gtkprintoperation.h: Add a new error code
4052
4053         * gtk/gtk.symbols:
4054         * gtk/gtkpagesetup.[hc]:
4055         * gtk/gtkpapersize.[hc]:
4056         * gtk/gtkprintsettings.[hc]: Add functions to serialize 
4057         and deserialize page setups and print settings to files 
4058         and key files.  (#344515, Christian Persch)
4059
4060         * gtk/gtkpagesetupunixdialog.c: Adapt to the new functions.
4061
4062         * tests/print-editor.c: Use the new functions to persist 
4063         page setup and print settings.
4064
4065 2007-04-29  Matthias Clasen  <mclasen@redhat.com>
4066
4067         * gtk/gtkpagesetupunixdialog.c (gtk_page_setup_unix_dialog_finalize):
4068         Free the custom paper list.  (#403267, Felix Riemann)
4069
4070 2007-04-29  Matthias Clasen  <mclasen@redhat.com>
4071
4072         * gtk/gtkprintjob.c (gtk_print_job_get_surface): Fix a 
4073         small memory leak.  (#403251, Felix Riemann)
4074
4075 2007-04-29  Matthias Clasen  <mclasen@redhat.com>
4076
4077         * modules/printbackends/cups/gtkprintbackendcups.c: Fix a
4078         typo. String change !  (#406160, Stephane Raimbault)
4079
4080 2007-04-29  Matthias Clasen  <mclasen@redhat.com>
4081
4082         * gtk/gtk.symbols:
4083         * gtk/gtkpapersize.[hc]: Add a function to list the
4084         builtin paper sizes.  (#382355, Christian Persch)
4085
4086 2007-04-29  Matthias Clasen  <mclasen@redhat.com>
4087
4088         * gtk/gtk.symbols:
4089         * gtk/gtkprinter-private.h:
4090         * gtk/gtkprinter.[hc]: Make gtk_printer_has_details() and
4091         gtk_printer_request_details() public.
4092
4093         * gtk/gtkpagesetupunixdialog.c:
4094         * gtk/gtkprintunixdialog.c: Update callers.  (#389203, 
4095         Christian Persch)
4096
4097 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
4098
4099         * configure.in: Add --enable-test-print-backend, defaulting
4100         to no.
4101
4102         * modules/printbackends/Makefile.am: Make building the test
4103         print backend conditional.
4104
4105 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
4106
4107         * modules/printbackends/lpr/*:
4108         * modules/printbackends/cups/*: Correct some copyright lines.
4109
4110         * configure.in:
4111         * modules/printbackends/Makefile.am:
4112         * modules/printbackends/test/*: Add a test print backend.
4113         (#409089, John Palmieri)
4114
4115 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
4116
4117         * gtk/gtktexttag.[hc]: Add a way to specify accumulative
4118         margins.  (#344499, Nate Nielsen)
4119
4120 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
4121
4122         * gtk/gtkeventbox.c (gtk_event_box_realize): Fix the offsets
4123         of the input-only window if we also have a visible window. 
4124         (#405089)
4125
4126 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
4127
4128         * gtk/gtkliststore.c (gtk_list_store_set_valist_internal):
4129         * gtk/gtktreestore.c (gtk_tree_store_set_valist_internal):
4130         Recognize negative column indices as invalid.  (#415260,
4131         Chris Wilson)
4132
4133 2007-04-28  Ronald Bultje  <rbultje@ronald.bitfreak.net>
4134
4135         * gdk/quartz/gdkeventloop-quartz.c: (select_thread_func),
4136         (poll_func): fix two more potential races that could happen when
4137         an application is polling in the mainloop and a separate thread
4138         tries to wake it up using g_idle_add(). Fixes #425271 comment 5.
4139
4140 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
4141
4142         * gtk/gtkentry.c (gtk_entry_grab_focus): 
4143         (gtk_entry_real_insert_text): Only call g_object_get() 
4144         when necessary.  (#373137, Morten Welinder, patch by Xan Lopez)
4145
4146 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
4147
4148         * gtk/gtkstatusicon.c (gtk_status_icon_get_size): Add
4149         a note about being embedded.  (#340107, Christian Persch)
4150
4151 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
4152
4153         * gtk/gtkdnd.[hc]: Add GTK_TARGET_OTHER_{APP,WIDGET} to
4154         restrict drags within an application/widget.  (#163141, 
4155         Jorn Baayen)
4156
4157 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
4158
4159         * docs/tools/Makefile.am:
4160         * gtk/Makefile.am: Make make clean clean.  (#410160, Tommi
4161         Komulainen)
4162
4163 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
4164
4165         * gdk/win32/bdfcursor.c (compose_cursors_from_fonts):
4166         * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_reorder): 
4167         * gtk/gtkfilesystemmodel.c (got_root_folder_cb):
4168         (get_children_folder_cb): Plug memory leaks caused by wrong 
4169         use of g_slist_remove_link().  (#405515, Nicolas Peninguy)
4170
4171 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
4172         
4173         * demos/gtk-demo/printing.c: Fix the headers in the print
4174         demo.  (#423722, Yevgen Muntyan)
4175
4176 2007-04-28  Xan Lopez  <xan@gnome.org>
4177
4178         * gtk/gtkentrycompletion.c (gtk_entry_completion_insert_completion_text): 
4179         Use strstr instead of g_strstr with -1 for length.
4180
4181 2007-04-28  Xan Lopez  <xan@gnome.org>
4182
4183         * gtk/gtkentry.c:
4184         * gtk/gtkentrycompletion.c:
4185         * gtk/gtkentrycompletion.h:
4186         * gtk/gtkentryprivate.h:
4187
4188         Remember the user input that triggered the completion, add
4189         API to the retrieve it and reset the entry contents to it
4190         if the user cancels the tentative completion during
4191         the inline-selection.
4192         
4193 2007-04-27  Matthias Clasen  <mclasen@redhat.com>
4194
4195         * gdk/x11/gdkgeometry-x11.c: Factor out window movement
4196         functions. (#63820, Tilman Sauerbeck)
4197
4198 2007-04-27  Matthias Clasen  <mclasen@redhat.com>
4199
4200         * gdk/x11/gdkgeometry-x11.c: Factor out translate_pos().
4201         (#63820, Tilman Sauerbeck)
4202
4203 2007-04-27  Matthias Clasen  <mclasen@redhat.com>
4204
4205         * gdk/x11/gdkgeometry-x11.c: Factor out window mapping
4206         and unmapping functions.  (#63820, Tilman Sauerbeck)
4207
4208 2007-04-27  Matthias Clasen  <mclasen@redhat.com>
4209
4210         * gdk/x11/gdkgeometry-x11.c: Make list handling code
4211         easier to read.  (#63820, Tilman Sauerbeck)
4212
4213 2007-04-27  Matthias Clasen  <mclasen@redhat.com>
4214
4215         * gtkassistant.c:
4216         * gtkiconfactory.c:
4217         * gtkiconview.c:
4218         * gtkpapersize.c:
4219         * gtkrecentmanager.c:
4220         * gtktextiter.c: Internalize some strings, pointed out
4221         by Damon Chaplin.
4222
4223 2007-04-27  Xan Lopez  <xan@gnome.org>
4224
4225         Support inline-selection in entries (#318459)
4226         
4227         * gtk/gtkentry.c:
4228         * gtk/gtkentrycompletion.c:
4229         * gtk/gtkentrycompletion.h:
4230         * gtk/gtkentryprivate.h:
4231
4232         When enabled cursor-match is emited when the cursor is on
4233         a possible completion on the list. The default implementation
4234         will replace the contents on the entry with the contents of
4235         the text column in the completion model.
4236
4237         Review and improvements by Matthias Clasen.
4238
4239 2007-04-27  Michael Natterer  <mitch@imendio.com>
4240
4241         Merged heavily modified patch from maemo-gtk which enables opening
4242         and closing submenus on click, and introduces some usability
4243         changes when gtk-touchscreen-mode is enabled (bug #128968):
4244
4245         * gtk/gtkmenushell.c (struct GtkMenuShellPrivate): added boolean
4246         "activated_submenu" to indicate that the current mouse operation
4247         (click or drag) has opened a submenu.
4248
4249         (gtk_menu_shell_button_press): pop up submenus without delay
4250         and record the fact in "activated_submenu".
4251
4252         (gtk_menu_shell_button_release): if a submenu was explicitely
4253         opened, or not opened by this release's button_press, or enough
4254         time has passed since timeout-opening it, close the submenu here.
4255
4256         (gtk_menu_shell_enter_notify): when entering a menu item with
4257         any mouse button pressed, open its submenu.
4258
4259         (gtk_real_menu_shell_move_current): in touchsreen mode, close the
4260         submenu when moving the focus away from it via keyboard-navigation.
4261
4262         * gtk/gtkmenuitem.[ch] (_gtk_menu_item_popup_submenu): added
4263         parameter "gboolean with_delay" so GtkMenuShell can control this
4264         for the different scenarios of submenu showing.
4265
4266         (_gtk_menu_item_popdown_submenu): new function. also needed by
4267         GtkMenuShell for closing submenus on click.
4268
4269         Renamed internal function gtk_menu_item_select_timeout() to
4270         gtk_menu_item_popup_timeout().
4271
4272         (gtk_menu_item_real_popup_submenu): new utility function which
4273         does the actual popup and records the exact time of the popup when
4274         the menu was timeout-opened (using g_get_current_time()).
4275
4276         (gtk_real_menu_item_select): don't add the popup timeout when in
4277         touchscreen mode.
4278
4279         * gtk/gtkmenu.c (gtk_menu_popup): in touchscreen mode, select the
4280         first item of every opened menu.
4281
4282 2007-04-26  Matthias Clasen  <mclasen@redhat.com>
4283
4284         * gtk/gtkfilechooserentry.c: Append a '/' to directory names
4285         in the completion popup.  (#431323, Maarten Maathuis)
4286
4287 2007-04-26  Matthias Clasen  <mclasen@redhat.com>
4288
4289         * demo/gtk-demo/combobox.c: Add a simple validation demo. 
4290         * gtk/gtkcomboboxentry.c: Make it possible to add arbitrary
4291         children to a GtkComboBoxEntry.  (#426401, Paul Pogonyshev)
4292
4293 2007-04-26  Tor Lillqvist  <tml@novell.com>
4294
4295         * gtk/gtkinputdialog.c (gtk_input_dialog_fill_axes)
4296         (gtk_input_dialog_fill_keys): Remove old child of scrolled window
4297         before adding a new one when switching what input device is being
4298         handled. (#399425)
4299
4300 2007-04-26  Matthias Clasen  <mclasen@redhat.com>
4301
4302         * modules/printbackends/lpr/gtkprintbackendlpr.c
4303         (gtk_print_backend_lpr_init): Mark the printer list as done. 
4304         (#428665, Bogdan Gheorghe)
4305
4306 2007-04-26  Matthias Clasen  <mclasen@redhat.com>
4307
4308         * Makefile.am:
4309         * gtk/Makefile.am: Don't install UNIX-printing headers and
4310         support files on non-UNIX platforms.  (#425655, Vincent Geddes)
4311
4312 2007-04-26  Matthias Clasen  <mclasen@redhat.com>
4313
4314         * gtk/gtkuimanager.c (gtk_ui_manager_add_ui): Accept
4315         unnamed separators.  (#369112, Christian Persch)
4316
4317 2007-04-26  Matthias Clasen  <mclasen@redhat.com>
4318
4319         * gtk/gtkaccelgroup.c (gtk_accel_group_finalize): Don't access
4320         invalid memory.  (#429732, Armin Burgmeier)
4321
4322 2007-04-26  Cody Russell  <bratsche@gnome.org>
4323
4324         * gdk/win32/xcursors.h:
4325         * gdk/win32/gdkcursor-win32.c:
4326
4327         Use Win32 native cursors instead of the ones built into GTK
4328         where it makes sense. (#128852, Tim Evans)
4329
4330 2007-04-25  Cody Russell  <bratsche@gnome.org>
4331
4332         * gdk/gdkwindow.h:
4333         * gtk/gtkwidget.c:
4334         * gtk/gtkhandlebox.c:
4335         * gdk/directfb/gdkwindow-directfb.c:
4336         * gdk/linux-fb/gdkwindow-fb.c:
4337         * gdk/quartz/gdkwindow-quartz.c:
4338         * gdk/win32/gdkwindow-win32.c:
4339         * gdk/x11/gdkwindow-x11.c:
4340         Added window type hint and implement drop shadows on Win32
4341         for menus, tooltips, etc. (#148535, Tim Evans, Dom Lachowicz)
4342
4343 2007-04-25  Jakub Steiner <jimmac@ximian.com>
4344
4345         * gtk/stock-icons/16/gtk-close.{png,svg}: added 16x16 version of
4346                 gtk-close as per discussion in bug #431740.
4347
4348 2007-04-25  Matthias Clasen  <mclasen@redhat.com>
4349
4350         * gtk/gtktreeview.c (gtk_tree_view_style_set): Set the background
4351         of the header window again.  (#431067, Benjamin Berg)
4352
4353 2007-04-25  Matthias Clasen  <mclasen@redhat.com>
4354
4355         * gtk/gtkicontheme.c (theme_lookup_icon): Set the filename to
4356         NULL for builtin icons, sinc gtk_icon_info_get_builtin_pixbuf()
4357         depends on it. 
4358
4359         * tests/testicontheme.c: Report builtin icons.
4360
4361 2007-04-25  Matthias Clasen  <mclasen@redhat.com>
4362
4363         * gtk/gtkprintoperation.c (preview_iface_end_preview): Don't 
4364         crash if end_run is not set.  (#424168, Matthias Hasselmann)
4365
4366 2007-04-25  Michael Natterer  <mitch@imendio.com>
4367
4368         * gtk/gtkmenu.c (gtk_menu_handle_scrolling): fix ACTIVE state of
4369         scroll buttons (we were setting the state to ACTIVE but
4370         immediately overwriting it with NORMAL or PRELIGHT). Also got rid
4371         of many separate calls to gdk_window_invalidate_rect() by
4372         remembering the old button state and only invalidating the area if
4373         the state has changed (addresses parts of bug #433242, Tommi
4374         Komulainen).
4375
4376         (gtk_menu_scroll_to): change the arrow states only if changing
4377         from or to INSENSITIVE state, so we don't overwrite the ACTIVE
4378         state set by above function.
4379
4380 2007-04-25  Michael Natterer  <mitch@imendio.com>
4381
4382         * gtk/gtkprintoperation.c (preview_iface_is_selected): fix the
4383         build. Dunno if the fix is right, but I think it is.
4384
4385 2007-04-25  Kristian Rietveld  <kris@imendio.com>
4386
4387         * gtk/gtktooltip.c (find_topmost_widget_coords_from_event):
4388         cleanup/refactor some leftover code.
4389
4390 2007-04-24  Matthias Clasen  <mclasen@redhat.com>
4391
4392         * gtk/gtkprintunixdialog.c (dialog_get_page_ranges): Parse
4393         half-open ranges like -2 or 3-, and be a bit more liberal
4394         about whitespace.
4395         (dialog_set_page_ranges): Support half-open ranges.
4396
4397         * gtk/gtkprintoperation.c (print_pages_idle): Substitute the
4398         number of pages in half-open ranges.
4399         (preview_iface_is_selected): Support half-open ranges here, too.
4400
4401 2007-04-24  Chris Wilson  <chris@chris-wilson.co.uk>
4402
4403         * gtk/gtkicontheme.c (scan_directory): Ensure the 
4404         icon_theme->all_icons and dir->icons hash tables use the same string
4405         as their keys. (#418531)
4406
4407 2007-04-23  Cody Russell  <bratsche@gnome.org>
4408         * modules/engines/ms-windows/msw_style.c: Fixed one-pixel drawing error on
4409         left-most tab when notebooks are top-oriented.  Also general cleanup of
4410         notebook tab related code.  (Lieven van der Heide, Cody Russell)
4411
4412 2007-04-23  Matthias Clasen  <mclasen@redhat.com>
4413
4414         * modules/printbackends/cups/gtkprintbackendcups.c: Reduce
4415         the amount of debug spew if we are not debugging.
4416         
4417 2007-04-23  Michael Natterer  <mitch@imendio.com>
4418
4419         * tests/Makefile.am (testtooltips_SOURCES): fix typo:
4420         testtoooltips_SOURCES -> testtooltips_SOURCES.
4421
4422 2007-04-19  Cody Russell <bratsche@gnome.org>
4423
4424         * modules/engines/ms-windows/msw_style.c: Fix menuitem rendering
4425         for Windows Vista.  (#392015, Hiroyuki Yamamoto)
4426
4427 2007-04-19  Dominic Lachowicz <domlachowicz@gmail.com>
4428
4429         * modules/engines/ms-windows/msw_style.c: Fix pixbuf leaks in
4430         non-WinXP rendering paths. From Daniel Atallah (#403470)
4431         
4432 2007-04-19  Matthias Clasen  <mclasen@redhat.com>
4433
4434         * gtk/gtkicontheme.h:
4435         * gtk/gtkicontheme.c: Add GTK_ICON_LOOKUP_GENERIC_FALLBACK
4436         icon lookup flag and implement it.  (#396901, Luca Ferreti)
4437         
4438 2007-04-18  Richard Hult  <richard@imendio.com>
4439
4440         * gdk/quartz/gdkwindow-quartz.c:
4441         (gdk_window_quartz_process_updates_internal),
4442         (gdk_window_quartz_process_all_updates),
4443         (gdk_window_impl_quartz_process_updates): Refactor the process 
4444         updates functions to share code between them. Also fixes bug 
4445         #427660 by not updating larger regions than necessary.
4446
4447 2007-04-18  Matthias Clasen  <mclasen@redhat.com>
4448
4449         * gdk/gdkregion-generic.h (GROWREGION): Handle the case
4450         of nRects == 0 correctly.  
4451         
4452 2007-04-18  Emmanuele Bassi  <ebassi@gnome.org>
4453
4454         * gtk/gtkrecentmanager.c (gtk_recent_manager_lookup_item): Fix
4455         a leak by not increasing the refcount of the GtkRecentInfo
4456         object when returning it (thanks to Matthias Clasen).
4457
4458 2007-04-16  Alexander Larsson  <alexl@redhat.com>
4459
4460         * gtk/gtkprintoperation.c (gtk_print_operation_run):
4461         Make async print preview work by actually starting
4462         the print process in that case (#424168)
4463
4464 2007-04-14  Yevgen Muntyan <muntyan@tamu.edu>
4465
4466         * gtk/gtkselection.c (selection_get_text_plain): fixed
4467         wrong g_convert_with_fallback() call which caused
4468         gtk_selection_data_get_text() return invalid UTF-8 for
4469         non-ASCII text in text/plain selection (#382824).
4470
4471 2007-04-12  Jakub Steiner <jimmac@ximian.com>
4472
4473         * gtk/stock-icons/*: update the stock icons to follow the Tango
4474                 style guidelines
4475
4476 2007-04-11  Chris Wilson  <chris@chris-wilson.co.uk>
4477
4478         * gtk/gtkiconfactory.c (_gtk_icon_factory_list_ids):
4479         * gtk/gtkstock.c (gtk_stock_list_ids):
4480         Switch over to use glib's new g_hash_table_get_keys() rather
4481         than our own static implementation.
4482
4483         * gtk/gtkiconfactory.h: Update to return a GList.
4484
4485         * configure.in: Bump required version to 2.13.1
4486
4487 2007-04-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
4488
4489         * gdk/quartz/gdkeventloop-quartz.c: Protect the polling thread
4490           setup and shutdown function by mutexes and read the wakeup
4491           pipe unconditionally and unblocking. This should make the main
4492           loop always be woken up when using g_idle_add() from another
4493           thread in the Quartz backend (#425271).
4494
4495 2007-04-10  Matthias Clasen  <mclasen@redhat.com>
4496
4497         * gdk/x11/xsettings-client.[hc]: Change the XSettingsWatchFunc
4498         to return a Bool to indicate success. Update callers and 
4499         implementors. Based on a patch by Owen Taylor.
4500         
4501         * gdk/x11/gdkevents-x11.c (gdk_xsettings_watch_cb): Don't
4502         leak a reference to gdkwin.
4503
4504 2007-04-07  Xan Lopez  <xan@gnome.org>
4505
4506         * gtk/gtknotebook.c (gtk_notebook_class_init): 
4507         s/arrow-size/arrow-spacing in the arrow-spacing
4508         style property docs.
4509
4510 2007-04-06  Richard Hult  <richard@imendio.com>
4511
4512         * gdk/quartz/: Clean up namespaces to make the code more
4513         maintainable.
4514
4515         * gdk/quartz/gdkdrawable-quartz.c:
4516         * gdk/quartz/gdkgc-quartz.c: Fix bug #418384, alignment of tiled
4517         images, by setting the pattern phase for the CG pattern.
4518
4519 2007-04-04  Kristian Rietveld  <kris@imendio.com>
4520
4521         * gtk/gtktooltip.c (tooltip_browse_mode_expired),
4522         (gtk_tooltip_hide_tooltip), (tooltip_popup_timeout),
4523         (gtk_tooltip_start_delay): use new gdk_threads API.
4524
4525 2007-04-03  Behdad Esfahbod  <behdad@gnome.org>
4526
4527         * gtk/gtksettings.c (settings_update_font_options): Don't set
4528         metrics-hinting font option.  Rely on the default value which is
4529         on for all raster cairo surfaces. (#425985)
4530
4531 2007-04-03  Loïc Minier  <lool@dooz.org>
4532
4533         * gdk/x11/gdkscreen-x11.c: (check_xfree_xinerama): Revert to
4534         non-xinerama mode when XineramaQueryScreens returns NULL; patch from
4535         Simon McVittie; #425786.
4536
4537 2007-04-02  Michael Natterer  <mitch@imendio.com>
4538
4539         * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): remove
4540         artifact from the time when type checking casts warned on NULL,
4541         some whitespace cleanup.
4542
4543 2007-04-01  Cody Russell  <bratsche@gnome.org>
4544
4545         * modules/engines/ms-windows/msw_style.c: Fix rendering of
4546         notebook tabs when they are bottom-oriented.  Fixes #399253.
4547
4548 2007-03-31  Elijah Newren  <newren gmail com>
4549
4550         * gdk/x11/gdkwindow-x11.c (setup_toplevel_window,
4551           gdk_x11_window_set_user_time):
4552         Patch from Matthias to add support for the
4553         _NET_WM_USER_TIME_WINDOW EWMH protocol; see #354213.
4554
4555         WARNING: This patch will make metacity <= 2.18.0 freeze on
4556         workspace switch.  This is due to a weird problem that should only
4557         affect window managers using gdk in-process for decoration drawing
4558         and which make an unsafe assumption relating to doing so (i.e. it
4559         should only affect metacity).  Upgrade your version of metacity if
4560         you hit this bug.
4561
4562 2007-03-29  Michael Natterer  <mitch@imendio.com>
4563
4564         Don't close menus on clicks on their border area (bug #423761).
4565         (modified patch from maemo-gtk).
4566
4567         * gtk/gtkmenu.c (gtk_menu_button_press)
4568         (gtk_menu_button_release): bail out early if the click was on the
4569         menu's border (not on any item and not outside the window).
4570
4571         (pointer_in_menu_window): new utility function which checks if
4572         passed root coords are inside the menu_shell or one of its
4573         parent shells.
4574
4575 2007-03-29  Michael Natterer  <mitch@imendio.com>
4576
4577         * gtk/gtkmenu.c: get rid of local GtkSettings variables by moving
4578         gtk_widget_get_settings() into the g_object_get() call. Some small
4579         indentation fixes.
4580
4581 2007-03-28  Matthias Clasen  <mclasen@redhat.com>
4582
4583         * modules/printbackends/cups/gtkcupsutils.[hc]:
4584         * modules/printbackends/cups/gtkprintbackendcups.c: Apply
4585         a patch by John Palmieri to make the cups print backend support
4586         raw printers.  
4587
4588 2007-03-28  Kristian Rietveld  <kris@imendio.com>
4589
4590         * gtk/gtkwidget.c (gtk_widget_set_tooltip_window): don't unref
4591         tooltip_window, since this is handled by set_qdata_full() already.
4592         (#412001, Torsten Schoenfeld).
4593
4594 2007-03-27  Tor Lillqvist  <tml@novell.com>
4595
4596         * modules/input/Makefile.am: Use LDADDS for im-multipress.la, too: 
4597
4598 2007-03-26  Christian Persch  <chpe@gnome.org>
4599
4600         * gtk/gtkrc.c: (gtk_rc_context_get): Initialise variable. Bug #423064.
4601
4602 2007-03-24  Kristian Rietveld  <kris@gtk.org>
4603
4604         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
4605         calculate the depth with the corrected real_cell_area and don't
4606         subtract horizontal_separator/2.
4607
4608 2007-03-24  Andreas Nilsson <andreas@andreasn.se>
4609
4610         * gtk-yes.png
4611         * gtk-no: More Tango love.
4612
4613 2007-03-23  Jakub Steiner <jimmac@ximian.com>
4614
4615         * gtk-dialog-authentication.svg
4616         * gtk-dialog-error.svg
4617         * gtk-dialog-info.svg
4618         * gtk-dialog-question.svg
4619         * gtk-dialog-warning.svg: Start with a Tango face-lift.
4620
4621 2007-03-23  Rodney Dawes  <dobey@novell.com>
4622
4623         * gtk/gtkicontheme.c: Fix a couple of comment typos (#421627)
4624
4625 2007-03-23  Matthias Clasen  <mclasen@redhat.com>
4626
4627         * gtk/gtkfilechooserdefault.c: Add a keybinding (C-h) to
4628         toggle whether to show hidden files.  (#344657, 
4629         Wouter Bolsterlee, Priit Laes, et al)
4630
4631 2007-03-23  Matthias Clasen  <mclasen@redhat.com>
4632
4633         * gtk/gtkfilechooserdefault.c: Add a keybinding (C-l) to
4634         toggle the visibility of the location entry.  (#383354, 
4635         John Pye, patch by Carlos Garnacho)
4636
4637 2007-03-22  Matthias Clasen  <mclasen@redhat.com>
4638
4639         * gtk/gtksettings.c (merge_color_scheme): Freeze property
4640         notification.
4641         * gtk/gtksettings.c (_gtk_settings_handle_event): Handle
4642         the gtk-color-scheme xsetting being unset.
4643
4644         * gtk/gtkrc.c (gtk_rc_reparse_all_for_settings): Handle
4645         recursion locally.
4646
4647 2007-03-21  Matthias Clasen  <mclasen@redhat.com>
4648
4649         * gtk/gtkprintoperation-unix.c: Remove leftover debug spew.
4650
4651 2007-03-21  Rodney Dawes  <dobey@novell.com>
4652
4653         * gtk/gtk.symbols:
4654         * gtk/gtkicontheme.[ch]:
4655         * docs/reference/gtk/gtk-sections.txt:
4656         * tests/testicontheme.c:
4657         Add a new API call gtk_icon_theme_list_contexts so that one can
4658         choose icons from a theme by context (#420719)
4659         
4660 2007-03-21  Ross Burton  <ross@burtonini.com>
4661
4662         * gtk/gtktexttag.c:
4663         Document the ::event signal (#420703).
4664
4665 2007-03-20  Kristian Rietveld  <kris@gtk.org>
4666
4667         * gtk/gtktreeviewcolumn.c:
4668         * gtk/gtktreeprivate.h: add _gtk_tree_view_column_get_focus_area().
4669
4670         * gtk/gtktreeview.c (gtk_tree_view_clamp_column_visible): add
4671         focus_to_cell parameter, rework to handle clamping columns which
4672         are bigger than the available page size better,
4673         (gtk_tree_view_key_press): remove code handling moving the focus
4674         to other column headers,
4675         (gtk_tree_view_header_focus): add clamp_column_visible parameter,
4676         fix RTL support, don't wrap around when moving focus to other
4677         column headers, call gtk_tree_view_clamp_column_visible() instead
4678         of duplicating code,
4679         (gtk_tree_view_focus): only clamp the column visible when we are
4680         explicitly moving to another column header (fixes #399555, Charles
4681         Kerr),
4682         (gtk_tree_view_move_cursor_left_right): update call to
4683         gtk_tree_view_clamp_column_visible().
4684
4685 2007-03-19  Matthias Clasen <mclasen@redhat.com> 
4686
4687         * demos/gtk-demo/appwindow.c: Explicitly set the title on the
4688         about dialog.
4689
4690 2007-03-18  Matthias Clasen <mclasen@redhat.com> 
4691
4692         * gtk/gtkentrycompletion.c (gtk_entry_completion_compute_prefix):
4693         Ensure that the prefix is valid UTF-8.  (#419568, Nickolay V. Shmyrev)
4694
4695 2007-03-18  Matthias Clasen <mclasen@redhat.com> 
4696
4697         * modules/input/gtkimcontextmultipress.[hc]:
4698         * modules/input/im-multipress.conf:
4699         * modules/input/immultipress.c:
4700         * modules/input/README.multipress: Add the multipress input
4701         method.  (#417446, Johannes Schmid, Murray Cumming)
4702
4703         * modules/input/Makefile.am: Glue
4704
4705 2007-03-17  Chris Wilson  <chris@chris-wilson.co.uk>
4706
4707         * gdk/x11/gdkvisual-x11.c (_gdk_visual_init):
4708         Initialise nxvisuals to 0 in order to handle XGetVisualInfo()
4709         failures gracefully. (#419171)
4710
4711 2007-03-17  Emmanuele Bassi  <ebassi@gnome.org>
4712
4713         * gtk/gtkrecentaction.c (recent_chooser_set_property),
4714         (gtk_recent_action_set_property): Remove useless inlined
4715         function and propagate the properties to the GtkRecentChooser
4716         objects we create, instead of all the proxies.
4717
4718         (set_current_filter): Remove 'inline' marker.
4719
4720 2007-03-16  Emmanuele Bassi  <ebassi@gnome.org>
4721
4722         Apply changes suggested by Michael Natterer. (#338843)
4723
4724         * gtk/gtkaction.h:
4725         * gtk/gtkaction.c: Rename get_submenu() to create_menu();
4726         rename gtk_action_get_submenu() to gtk_action_create_menu().
4727
4728         * gtk/gtkrecentaction.c: Update for GtkAction change.
4729
4730         * gtk/gtkuimanager.c (update_node): Update for GtkAction change;
4731         also, use the menu from the GtkAction for both menuitem and
4732         toolitem nodes.
4733
4734 2007-03-16  Xan Lopez  <xan@gnome.org>
4735
4736         * gtk/gtkwidget.c: Fix documentation error in
4737         gtk_widget_set_redraw_on_allocate.
4738
4739 2007-03-16  Matthias Clasen  <mclasen@redhat.com>
4740
4741         * gtk/gtkprintunixdialog.c (printer_added_cb): Scroll to
4742         make the selected printer visible.  (#418403, Nickolay V. Shmyrev,
4743         patch by Christian Persch)
4744
4745 2007-03-15  Federico Mena Quintero  <federico@novell.com>
4746
4747         Merged from gtk-2-10:
4748
4749         * gtk/gtkfilechooserdefault.c (find_good_size_from_style):
4750         PANGO_PIXELS() gives us device units, which are *points* in
4751         pangocairo's parlance, but we want actual pixels.  So, get the
4752         screen's resolution to compute the actual number of pixels.
4753         Fixes bug #418585.
4754
4755 2007-03-15  Emmanuele Bassi  <ebassi@gnome.org>
4756
4757         * gtk/gtkrecentmanager.c (gtk_recent_manager_add_item): Remove
4758         unused GError; do not allocate GtkRecentData and use a variable
4759         on the stack. (#418673, Morten Welinder)
4760
4761 2007-03-15  Emmanuele Bassi  <ebassi@gnome.org>
4762
4763         * gtk/gtkaction.[ch]: Add GtkActionClass::get_submenu() vfunc:
4764         actions providing a menu item or a menu tool button with already
4765         a submenu should return the GtkMenu widget.
4766
4767         * gtk/gtkuimanager.c (update_node): If an action provides its
4768         own submenu, use it instead of adding an empty one
4769
4770         * gtk/gtkrecentaction.[ch]: Add GtkRecentAction, an action
4771         implementing the GtkRecentChooser interface for displaying the
4772         list of recently used files into menus and toolbars generated
4773         using GtkUIManager. (#338843)
4774
4775         * gtk/Makefile.am:
4776         * gtk/gtk.h:
4777         * gtk/gtk.symbols: Add GtkRecentAction API to the build.
4778
4779         * tests/testactions.c: Exercise the GtkRecentAction API.
4780
4781 2007-03-15  Chris Wilson  <chris@chris-wilson.co.uk>
4782
4783         * gtk/gtkicontheme.c (ensure_valid_themes), (rescan_themes),
4784         (gtk_icon_theme_rescan_if_needed): Protect ensure_valid_themes()
4785         from recursion, which can happen for example if the app tries to
4786         reload an icon from within a theme-changed handler. (#418531)
4787
4788 2007-03-15  Richard Hult  <richard@imendio.com>
4789
4790         * gdk/quartz/gdkmain-quartz.c: Add stubs for
4791         gdk_notify_startup_complete_with_id and gdk_window_set_startup_id
4792         here too.
4793
4794 2007-03-15  Emmanuele Bassi  <ebassi@gnome.org>
4795
4796         * gtk/gtkrecentmanager.c: Fix documentation errors. (Morten
4797         Welinder)
4798
4799 2007-03-15  Tor Lillqvist  <tml@novell.com>
4800
4801         * gdk/gdk.symbols: Add gdk_notify_startup_complete_with_id and
4802         gdk_window_set_startup_id.
4803
4804         * gdk/win32/gdkmain-win32.c: Add dummy implementations of the above.
4805
4806 2007-03-15  Emmanuele Bassi  <ebassi@gnome.org>
4807
4808         * gtk/gtkrecentchooserprivate.h:
4809         * gtk/gtkrecentchooserutils.c: Move filtering of the recent
4810         files list into the shared implementation; do the filtering
4811         before the sorting, so that we always clamp on the desired
4812         size. (#418219)
4813
4814         * gtk/gtkrecentchoosermenu.c: Remove the filtering of the
4815         list, as it's already been done.
4816
4817         * gtk/gtkrecentchooserdefault.c: Ditto; also remove the
4818         GtkTreeModelFilter: just reload the view if the sorting and
4819         filtering properties change.
4820
4821         * gtk/testrecentchoosermenu.c: Exercise the limit property.
4822
4823 2007-03-14  Michael Natterer  <mitch@imendio.com>
4824
4825         Make gtk_widget_set_extension_events() work on already realized
4826         widgets (bug #379550, Tommi Komulainen)
4827
4828         * gdk/x11/gdkinput.c (gdk_input_set_extension_events): allow to be
4829         called multiple times without leaking and work correctly when
4830         already realized (don't rely on a configure event following).
4831
4832         * gtk/gtkwidget.c (gtk_widget_set_extension_events_internal): new
4833         internal function which walks the GdkWindow tree and sets the
4834         extension events on all windows that belong to the widget.
4835
4836         (gtk_widget_realize)
4837         (gtk_widget_set_extension_events): use the new function.
4838
4839 2007-03-14  Emmanuele Bassi  <ebassi@gnome.org>
4840
4841         Various clean ups in the GtkRecent code. (see #338843)
4842
4843         * gtk/gtkrecentchooserdefault.c:
4844         * gtk/gtkrecentchoosermenu.c:
4845         * gtk/gtkrecentchooserprivate.h:
4846         * gtk/gtkrecentchooserutils.c: Move the recent chooser function
4847         for getting the sorted and clamped list of recent files from the
4848         manager outside the implementations.
4849
4850         * gtk/gtkrecentchooserdefault.c (chooser_set_sort_type): Repopulate
4851         the list when the sorting order changes.
4852
4853         (gtk_recent_chooser_default_dispose),
4854         (gtk_recent_chooser_default_finalize): Move object unref and
4855         source removal from finalize to dispose.
4856
4857         * gtk/gtkrecentchooser.c (gtk_recent_chooser_type_init): Relax the
4858         prerequisite for the GtkRecentChooser interface implementations,
4859         from GtkObject to GObject.
4860
4861         (gtk_recent_chooser_class_init): Use GTK_PARAM_* instead of
4862         G_PARAM_*
4863
4864 2007-03-13  Emmanuele Bassi  <ebassi@gnome.org>
4865
4866         Apply patch by Vytautas Liuolia for changing the startup
4867         notification id on a window in the X11 backend. (#347375)
4868
4869         * gdk/gdk.h:
4870         * gdk/gdkx.h:
4871         * gdk/x11/gdkdisplay-x11.c: Add gdk_notify_startup_complete_with_id()
4872         and gdk_x11_display_get_startup_notification_id().
4873
4874         * gdk/gdkwindow.h:
4875         * gdk/x11/gdkwindow-x11.c: Add gdk_window_set_startup_id().
4876
4877         * gtk/gtkwindow.h:
4878         * gtk/gtkwindow.c: Add gtk_window_set_startup_id(), used to
4879         change the startup notification id.
4880         
4881         (gtk_window_class_init), (gtk_window_init),
4882         (gtk_window_set_property): Add write-only "startup-id" property
4883         to GtkWindow.
4884
4885         (gtk_window_realize): Set the startup notification id
4886         on a GtkWindow if it's valid.
4887
4888         (gtk_window_map): If we have another valid startup notification
4889         id then finish the notification process.
4890
4891 2007-03-13  Matthias Clasen  <mclasen@redhat.com>
4892
4893         * gtk/gtknotebook.c (gtk_notebook_real_insert_page):
4894         Fix tabbed browsing in epiphany.  (#413664, Christian Persch)
4895
4896 2007-03-12  Matthias Clasen  <mclasen@redhat.com>
4897
4898         * gtk/gtksizegroup.c (gtk_size_group_add_widget): Clarify
4899         docs.  (#345844, Torsten Schoenfeld)
4900
4901         * gdk/x11/gdkevents-x11.c (gdk_display_add_client_message_filter):
4902         * gdk/gdkwindow.c (gdk_window_add_filter): Add
4903         cross-references.  (#351252, Vincent Untz)
4904
4905         * gtk/gtkprintoperation.c: Fix an oversight in an
4906         example.  (#381083, Ian Puleston)
4907
4908         * gtk/gtkcombobox.c: Clean up and clarify docs.  (#412484)
4909
4910 2007-03-12  Matthias Clasen  <mclasen@redhat.com>
4911
4912         * gtk/gtkspinbutton.c (gtk_spin_button_style_set): Set
4913         the background of the panel window on style changes. (#402144,
4914         Benjamin Berg)
4915
4916 2007-03-12  Matthias Clasen  <mclasen@redhat.com>
4917
4918         * gtk/gtkbindings.c (gtk_binding_entry_add_signal): Remove
4919         an obsolete comment.  (#402169, Xan Lopez)
4920
4921 2007-03-12  Matthias Clasen  <mclasen@redhat.com>
4922
4923         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_property):
4924         Don't copy PangoLanguage.  (#340031, Morten Welinder)
4925
4926 2007-03-12  Matthias Clasen  <mclasen@redhat.com>
4927
4928         * gtk/gtkfilechooserbutton.c (change_icon_theme_get_info_cb):
4929         Handle the row reference path being NULL.  (#410565, Joe Markus
4930         Clarke, patch by Chris Wilson)
4931
4932 2007-03-11  Matthias Clasen  <mclasen@redhat.com>
4933
4934         * tests/testiconview.c: Handle Menu key presses without
4935         crash.  (#385637, Christian Persch)
4936
4937 2007-03-11  Matthias Clasen  <mclasen@redhat.com>
4938
4939         * gtk/gtktooltips.c (gtk_tooltips_get_info_from_tip_window):
4940         Don't crash if active_tips_data is NULL.  (#382904, Li Yuan)
4941
4942 2007-03-11  Matthias Clasen  <mclasen@redhat.com>
4943
4944         * gtk/gtktextview.c (gtk_text_view_set_buffer): Set first_para_mark
4945         to NULL.  (#396805, Colin Leroy, patch by Mariano Suárez-Alvarez)
4946         
4947 2007-03-12  Kristian Rietveld  <kris@gtk.org>
4948
4949         * gtk/gtkfilechooserdefault.c (check_save_entry): immediately
4950         bail out if current_folder is NULL. (#350988, lots of reporters,
4951         modified patch by Jan Darmochwal).
4952
4953 2007-03-10  Kristian Rietveld  <kris@gtk.org>
4954
4955         * gtk/gtktreeview.c (gtk_tree_view_search_dialog_hide): only
4956         hide the search dialog and send focus events if the search dialog
4957         is currently visible.
4958
4959 2007-03-10  Richard Hult  <richard@imendio.com>
4960
4961         * gdk/quartz/gdkdrawable-quartz.c:
4962         (gdk_quartz_ref_cairo_surface): Reuse the surface during its lifetime.
4963         (gdk_quartz_drawable_get_context): Update for the new quartz cairo 
4964         surface API (#410442). Don't lock focus unless called outside of an 
4965         expose event.
4966         (gdk_quartz_drawable_release_context): Only flush the CG context and 
4967         unlock focus if called outside of expose.
4968         (_gdk_quartz_drawable_finish): New function, used to free the cached
4969         cairo surface.
4970
4971         * gdk/quartz/gdkwindow-quartz.c:
4972         (gdk_window_impl_quartz_begin_paint_region): A few small style changes.
4973         (_gdk_window_impl_quartz_get_type): No need to make the type info
4974         static.
4975         (gdk_window_quartz_process_all_updates): Move the autorelease pool
4976         allocation and freeing outside the loop.
4977         (_gdk_windowing_window_destroy): Finish the drawable.
4978         (move_resize_window_internal): Small cleanup and remove comment.
4979
4980         * gdk/quartz/gdkpixmap-quartz.c: Finish the drawable.
4981
4982 2007-03-10  Richard Hult  <richard@imendio.com>
4983
4984         * gdk/quartz/gdkprivate-quartz.h: Add missing function signature to fix
4985         a build warning.
4986
4987 2007-03-10  Richard Hult  <richard@imendio.com>
4988
4989         * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_get_name): Plug a leak.
4990
4991 2007-03-10  Richard Hult  <richard@imendio.com>
4992
4993         * gdk/quartz/GdkQuartzView.c: Remove unneccesary exposure mask check.
4994
4995 2007-03-10  Richard Hult  <richard@imendio.com>
4996
4997         * gdk/quartz/gdkevents-quartz.c: (gdk_screen_get_setting): Don't set
4998         the font name here, leave that to themes, fixes #387508.
4999
5000 2007-03-10  Kristian Rietveld  <kris@gtk.org>
5001
5002         * gtk/gtktreemodelsort.c (gtk_tree_model_sort_ref_node),
5003         (gtk_tree_model_sort_real_unref_node): when (un)reffing an
5004         element, also (un)ref its parent elements. (Fixes #364946,
5005         reported by many, testcase by Andreas Koehler).
5006
5007 2007-03-10  Matthias Clasen <mclasen@redhat.com>
5008
5009         * gtk/gtkprintoperation-unix.c: Initialize the do_preview
5010         field of PrintResponseData.  (#396703, Christian Persch)
5011
5012         * tests/print-editor.c: Plug some leaks.
5013
5014 2007-03-09  Matthias Clasen <mclasen@redhat.com>
5015
5016         * gtk/gtktextview.c (gtk_text_view_end_selection_drag):
5017         Get rid of the unused event argument. Update all callers.
5018
5019         * gtk/gtktextview.c (gtk_text_view_focus_out): Call
5020         gtk_text_view_end_selection_drag.  (#351671, Boyd Timothy)
5021
5022 2007-03-09  Matthias Clasen <mclasen@redhat.com>
5023
5024         * modules/input/gtkimcontextxim.c 
5025         (gtk_im_context_xim_filter_keypress): Don't commit
5026         modifier-adorned characters.  (#331369, #335796, Lin Ma
5027         and others)
5028
5029 2007-03-09  Matthias Clasen <mclasen@redhat.com>
5030
5031         * Everywhere: Remove unnecessary NULL checks before
5032         g_free().  (#369666, Morten Welinder, Djihed Afifi)
5033
5034         * configure.in: Check for ftw.h
5035
5036 2007-03-09  Matthias Clasen <mclasen@redhat.com>
5037
5038         * gtk/gtkfilesystemwin32.c (get_icon_path): Remove
5039         C99isms.  (#416525, Kazuki Iwamoto)
5040
5041 2007-03-09  Tor Lillqvist  <tml@novell.com>
5042
5043         * README.win32: Update.
5044
5045 2007-03-08  Matthias Clasen <mclasen@redhat.com>
5046
5047         * gdk/x11/gdkasync.c (send_event_handler): Defer the callbacks
5048         to an idle to avoid deadlock with xcb-ified libX11.  (#413032,
5049         Sebastian Dröge)
5050
5051 2007-03-08  Matthias Clasen <mclasen@redhat.com>
5052
5053         * gtk/gtknotebook.c (gtk_notebook_real_insert_page):
5054         Set child visibility to FALSE here; it will be turned
5055         back on in switch_page.  (#413664, Carlos Garnacho)
5056         
5057 2007-03-08  Mathias Hasselmann <mathias.hasselmann@gmx.de>
5058
5059         * modules/engines/ms-windows/msw_style.c: Use proper border style
5060         when drawing shadow of scrolled windows on Windows XP (#168326)
5061         * modules/engines/ms-windows/xp_theme.c: Explicitly set size of
5062         element_part_map array to ensure it always is large enough.
5063         
5064 2007-03-08  Mathias Hasselmann <mathias.hasselmann@gmx.de>      
5065
5066         * gtk/gtkcombobox.c: Add shadow-type style property, set shadow-type
5067         property of GtkEntry accordingly, unify size-allocation of toggle
5068         button (#411123, patch from Mathias Hasselmann).
5069         * gtk/gtkentry.c: Add shadow-type property. Query style properties
5070         on style changes only (#411123, patch from Mathias Hasselmann).
5071         * modules/engines/ms-windows/msw_style.c: Drop combo_box_draw_box
5072         hack as GtkComboBox emits drawing requests now (#411123, patch 
5073         from Mathias Hasselmann).
5074         
5075 2007-03-08  Mathias Hasselmann <mathias.hasselmann@gmx.de>
5076
5077         * gtk/gtkscrolledindow.c: Improve look of GtkScrolledWindow on Windows
5078         by implementing a scrollbars-within-bevel style property. (#168326)
5079         
5080 2007-03-08  Mathias Hasselmann <mathias.hasselmann@gmx.de>
5081
5082         * gtk/gtkfilesystemwin32.c: Use Windows shell icons. Icons are
5083         stored in the current theme with the name
5084         "gtk-win32-shell-icon;PATH;INDEX". PATH and INDEX reference shell
5085         icons as reported by SHGetFileInfoW. (#412221)
5086
5087 2007-03-07  Matthias Clasen <mclasen@redhat.com>
5088
5089         * gtk/gtkexpander.c (gtk_expander_paint_focus): Draw the
5090         focus around the arrow if there is no label widget.  
5091         (#124045, Cody Russell)
5092
5093 2007-03-07  Matthias Clasen <mclasen@redhat.com>
5094
5095         * gtk/gtkcombo.c: (gtk_combo_init):
5096         * gtk/gtkcombobox.c: (gtk_combo_box_set_popup_widget),
5097         (gtk_combo_box_menu_setup):
5098         Set names on the popup widgets to make them themable. (#414975, 
5099         Benjamin Berg)
5100
5101 2007-03-07  Michael Natterer  <mitch@imendio.com>
5102
5103         * gtk/gtkcellrendereraccel.c: use multihead safe ungrab functions
5104         instead of gdk_keyboard_ungrab() and gdk_pointer_ungrab(), remove
5105         empty finalize() implementation, some cosmetic cleanup
5106         (bug #415645).
5107
5108 2007-03-06  Chris Wilson  <chris@chris-wilson.co.uk>
5109
5110         * gtk/gtkicontheme.c (update_current_theme), (gtk_icon_theme_init),
5111         (do_theme_change), (gtk_icon_theme_set_custom_theme),
5112         (load_themes):
5113         Be careful not to trigger a style reset before we have loaded
5114         the icon theme. (#414875).
5115
5116 2007-03-06  Tor Lillqvist  <tml@novell.com>
5117
5118         * gdk/Makefile.am
5119         * gtk/Makefile.am: Further fixes for building on Win32 outside
5120         srcdir. (#413492, Mathias Hasselmann)
5121
5122 2007-03-04  Ihar Hrachyshka <iharh@gnome.org>
5123
5124         * configure.in: Added be@latin to ALL_LINGUAS. Problems seems to be
5125         fixed.
5126
5127 2007-03-04  Claudio Saavedra  <csaavedra@alumnos.utalca.cl>
5128
5129         * configure.in: Removed be@latin from ALL_LINGUAS, as it's currently
5130         breaking the build.
5131
5132 2007-03-04  Ihar Hrachyshka <iharh@gnome.org>
5133
5134         * configure.in: Added be@latin to ALL_LINGUAS
5135
5136 2007-03-03  Guillaume Savaton <llumeao@gmail.com>
5137
5138         * configure.in: Added Esperanto (eo) to ALL_LINGUAS
5139
5140 2007-03-01  Matthias Clasen <mclasen@redhat.com>
5141
5142         * gtk/gtksettings.c: Always store gtk-color-scheme
5143         values from all sources in the ColorSchemeData struct
5144         and ignore the property_value for gtk-color-scheme.
5145         This fixes #412596, reported by Thomas Wood.
5146
5147 2007-02-28  Matthias Clasen <mclasen@redhat.com>
5148
5149         * gtk/gtksettings.c: Make color scheme update properly
5150         when changing themes.  (#402131, Benjamin Berg)
5151
5152 2007-02-28  Matthias Clasen <mclasen@redhat.com>
5153
5154         * gtk/gtkrc.c: Don't leak references to the color-hash 
5155         gotten from GtkSettings.  (#409357, Benjamin Berg)
5156
5157 2007-02-28  Tristan Van Berkom <tvb@gnome.org>
5158
5159         * gtk/gtkradiobutton.c: Fixed a warning from
5160         g_object_set (radiobutton, "group", NULL, NULL).
5161
5162 2007-02-26  Matthias Clasen <mclasen@redhat.com>
5163
5164         Apply a patch by Carlos Garnacho to fix several problems
5165         with filechooser size handling (#325477, #151169, 143213,
5166         #153785)
5167
5168         * gtk/gtkfilechooserdefault.c: Increase NUM_LINES slightly.
5169         (browse_widgets_create): Don't force the paned position to 200.
5170         (find_good_size_from_style): Take the size of the extra widget
5171         into account.
5172
5173         * gtk/gtkfilechooserdialog.c (file_chooser_widget_update_hints):
5174         Accept a minimal width parameter. Update all callers.
5175
5176 2007-02-26  Matthias Clasen <mclasen@redhat.com>
5177
5178         * gtk/gtkprintunixdialog.c: Change the label to "Pages per side",
5179         which is more accurate, suggested by Tim Waugh. String change! 
5180
5181 2007-02-26  Matthias Clasen <mclasen@redhat.com>
5182
5183         * gtk/gtkprinteroptionwidget.c: Make the folder selection for
5184         print-to-file work. Reported by Ian Collier.
5185
5186 2007-02-26  Chris Wilson  <chris@chris-wilson.co.uk>
5187
5188         Bug 409101 – invalid read to gtkicontheme.c insert_theme(), might cause gnome-panel crash
5189
5190         * gtk/gtkicontheme.c: (scan_directory):
5191                 Reorder the replacement of the shared base_name key, so that we
5192                 avoid dereferencing the string in the icon_theme->all_icon
5193                 hash table after freeing it from the dir->icons hash table.
5194
5195 2007-02-26  Tor Lillqvist  <tml@novell.com>
5196
5197         * gdk/win32/gdkwindow-win32.c (gdk_window_set_icon_name): Add
5198         comment clarifying that "icon name" here is not related to the
5199         freedesktop.org icon naming stuff.
5200
5201 2007-02-23  Dom Lachowicz  <domlachowicz@gmail.com>
5202
5203         * modules/engines/ms-windows/msw_style.c: Bug 411118 - bad bevel for
5204         progress bar on windows classic. Match from Mathias Hasselmann.
5205         
5206 2007-02-19  Tor Lillqvist  <tml@novell.com>
5207
5208         * gdk/win32/gdkinput.c
5209         (gdk_device_finalize, gdk_device_class_init): Remove.
5210         (gdk_device_get_type): Drop class init function. The X11 version
5211         doesn't have one either.
5212         (gdk_devices_list): Call gdk_display_list_devices() on _gdk_display.
5213         (gdk_display_list_devices): Check that the argument is
5214         _gdk_display.
5215
5216         * gdk/win32/gdkinput-win32.h (GdkAxisInfo, GdkDevicePrivate):
5217         Cleanup: remove unused fields.
5218         * gdk/win32/gdkinput-win32.c: Corresponding changes. Fix function
5219         names in a few debugging printouts.
5220
5221 2007-02-18  Matthias Clasen  <mclasen@redhat.com>
5222
5223         * gtk/gtktextlayout.c (gtk_text_layout_move_iter_visually):
5224         Ignore invisible text when going to end of the previous line.
5225         (#382565)
5226
5227 2007-02-18  Richard Hult  <richard@imendio.com>
5228
5229         * gdk/quartz/gdkwindow-quartz.c:
5230         (gdk_window_quartz_process_all_updates),
5231         (_gdk_windowing_window_destroy): Setup release pools to plug two leaks,
5232         patch from Erik van Pienbroek, fixes bug #396649.
5233
5234 2007-02-18  Richard Hult  <richard@imendio.com>
5235
5236         * gdk/quartz/gdkevents-quartz.c: Add stub for 
5237         gdk_display_add_client_message_filter, patch from Taybin Rutkin. Fixes
5238         bug #405870.
5239
5240         * gdk/quartz/gdkprivate-quartz.h: Add prototypes to fix build warnings.
5241
5242 2007-02-18  Richard Hult  <richard@imendio.com>
5243
5244         * gdk/quartz/GdkQuartzView.h:
5245         * gdk/quartz/GdkQuartzWindow.h:
5246         * gdk/quartz/gdkquartz.h: Import AppKit.h instead of Quartz.h.
5247         * gdk/quartz/gdkscreen-quartz.c: (get_mm_from_pixels): Don't use 
5248         userSpaceScaleFactor for 10.3. Those changes bring us closer to working
5249         on panther, patch from Mathias Hasselmann.
5250         
5251         * gdk/quartz/gdkeventloop-quartz.c: Add includes to fix build warnings.
5252
5253 2007-02-16  Behdad Esfahbod  <behdad@gnome.org>
5254
5255         * gdk/gdkpango.c (gdk_pango_layout_get_clip_region): Use PANGO_PIXELS
5256         instead of division. (#334617)
5257
5258 2007-02-16  Kristian Rietveld  <kris@gtk.org>
5259
5260         * gtk/gtktreeprivate.h: add cursor_offset field.
5261
5262         * gtk/gtktreeview.c (gtk_tree_view_init),
5263         (gtk_tree_view_move_cursor_page_up_down): fix off by one error
5264         in page up/down handling by memorizing the offset into the cursor
5265         row.  (Fixes #399809, reported by Bruce Bowler).
5266
5267 2007-02-16  Kristian Rietveld  <kris@gtk.org>
5268
5269         * gtk/gtktreeview.c (gtk_tree_view_search_dialog_hide): send
5270         a focus-in event to the tree view after hiding the search dialog.
5271         (#356515, Rich Burridge, Peter Parente).
5272
5273 2007-02-16  Kristian Rietveld  <kris@imendio.com>
5274
5275         * tests/testtooltips.c (query_tooltip_text_view_cb): also handle
5276         keyboard tooltips. (#408325, Matthias Clasen).
5277
5278 2007-02-16  Xan Lopez  <xan@gnome.org>
5279
5280         * gtk/gtkcombobox.c (gtk_combo_box_expose_event): Cleanup the logic
5281         in expose event handler. Reviewed by Matthias Clasen, #406112
5282
5283 2007-02-16  Matthias Clasen  <mclasen@redhat.com>
5284
5285         * gtk/gtkmain.c: Run pre_parse_hook only once.  (#403139, Kjartan
5286         Maraas)
5287
5288 2007-02-15  Matthias Clasen  <mclasen@redhat.com>
5289
5290         * gdk/x11/gdmain-x11.c (_gdk_xgrab_check_button_event): Be more
5291         careful when checking for ButtonRelease events that end implicit
5292         grabs.  (#386618, Christof Krüger)
5293
5294 2007-02-15  Matthias Clasen  <mclasen@redhat.com>
5295
5296         * gtk/gtktextbtree.c (_gtk_text_btree_delete): Free the lines
5297         even if there are no views.  (#408018, Albert Huang)
5298
5299 2007-02-15  Cody Russell  <bratsche@gnome.org>
5300
5301         * gdk/win32/gdkevents-win32.c: Make sure we get enough main context 
5302         iterations while we're resizing so that the window contents are resized 
5303         more smoothly (#389765).
5304
5305         * gdk/win32/gdkevents-win32.c: Fix flickering widgets when window contents
5306         are resized (#310522).
5307
5308 2007-02-15  Matthias Clasen  <mclasen@redhat.com>
5309
5310         * gtk/updateiconcache.c: Handle symlinked .icon files 
5311         intelligently; also avoid storing duplicate strings.
5312
5313 2007-02-15  Michael Natterer  <mitch@imendio.com>
5314
5315         * gtk/gtkmenushell.c: remove two antique function typedefs that
5316         are probably obsolete for ages.
5317
5318 2007-02-14  Stefan Kost  <ensonic@users.sf.net>
5319
5320         reviewed by: Matthias Clasen  <mclasen@redhat.com>
5321
5322         * configure.in: determine installation prefixes of dependent libs to
5323         crossreference docs (#407146).
5324
5325 2007-02-14  Kristian Rietveld  <kris@imendio.com>
5326
5327         * gtk/gtktooltip.c (child_location_foreach): check return value
5328         of gtk_widget_translate_coordinates() so we cannot end up
5329         using uninitialized x, y values.  (#407863, patch from Carlos
5330         Garnacho).
5331
5332 2007-02-14  Kristian Rietveld  <kris@imendio.com>
5333
5334         * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_realize_button):
5335         use TREE_VIEW_DRAG_WIDTH/2 when calculating the drag window
5336         position instead of a hardcoded value.  (Taken from maemo-gtk).
5337
5338 2007-02-14  Michael Natterer  <mitch@imendio.com>
5339
5340         * gtk/gtkmenu.c (gtk_menu_motion_notify): don't forget to set the
5341         state of the synthesized GDK_ENTER_NOTIFY event. Fix taken from
5342         maemo-gtk.
5343
5344 2007-02-13  Kristian Rietveld  <kris@imendio.com>
5345
5346         * gtk/gtktooltip.c (gtk_tooltip_hide_tooltip): stop any
5347         pending tooltip timeout. (Fixes #406110, Carlos Garnacho).
5348
5349 2007-02-10  Emmanuele Bassi  <ebassi@gnome.org>
5350
5351         * gtk/gtkrecentchoosermenu.c: Fix the english of the comment;
5352         remove some type checking; use better variable naming for the
5353         internal menu item markers.
5354
5355 2007-02-09  Emmanuele Bassi  <ebassi@gnome.org>
5356
5357         * gtk/gtkrecentchoosermenu.c: Add support for both prepending
5358         and appending custom menu items.
5359
5360         (gtk_recent_chooser_menu_constructor): Add a placeholder menu
5361         item for the empty menu case, and for giving us a starting
5362         point for the recent items populating process.
5363
5364         (gtk_recent_chooser_menu_insert_item),
5365         (gtk_recent_chooser_menu_dispose_items): Insert an item at
5366         the position following the placeholder (and find that position
5367         if needed).
5368
5369         (idle_populate_func), (idle_populate_clean_up): Show the
5370         placeholder menu item, instead of creating one each time.
5371
5372         (gtk_recent_chooser_menu_populate): Kill some indirections
5373         and hide the placeholder before populating the menu.
5374
5375         (set_recent_manager): Remember to remove the idle population
5376         source if the manager changes.
5377
5378         * tests/testrecentchoosermenu.c: Test the appending and
5379         prepending of the menu items to the recent chooser menu
5380         widget.
5381
5382 2007-02-08  Emmanuele Bassi  <ebassi@gnome.org>
5383
5384         * gtk/gtkrecentchoosermenu.c (idle_populate_func): Keep count
5385         of the displayed items to build the menu items mnemonic instead
5386         of the overall item count. (#377164)
5387
5388         (idle_populate_clean_up): Append a menu item if all the items
5389         got filtered in the idle populate function. (#405696)
5390
5391         * tests/Makefile.am:
5392         * tests/testrecentchoosermenu.c: Add a test for the
5393         GtkRecentChooserMenu widget.
5394
5395 Thu Feb  8 13:07:08 2007  Tim Janik  <timj@imendio.com>
5396
5397         * applied patch from Xan Lopez which adds GTK_BUTTONBOX_CENTER to
5398         GtkButtonBox (bug #336159).
5399
5400         * gtk/gtkenums.h:
5401         * gtk/gtkvbbox.c, gtk/gtkhbbox.c, gtk/gtkbbox.c:
5402         support GTK_BUTTONBOX_CENTER.
5403
5404         * tests/testbbox.c: new button box test, which allows testing of 
5405         the various button box properties.
5406
5407         * tests/testgtk.c: added GTK_BUTTONBOX_CENTER. to button box test.
5408
5409 2007-02-07  Cody Russell  <bratsche@gnome.org>
5410
5411         * gdk/gdk.symbols: Add gdk_event_request_motions
5412
5413 Wed Feb  7 19:03:28 2007  Tim Janik  <timj@gtk.org>
5414
5415         * gtk/gtkentry.c (gtk_entry_motion_notify): fixed motion request 
5416         condition which was wrongly ported with my last commit.
5417
5418 Tue Feb  6 15:53:59 2007  Tim Janik  <timj@imendio.com>
5419
5420         * gtk/gtktextview.c (gtk_text_view_motion_event):
5421         * gtk/gtkspinbutton.c (gtk_spin_button_motion_notify):
5422         * gtk/gtkaboutdialog.c (credits_motion_notify_event):
5423         * gtk/gtkhruler.c (gtk_hruler_motion_notify):
5424         * gtk/gtkvruler.c (gtk_vruler_motion_notify): 
5425         * gtk/gtkentry.c (gtk_entry_motion_notify):
5426         * gtk/gtktooltip.c (_gtk_tooltip_handle_event):
5427         * gtk/gtkhsv.c (gtk_hsv_motion): call gdk_event_request_motions()
5428         for new motion events after receiving motion hints.
5429
5430         * gdk/gdkevents.[hc]: added gdk_event_request_motions().
5431
5432 2007-02-06  Kristian Rietveld  <kris@imendio.com>
5433
5434         * gtk/gtktooltip.c (find_topmost_widget_coords_from_event):
5435         remove unused get of has_tooltip.
5436
5437         * tests/testtooltips.c (query_tooltip_tree_view_cb): use the
5438         portable g_snprintf instead of snprintf.
5439
5440 2007-02-06  Michael Natterer  <mitch@imendio.com>
5441
5442         * gtk/gtktooltip.c (gtk_tooltip_finalize): chain up.
5443
5444         (gtk_tooltip_show_tooltip): move variables and code to local
5445         scope. Fixes warnings about maybe uninitialized variables.
5446
5447 2007-02-06  Kristian Rietveld  <kris@imendio.com>
5448
5449         New tooltips API.
5450
5451         * gtk/Makefile.am
5452         * gtk/gtk.h
5453         * gtk/gtk.symbols: build system foo.
5454
5455         * gtk/gtkmain.c (gtk_main_do_event): call tooltip event handler
5456         hook for appropriate events.
5457
5458         * gtk/gtkmarshalers.list: add BOOLEAN:INT,INT,BOOLEAN,OBJECT.
5459
5460         * gtk/gtkrc.c: add style for gtk-tooltip.
5461
5462         * gtk/gtksettings.c (gtk_settings_class_init): make the
5463         different tooltip timeouts configurable.
5464
5465         * gtk/gtkwidget.[ch]: add new properties, signals, make sure
5466         tooltips are hidden on unmap, destroy, update window event
5467         mask on realize, hook into focus change and show help
5468         handlers.
5469
5470         * gtk/gtkwindow.h: move GtkWindow typdef to gtkwidget.h ...
5471
5472         * gtk/gtktooltip.[ch]: new files.
5473
5474         * tests/Makefile.am
5475         * tests/testtooltips.c: add test application.
5476
5477 2007-02-05  Dom Lachowicz <domlachowicz@gmail.com>
5478
5479         * modules/engines/ms-windows/msw_style.c: Fix bug 404506, caused
5480         by prematurely releasing a DC. By Hiroyuki Yamamoto
5481         * modules/engines/ms-windows/msw_style.c: Fix bug 403470 - leaking 
5482         pixbufs when drawing rotated tabs. By Daniel Atallah
5483         
5484 2007-02-05  Michael Natterer  <mitch@imendio.com>
5485
5486         * gtk/gtksettings.c: add new boolean settings gtk-enable-accels
5487         and gtk-enable-mnemonics which enable/disable accelerators and
5488         mnemonics (bug #72375, based on a patch from Tommi Komulainen).
5489
5490         * gtk/gtkwindow.c (gtk_window_activate_key)
5491         * gtk/gtkmenushell.c (gtk_menu_shell_key_press): don't invoke them
5492         if the resp. setting is FALSE.
5493
5494         * gtk/gtkaccellabel.c (gtk_accel_label_refetch)
5495         * gtk/gtklabel.c (gtk_label_set_pattern_internal): don't display
5496         them if the setting is FALSE.
5497
5498         * gtk/gtklabel.c: added signal connection to the screen's settings
5499         object and traverse all widgets on the screen when the setting
5500         changes. It's slightly ugly to also update GtkAccelLabels here,
5501         but less ugly than connecting and traversing all widgets twice.
5502
5503 2007-02-05  Michael Natterer  <mitch@imendio.com>
5504
5505         * gtk/gtktextbuffer.h (enum GtkTextBufferTargetInfo): changed
5506         values from G_MAXUINT-0, -1, -2 to -1, -2, -3 so we stay within
5507         ansi C enum value limits. Fixes bug #46757.
5508
5509 2007-02-03  Soren Sandmann <sandmann@daimi.au.dk>
5510
5511         * gtk/gtksequence.[ch]: Remove these files since GSequence has
5512         been moved into GLib.
5513
5514         * gtk/gtkliststore.c: Port to GSequence instead of GtkSequence.
5515
5516         * configure.in: Require glib-2.13.0
5517         
5518 2007-02-04  Tor Lillqvist  <tml@novell.com>
5519
5520         * gdk/win32/gdkcursor-win32.c: Don't define BITMAPV5HEADER on
5521         mingw with w32api >= 3.8, which has it in wingdi.h. (#403896)
5522
5523 2007-02-02  Kristian Rietveld  <kris@gtk.org>
5524
5525         * gtk/gtktreeview.c (gtk_tree_view_row_changed): remove unused
5526         style_get of vertical-separator. (#403165, Chris Wilson).
5527
5528 2007-02-02  Christian Persch  <chpe@svn.gnome.org>
5529
5530         * gtk/gtkfilechoosersettings.c: (get_config_filename),
5531         (ensure_settings_read), (_gtk_file_chooser_settings_init),
5532         (_gtk_file_chooser_settings_set_show_hidden),
5533         (_gtk_file_chooser_settings_set_expand_folders),
5534         (_gtk_file_chooser_settings_save): Use a simple key file instead of a
5535         markup file. Bug #399592.
5536
5537 2007-02-02  Mariano Suárez-Alvarez  <mariano@gnome.org>
5538
5539         * gtk/gtkcellrenderertext.c(gtk_cell_renderer_text_class_init):
5540         be a little more helpful with the docs on GtkCellRendererText:alignment.
5541         Bug #403409.
5542
5543 2007-02-01  Michael Natterer  <mitch@imendio.com>
5544
5545         * gtk/gtkmenu.c (gtk_menu_paint): pass &event->area to
5546         gtk_paint_box() calls.
5547
5548 2007-02-01  Michael Natterer  <mitch@imendio.com>
5549
5550         * gtk/gtkmenu.c (gtk_menu_button_press)
5551         (gtk_menu_button_release)
5552         (gtk_menu_button_scroll): remove redundant and confusing
5553         if (GTK_IS_MENU (widget)) checks because "widget" is always a
5554         GtkMenu here.
5555
5556 Thu Feb  1 12:22:06 2007  Tim Janik  <timj@imendio.com>
5557
5558         * gtk/gtkcombobox.c (gtk_combo_box_list_destroy): remove extra reference
5559         that gtkcombobox keeps on priv->popup_widget if it's a tree view.
5560
5561 2007-01-31  Christian Persch  <chpe@svn.gnome.org>
5562
5563         * gtk/gtkaboutdialog.c: (update_credits_button_visibility),
5564         (gtk_about_dialog_set_authors), (gtk_about_dialog_set_documenters),
5565         (gtk_about_dialog_set_artists),
5566         (gtk_about_dialog_set_translator_credits): Hide the Credits button iff
5567         there are no credits to show. Bug #402806.
5568
5569 2007-01-31  Tor Lillqvist  <tml@novell.com>
5570
5571         * gdk/win32/gdkinput-win32.c (print_cursor): New debugging
5572         function.
5573         (_gdk_input_wintab_init_check): Call it when debugging output is
5574         requested.
5575         (_gdk_input_wintab_init_check): Skip duplicated cursors for Wacom
5576         tablets. The Wacom driver reports duplicated cursors with
5577         physid==0. Fix verified by Robert Ögren.
5578
5579 2007-01-30  Felix Riemann  <friemann@svn.gnome.org>
5580
5581         * modules/printbackends/file/gtkprintbackendfile.c:
5582         (file_printer_get_options): Fix leaked string. Fixes bug #402565.
5583
5584 2007-01-30  Matthias Clasen  <mclasen@redhat.com>
5585
5586         * gdk/x11/gdkwindow-x11.c (gdk_x11_window_move_to_current_desktop):
5587         (gdk_x11_window_set_user_time): Be more careful about toplevel
5588         possibly being NULL.  (#402453, Sebastian Bacher)
5589
5590 Tue Jan 30 12:09:56 2007  Tim Janik  <timj@gtk.org>
5591
5592         * gtk/gtksettings.c: cleaned up ::color-hash registration to not abuse
5593         class_n_properties and leave an uninitialized value array behind.
5594
5595 2007-01-29  Michael Natterer  <mitch@imendio.com>
5596
5597         * gtk/gtkmenuitem.c (gtk_menu_item_select)
5598         (gtk_menu_item_deselect): queue a draw on the parent_menu_item of
5599         this menu item's menu, to enable themeing menu items depending on
5600         whether something is selected in their submenu (patch taken from
5601         maemo-gtk).
5602
5603 2007-01-28  Matthias Clasen  <mclasen@redhat.com>
5604
5605         * gtk/gtktoolbar.c: Reinstate gtk_toolbar_content_new_compatibility()
5606         that was mistakenly "cleaned up" a while ago. Also
5607         revert a problematic change to the screen_changed
5608         handler.  (#401598, Søren Sandmann)
5609
5610 2007-01-28  Matthias Clasen  <mclasen@redhat.com>
5611
5612         * gtk/gtkframe.c (gtk_frame_size_allocation): Fix a 
5613         problem with large y thickness.  (#136592, Xan Lopez)
5614
5615 2007-01-28  Matthias Clasen  <mclasen@redhat.com>
5616
5617         * gtk/gtkaction.c (gtk_action_new): Use canonical
5618         property names.  
5619
5620 2007-01-27  Matthias Clasen  <mclasen@redhat.com>
5621
5622         * gtk/gtknotebook.c (gtk_notebook_draw_arrow):
5623         (gtk_notebook_draw_focus): Avoid some unnecessary 
5624         gtk_widget_get_style() calls.
5625
5626 2007-01-27  Matthias Clasen  <mclasen@redhat.com>
5627
5628         * gtk/gtktoolbar.c:
5629         * gtk/gtktoolitem.c:
5630         * gtk/gtktoolbutton.c: Rearrange things so that setting
5631         multiple properties causes not more than a single 
5632         reconstruction of the contents.
5633
5634         * gtk/gtkaction.c (connect_proxy): Set all tool button 
5635         properties in one go.
5636
5637 2007-01-27  Matthias Clasen  <mclasen@redhat.com>
5638
5639         * gtk/gtkstatusicon.c:
5640         * gtk/gtktrayicon-x11.c: Fix GtkStatusIcon to not
5641         take up space on the panel if it is invisible.  (340110, Christian
5642         Persch)
5643
5644         * tests/teststatusicon.c:
5645         * tests/Makefile.am: Updates
5646
5647 2007-01-27  Matthias Clasen  <mclasen@redhat.com>
5648
5649         * gtk/gtkfilesel.h:
5650         * gtk/gtkrc.h:
5651         * gtk/gtk.symbols: Add deprecation guards for gtk_rc_style_ref/unref
5652         and the old file selector.  (#348256)
5653
5654 2007-01-26  Matthias Clasen  <mclasen@redhat.com>
5655
5656         * gtk/gtkiconview.c: Documentation fixes (#400530, Anders Brander)
5657
5658 2007-01-26  Matthias Clasen  <mclasen@redhat.com>
5659
5660         * gtk/updateiconcache.c: Check the mtime of all directories,
5661         not just the toplevel, if ftw() is available.  (#331671, Behdad
5662         Esfahbod)
5663
5664         * configure.in: Check for ftw.h.
5665
5666 2007-01-26  Michael Natterer  <mitch@imendio.com>
5667
5668         * modules/input/gtkimcontextxim.c (gtk_im_context_xim_finalize):
5669         destroy the XIM only if it exists. While the code does look safe
5670         in general, there can be corner cases where the "reconnecting"
5671         boolean being FALSE does not correspond to the XIM being
5672         allocated (fixes #329450, fix taken from maemo-gtk).
5673
5674 Fri Jan 26 13:07:07 2007  Tim Janik  <timj@imendio.com>
5675
5676         * gtk/gtkstyle.c (draw_insertion_cursor): clamp cursor coordinates to
5677         window bounds (fix from Maemo Gtk).
5678
5679 2007-01-26  Michael Natterer  <mitch@imendio.com>
5680
5681         * gtk/gtkentrycompletion.c (gtk_entry_completion_insert_prefix):
5682         only block/unblock completion->priv->insert_text_id if it is
5683         actually connected. While this can't happen the way GtkEntry
5684         itself uses the completion, it's still public API and should not
5685         blindly call functions that will spit warnings (fix taken from
5686         maemo-gtk).
5687
5688 2007-01-25  Matthias Clasen  <mclasen@redhat.com>
5689
5690         * gdk/gdkwindow.c: Reduce locking overhead by not repeatedly getting
5691         the paintable iface.  
5692
5693 2007-01-24  Michael Natterer  <mitch@imendio.com>
5694
5695         * gtk/gtkwidget.c (gtk_widget_set_state): revert generic disabling
5696         of PRELIGHT state for the reasons given in bug #135666. Widget
5697         states are sometimes abused or otherwise used wrongly for historic
5698         reasons, causing this part of the patch to break e.g. menu items.
5699
5700 2007-01-24  Roozbeh Pournader  <roozbeh@farsiweb.info>
5701
5702         * README: Remove mention of no-longer-existing PATCH
5703         keyword in bugzilla. (#396899)
5704
5705 2007-01-23  Carlos Garcia Campos  <carlosgc@gnome.org>
5706
5707         * gtk/gtkpagesetup.c
5708         (gtk_page_setup_set_paper_size_and_default_margins): Fix memory leak.
5709         Fixes bug #399907. 
5710
5711 2007-01-22  Chris Wilson <chris@chris-wilson.co.uk>
5712
5713         Bug 399314 – Add G_GNUC_WARN_UNUSED_RESULT to gtk_style_attach
5714
5715         * gtk/gtkstyle.h:
5716                 Cause gcc to issue a warning if the style returned from
5717                 gtk_style_attach is not used. Failure to update
5718                 widget->style causes some very difficult to reproduce bugs,
5719                 eg Bug 353498 – crash in Terminal: changing icon theme.
5720
5721 2007-01-19  Michael Emmel  <mike.emmel@gmail.com>
5722
5723         * gdk/directfb/gdkevents-directfb.c: added fixes for window
5724         crossing events frm Attilio Fiandrotti<attilio.fiandrotti@gmail.com>
5725
5726 2007-01-19  Matthias Clasen  <mclasen@redhat.com>
5727
5728         * gtk/gtkcalendar.c: Fix build breakage.
5729
5730 2007-01-19  Kristian Rietveld  <kris@imendio.com>
5731
5732         * gtk/gtktreeview.c (gtk_tree_view_motion_bin_window),
5733         (add_scroll_timeout), (gtk_tree_view_drag_motion): factor out
5734         add_scroll_timeout().  (taken from maemo-gtk).
5735
5736 2007-01-18  Matthias Clasen  <mclasen@redhat.com>
5737
5738         * gtk/gtkcalendar.c: Fix problems with the initial
5739         focus in GtkCalendar.  (#397783, Vincent Untz)
5740
5741 2007-01-19  Robert Ögren  <gtk@roboros.com>
5742
5743         Fix for bug #143460 - missed tablet clicks on Windows
5744
5745         * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check):
5746         Request absolute reporting of tablet button state, and cut down
5747         the packet queue size a bit.
5748         (_gdk_input_other_event): Change button state handling
5749         accordingly. Also drop the no longer necessary code that detects
5750         missed clicks/releases for button 1. The switch to absolute button
5751         state should prevent missed events for all buttons. Additionally,
5752         swap button 2 and 3.
5753         (_gdk_input_grab_pointer): Don't reset button_state, that will only
5754         cause a new press event as soon as the next tablet packet arrives.
5755
5756 2007-01-19  Tor Lillqvist  <tml@novell.com>
5757
5758         Build Wintab support always on Windows. Don't require the Wintab
5759         SDK.
5760
5761         * configure.in: Drop the --with-wintab option. Drop the
5762         HAVE_WINTAB feature test macro and Automake variable.
5763
5764         * acconfig.h
5765         * config.h.win32.in: Drop HAVE_WINTAB.
5766
5767         * gdk/win32/gdkevents-win32.c
5768         * gdk/win32/gdkinput.c
5769         * gdk/win32/gdkinput-win32.h
5770         * gdk/win32/gdkinput-win32.c
5771         * gdk/win32/gdkmain-win32.c: Make HAVE_WINTAB ifdef blocks
5772         unconditional.
5773
5774         * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Try
5775         to load wintab32.dll dynamically here. If it is found look up the
5776         handful Wintab functions we use.
5777         (rest of file): Use these function pointers instead of calling the
5778         functions from wntab32x.lib. The code in wntab32x.lib did the same
5779         thing anyway: tried to load wintab32.dll, and looked up the
5780         addresses of the actual functions from it.
5781
5782         * gdk/Makefile.am
5783         * gdk/win32/Makefile.am: Drop the libwntab32x hacks.
5784
5785         * gdk/win32/wintab.h
5786         * gdk/win32/pktdef.h: New files. Copied from the Wintab
5787         SDK. Copyright blurb says: "The text and information contained in
5788         this file may be freely used, copied, or distributed without
5789         compensation or licensing restrictions."
5790
5791         * README.win32: Update a bit. Remove the text about the Wintab
5792         SDK.
5793
5794 2007-01-18  Tor Lillqvist  <tml@novell.com>
5795
5796         * gdk-pixbuf/Makefile.am
5797         * gdk/Makefile.am
5798         * gdk/win32/Makefile.am
5799         * gtk/Makefile.am: Fixes for building outside srcdir on
5800         Win32. (#336819, #340013) Drop distributing the handmade .la
5801         libtool wrapper for the wntab32x library. It's too much trouble
5802         making it work when building outside srcdir. Just link to the
5803         library direcly using -Wl,win32/libwntab32x.a.
5804
5805 2007-01-18  Michael Natterer  <mitch@imendio.com>
5806
5807         * gtk/gtkcheckbutton.c
5808         * gtk/gtkdnd.c
5809         * gtk/gtkentry.c
5810         * gtk/gtkmenu.c
5811         * gtk/gtktreeview.c
5812         * gtk/gtkviewport.c: pass more clip rectangles to gtk_paint_foo()
5813         functions. Based on a patch from maemo-gtk (bug #398023).
5814
5815 2007-01-17  Tor Lillqvist  <tml@novell.com>
5816
5817         * gtk-zip.sh.in: Include also the COPYING file.
5818
5819 2007-01-17  Matthias Clasen  <mclasen@redhat.com>
5820
5821         * modules/printbackends/cups/gtkprintbackendcups.c: Don't use
5822         httpGetFd() when building against cups 1.1
5823
5824 2007-01-17  Tor Lillqvist  <tml@novell.com>
5825
5826         Proper fix for #396175:
5827
5828         * gtk/gtkimmulticontext.c: Revert change by Hans Breuer below: Do
5829         include gtkprivate.h. On Win32 we do want to use the redefinition
5830         of GTK_LOCALEDIR as a call to the function _gtk_get_localedir().
5831
5832         * gtk/gtkimmodule.c: Instead, correct the prefix also on
5833         simple_context_info.domain_dirname. Do the prefix corrections
5834         always on Win32, not just when GTK_LIBDIR is defined. i.e., until
5835         now they were done only in the autoconfiscated gcc builds. Hans
5836         needs to make sure GTK_LIBDIR and GTK_LOCALEDIR are defined also
5837         in MSVC builds now.
5838         (correct_localedir_prefix): New function, like
5839         correct_libdir_prefix(), but for GTK_LOCALEDIR, in case
5840         GTK_LOCALEDIR is not a descendant of GTK_LIBDIR.
5841         (gtk_im_module_initialize): Thus call correct_localedir_prefix()
5842         on the domain_dirname instead of correct_libdir_prefix().
5843         (_gtk_im_module_list): Call correct_localedir_prefix() on
5844         simple_context_info.domain_dirname.
5845
5846 2007-01-16  Matthias Clasen  <mclasen@redhat.com>
5847
5848         * gtk/gtkrange.c (range_grab_remove): Queue a redraw when the
5849         grab changes.  (#396470, Benjamin Berg)
5850
5851 2007-01-15  Emmanuele Bassi  <ebassi@gnome.org>
5852
5853         * gtk/gtkrecentchoosermenu.c: Ellipsize the menu items label
5854         if they grow too much. (#357303)
5855
5856 2007-01-14  Matthias Clasen  <mclasen@redhat.com>
5857
5858         * gtk/gtkicontheme.c (theme_lookup_icon): When finding a matching
5859         non-scalable dir, keep going and look for a closer match.
5860         (#395830, Luca Ferretti)
5861
5862 2007-01-14  Christian Persch  <chpe@svn.gnome.org>
5863
5864         * gtk/gtkclipboard.c: (gtk_clipboard_set_text),
5865         (gtk_clipboard_set_image): Use gtk_target_table_new_from_list and
5866         gtk_target_table_free instead of duplicating the code. Bug #396493.
5867
5868 2007-01-13  Matthias Clasen  <mclasen@redhat.com>
5869
5870         * gtk/gtkuimanager.c: Don't crash if menu or toolbar
5871         positions can't be found.  (#396161, Hans Breuer)
5872
5873 2007-01-13  Matthias Clasen  <mclasen@redhat.com>
5874
5875         * gtk/gtkselection.c (_gtk_selection_request): Plug 
5876         memory leaks.  (#396160, Carlos Garcia Campos)
5877
5878 2007-01-13  Matthias Clasen  <mclasen@redhat.com>
5879
5880         * configure.in: Link libgtk against Xfixes.  (#396074,
5881         Tommi Komulainen)
5882
5883 2007-01-13  Matthias Clasen  <mclasen@redhat.com>
5884
5885         * gtk/gtkradiobutton.c (gtk_radio_button_focus): Avoid
5886         a compiler warning.  (#395045, Chris Wilson)
5887
5888 2007-01-13  Hans Breuer <hans@breuer.org>
5889
5890         * gtk/gtkprintoperation-win32.c : take the custom tab label from
5891         gtk_print_operation_set_custom_tab_label() into account (bug #390746).
5892
5893         * gtk/gtkimmulticontext.c : don't include "gtkprivate.h" to avoid
5894         differing definitions of GTK_LOCALEDIR (bug #396175).
5895
5896         * gtk/gtktreeview.c : use g_snprintf instead of snprintf, which is
5897         not available everywhere
5898
5899         * gtk/makefile.msc.in : updated
5900
5901 2007-01-12  Michael Natterer  <mitch@imendio.com>
5902
5903         * gtk/gtkentry.c (gtk_entry_button_press): don't add
5904         entry->scroll_offset to entry->drag_start_y. Fixes the entry
5905         starting drags after ridiculously small mouse movements.
5906
5907 2007-01-11  Richard Hult  <richard@imendio.com>
5908
5909         * demos/gtk-demo/main.c: (load_file): Close the file after it's
5910         loaded (bug #395316).
5911
5912 2007-01-11  Kjartan Maraas  <kmaraas@gnome.org>
5913
5914         * gtk/gtkfilesystemunix.c: (expand_tilde):
5915         Make a single tilde go to $HOME in the location entry.
5916         Patch from Yevgen Muntyan. Closes the gtk+ part of
5917         bug #334168.
5918
5919 2007-01-10  Behdad Esfahbod  <behdad@gnome.org>
5920
5921         * gdk/gdkpango.c (gdk_draw_layout_with_colors):
5922         * gtk/gtklabel.c (gtk_label_size_request):
5923         Use pango_matrix_transform_rectangle(). (#340141)
5924
5925         * configure.in: Bump pango requirement to 1.15.3.
5926
5927 2007-01-10  Kristian Rietveld  <kris@imendio.com>
5928
5929         * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_init):
5930         refactor to initialize indicator_size to TOGGLE_WIDTH instead
5931         of the hardcoded value of 12.
5932
5933 2007-01-09  Matthias Clasen  <mclasen@redhat.com>
5934
5935         * configure.in: Fix the directfb cairo test. (#394855, 
5936         Josselin Mouette)
5937
5938 2007-01-09  Behdad Esfahbod  <behdad@gnome.org>
5939
5940         * configure.in: Fix comment for --with-included-loaders.  That option
5941         affects builds with module loading enabled too.
5942
5943 2006-01-08  Peter Teichman  <peter@novell.com>
5944
5945         * gtk/gtkfilechooserdefault.c:
5946         * gtk/gtkfilechooserprivate.h:
5947         * gtk/gtkfilechoosersettings.c:
5948         * gtk/gtkfilechoosersettings.h:
5949         Save the expanded state of the folder browser with the file
5950         chooser settings.  Resolves the expander portions of (#153828,
5951         Lemmit Kaplinski)
5952
5953 2007-01-08  Emmanuele Bassi  <ebassi@gnome.org>
5954
5955         * gtk/gtkrecentchoosermenu.c (gtk_recent_chooser_menu_create_item):
5956         Don't leak the icon pixbuf after setting it to the image menu
5957         item.  Found by Paolo Borelli.
5958
5959 2007-01-08  Matthias Clasen  <mclasen@redhat.com>
5960
5961         * gtk/gtktreemodel.c (gtk_tree_path_to_string): Don't 
5962         corrupt memory when faced with paths with ridiculously
5963         large indices. Found by the GTKVTS test suite.  
5964
5965 2007-01-08  Matthias Clasen  <mclasen@redhat.com>
5966
5967         * gtk/gtkmodules.c (_gtk_modules_init): Set 
5968         default_display_opened before loading modules.  (#393102,
5969         Brian Cameron)
5970  
5971 2007-01-07  Matthias Clasen  <mclasen@redhat.com>
5972
5973         * gtk/gtktextview.c (gtk_text_view_set_border_window_size):
5974         Call text_window_realize() with the correct parameters.
5975         (#393813, Yevgen Muntyan)
5976
5977 2007-01-07  Matthias Clasen  <mclasen@redhat.com>
5978
5979         * gtk/gtkstatusbar.c: Move docs inline, and expand them 
5980         a bit.
5981
5982 2007-01-06  Matthias Clasen  <mclasen@redhat.com>
5983
5984         * gtk/gtklabel.c: Make line wrapping work with width-chars
5985         and max-width-chars, and simplify the storage of wrap-width.
5986         (#322580, Itai Bar-Haim)
5987
5988 2007-01-06  Tor Lillqvist  <tml@novell.com>
5989
5990         * gdk/win32/cursor.bdf: New file. Downloaded from
5991         freedesktop.org's webcvs. Slighly edited cursors "crosshair",
5992         "diamond_cross", "draft_large", "gobbler" and "target" to fix
5993         #392504. It is possible that the same end result could have been
5994         achieved by tweaking bdfcursor.c instead.
5995         
5996         * gdk/win32/bdfcursor.c: Add optional debugging output.
5997
5998         * gdk/win32/xcursors.h: Regenerated.
5999
6000 2007-01-05  Matthias Clasen  <mclasen@redhat.com>
6001
6002         * gtk/gtknotebook.c (gtk_notebook_set_menu_label_text): Left-align
6003         menu labels.  (#393255, Michail Crayson)
6004
6005 2007-01-05  Kristian Rietveld  <kris@gtk.org>
6006
6007         * gtk/gtktreeview.c (gtk_tree_view_dy_to_top_row): handle tree
6008         == NULL.  (Fixes #392685, reported by Yevgen Muntyan).
6009
6010 2007-01-05  Kristian Rietveld  <kris@gtk.org>
6011
6012         * gtk/gtktreeview.c (gtk_tree_view_row_changed): do allow to
6013         invalidate nodes if the tree view is not realized. (#363147,
6014         Carlos Garnacho, Miguel Cabrera).
6015
6016 2007-01-05  Matthias Clasen  <mclasen@redhat.com>
6017
6018         * gtk/gtkmenu.c (gtk_menu_paint): Take the scroll arrow into
6019         account when drawing the background.  (#393166, Benjamin Berg)
6020
6021 2007-01-05  Behdad Esfahbod  <behdad@gnome.org>
6022
6023         * gtk/gtklabel.c (get_layout_location): Fix broken width computation,
6024         again.
6025
6026 2007-01-05  Carlos Garnacho  <carlosg@gnome.org>
6027
6028         * gtk/gtknotebook.c (gtk_notebook_size_request): take into account
6029         both scroll arrows when calculating size request in GTK_POS_LEFT or
6030         GTK_POS_RIGHT notebooks. (#393124, reported by Christian Persch)
6031
6032 2007-01-05  Michael Natterer  <mitch@imendio.com>
6033
6034         * gtk/gtkwindow.c (gtk_window_key_release_event): chain up to
6035         the right function (fix taken from maemo-gtk).
6036
6037 2007-01-05  Behdad Esfahbod  <behdad@gnome.org>
6038
6039         * gdk/gdkprivate.h:
6040         * gdk/gdkpango.c (gdk_draw_layout_line_with_colors),
6041         (gdk_draw_layout_with_colors):
6042         * gdk/gdkwindow.c (gdk_window_draw_glyphs_transformed):
6043         Avoid overflow when converting coordinates to Pango units. (#332266,
6044         Jody Goldberg)
6045
6046 2007-01-04  Matthias Clasen  <mclasen@redhat.com>
6047
6048         * gtk/gtkcombobox.c (gtk_combo_box_popup): move set_cursor
6049         after realization of the popup window, so clamp node doesn't fail.
6050         (#346616, Tommi Komulainen, patch by Kristian Rietveld).
6051
6052 2007-01-04  Behdad Esfahbod  <behdad@gnome.org>
6053
6054         * gtk/gtklabel.c (get_layout_location): Fix uninitialized width
6055         variable.
6056
6057 2007-01-04  Matthias Clasen  <mclasen@redhat.com>
6058
6059         * gtk/Makefile.am:
6060         * gdk-pixbuf/Makefile.am:
6061         * configure.in:
6062         * gdk/win32/rc/gdk.rc.in: Cross-compilation fixes.
6063         (#392646, Yevgen Muntyan)
6064
6065 2007-01-04  Matthias Clasen  <mclasen@redhat.com>
6066
6067         * demos/gtk-demo/textscroll.c:
6068         * gtk/gtkhandlebox.c:
6069         * gtk/gtkcolorsel.c: Fix some compiler warnings.
6070
6071 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
6072
6073         * gtk/gtktextview.c: Rework the beep-on-uninserted-text
6074         by calling the input method regardless of editability,
6075         and beeping from the commit/preedit-changed handlers.
6076         (#390514, Yevgen Muntyan)
6077
6078 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
6079
6080         Fix #332604, reported by Joe Wreschnig, patch
6081         by Jan Arne Petersen and Behdad Esfahbod.
6082
6083         * gtk/gtklabel.c (gtk_label_size_allocate): Only
6084         set the width of the layout when necessary.
6085         (get_layout_location): Use pango_layout_get_pixel_extents()
6086         instead of pango_layout_get_width().
6087
6088 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
6089
6090         * modules/printbackends/cups/gtkprintbackendcups.c 
6091         (available_choices): Don't leak conflicts.
6092
6093         * gtk/gtkprintoperation.c (gtk_print_operation_finalize):
6094         Don't leak the status string.
6095
6096 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
6097
6098         * gtk/gtkfilechooserdefault.c (update_chooser_entry):
6099         Exit early if we can't get file info - this happens
6100         if the iter points to the row where we are editing
6101         the name for a newly created folder.  (#392191, Michael
6102         Partridge, patch by Kristian Rietveld)
6103
6104 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
6105
6106         * gtk/*.c:
6107         * gdk/x11/*.c: Apply a patch by Chris Wilson to
6108         avoid spurious valgrind warnings from XSendEvent() 
6109         calls.  (#392532)
6110
6111         * modules/printbackends/cups/gtkprintbackendcups.c: Close
6112         the http connection after getting the PPD.
6113
6114         * gtk/gtkprinteroptionwidget.c (filesave_changed_cb):
6115         Fix memory leaks.  
6116
6117 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
6118
6119         * gtk/gtkassistant.c (remove_page): If the current page
6120         is removed, always pick a different one.  (#392457, 
6121         Colin Watson)
6122
6123 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
6124
6125         * modules/printbackend/cups/*.c: Coding style cleanups.
6126
6127 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
6128
6129         * configure.in: Export SED to make sourcing of
6130         libtool work. Tighten up the directfb pkgconfig check.
6131
6132 2007-01-03  Michael Natterer  <mitch@imendio.com>
6133
6134         * gtk/gtkstyle.c (option_menu_get_props)
6135         * gtk/gtkoptionmenu.c (gtk_option_menu_get_props): Use 
6136         gtk_border_free when freeing borders.
6137
6138 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
6139
6140         * gtk/gtkentry.c (get_text_area_size): Work when the
6141         entry is not realized.  (#392315, Yevgen Muntyan)
6142
6143         * gtk/gtkentry.c (gtk_entry_queue_draw): Use 
6144         GTK_WIDGET_DRAWABLE() here.  (#392227, Chris Wilson)
6145
6146         * gtk/gtkentry.c (cursor_blinks): Don't get settings
6147         unnecessarily.  (#392227)
6148
6149 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
6150
6151         * gtk/gtkwindow.c (gtk_window_move_resize): Only process
6152         updates on the window at hand, not on all windows, to
6153         avoid violating resize/redraw ordering constraints.
6154         (#362406, Owen Taylor)
6155         
6156 2007-01-03  Kristian Rietveld  <kris@gtk.org>
6157
6158         * gtk/gtkcellrendererprogress.c
6159         (gtk_cell_renderer_progress_class_init): fix docs.
6160
6161 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
6162         
6163         * gtk/updateiconcache.c: Include locale.h
6164
6165 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
6166
6167         * gtk/updateiconcache.c (main): Call setlocale().
6168
6169         * gtk/gtkfilesel.c:
6170         * gtk/gtkfilesystemunix.c:
6171         * gtk/gtkfilesystemwin32.c:
6172         * gtk/gtkfilechoosersettings.c:
6173         * gtk/updateiconcache.c: Consistently use folder instead of
6174         directory in translated messages.  (#344584, Javier F. Serrador)
6175
6176 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
6177
6178         Try to fix #315732, reported by Luke Hutchinson:
6179
6180         * gdk/x11/xsettings-client.[hc]:
6181         * gdk/x11/gdkdevents-x11.c: Don't assume that ref'ing a GdkWindow
6182         will guarantee that it can be looked up in the xid hash later.
6183         Also, use the nesting server grab function during the xsettings
6184         client initialization. Finally, make xsettings client not
6185         eat DestroyNotifys so that GDK can do its regular cleanup. 
6186
6187 2007-01-02  Michael Natterer  <mitch@imendio.com>
6188
6189         * gtk/gtkrange.c (gtk_range_scroll) (gtk_range_move_slider): beep
6190         when a keybinding didn't change adjustment->value.
6191
6192 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
6193
6194         * gtk/gtktextbuffer.c (gtk_text_view_key_press_event):
6195         Try harder not to beep on events which are not meant to
6196         insert stuff in the buffer.  (#390514, Yevgen Muntyan) 
6197
6198 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
6199
6200         * gtk/gtktextbufferrichtext.c: Small documentation fixes.
6201
6202 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
6203
6204         * gtk/gtkentry.c (get_text_area_size): Center in the frame.  
6205         (#304482, Rob Staudinger, patch by  Richard Stellingwerff)
6206
6207 2007-01-02  Michael Emmel  <mike.emmel@gmail.com>
6208
6209         * gdkwindow-directfb.c: fixed leak of dfb resource on destroy 
6210
6211 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
6212
6213         * gtk/gtkscrolledwindow.h:
6214         * gtk/gtkscrolledwindow.c: Only handle key bindings
6215         for scrolling if the scrollbars are visible.
6216         (#340135, Christian Persch)
6217
6218 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
6219
6220         * gtk/gtktextview.c (gtk_text_view_scroll_hpages):
6221         Don't segfault on horizontal scrolling.  
6222
6223 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
6224
6225         * gtk/gtknotebook.h:
6226         * gtk/gtknotebook.c: Only handle key bindings for
6227         tab reordering if the tabs are shown and reorderable. 
6228         (#390468, Yevgen Muntyan)
6229
6230         * gtk/gtkmarshalers.list: Add required marshaler
6231
6232 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
6233
6234         * gtk/gtkcontainer.c (gtk_container_class_list_child_properties):
6235         Mention in the docs that the return value is
6236         NULL-terminated.  (#383373, Christian Neumair)
6237
6238 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
6239
6240         * gtk/gtkicontheme.c (load_themes): Waste less time
6241         with non-directories.  (#391725, Chris Wilson)
6242
6243 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
6244
6245         * gtk/gtkcellrendererprogress.c: Implement activity mode
6246         for GtkCellRendererProgress.  (#377851, Brad Taylor)
6247
6248 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
6249
6250         Fix some IPP compliance issues.  (#391523, Albrecht Dress)
6251
6252         * modules/printbackends/cups/gtkcupsutils.c
6253         (gtk_cups_request_encode_option): Use IPP_TAG_JOB, not
6254         IPP_TAG_OPERATION.
6255         * modules/printbackends/cups/gtkprintbackendcups.c
6256         (gtk_print_backend_cups_print_stream): Don't add the
6257         requesting-user-name attribute a second time. 
6258
6259 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
6260
6261         * gtk/gtkimcontextsimple.c: Fix en/em dash confusion.  (#378462)
6262
6263 2006-12-31  Emmanuele Bassi  <ebassi@gnome.org>
6264
6265         * gtk/gtkrecentchoosermenu.c (set_recent_manager): Use the
6266         right object when disconnecting from the GtkRecentManager::changed
6267         signal; save us a few indirections using a variable.
6268
6269 2006-12-31  Emmanuele Bassi  <ebassi@gnome.org>
6270
6271         * gtk/gtkrecentchoosermenu.c: Move the signal and idle
6272         disconnections into the dispose function, as well as the
6273         object unrefs; reset every handler id and the
6274         pointers. (suggested by Paolo Borelli, #390873)
6275
6276 2006-12-31  Matthias Clasen  <mclasen@redhat.com>
6277
6278         * gtk/gtkprintoperation-win32.c: Include windows.h (#391229,
6279         Kazuki Iwamoto)
6280
6281 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
6282
6283         * gtk/gtktextview.c (gtk_text_view_destroy): Remove the
6284         scroll timeout.  (#390872, Yevgen Muntyan)
6285
6286 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
6287
6288         * gtk/gtkprintoperation-unix.c:
6289         * gtk/gtkprintbackend.c:
6290         * gtk/gtkfilechooserdefault.c:
6291         * gtk/gtksettings.c: Move a few settings to gtksettings.c
6292         to make sure they show up in the docs.  (#365364, Christian
6293         Persch)
6294
6295 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
6296
6297         * gtk/gtkassistant.c: Redraw assistant on reallocate
6298         to avoid rendering glitches.  (#343956, Christian
6299         Persch, Carlos Garnacho)
6300
6301 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
6302
6303         * gtk/gtkrange.c: Typo fix.  (#352121, Clytie Siddall)
6304
6305 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
6306
6307         * gtk/gtkaction.c: Improve the docs of the "label" 
6308         property.  (#341730, Kristof Vansant)
6309
6310 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
6311
6312         * gtk/gtkwindow.c (gtk_window_compute_configure_request_size):
6313         Correctly handle min size. (#320465, Philipp Langdale)
6314
6315 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
6316
6317         * gtk/prop-editor.c: Implement editing of flags.
6318
6319 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
6320
6321         * gtk/gtkentry.c:
6322         * gtk/gtklabel.c:
6323         * gtk/gtkpaned.c:
6324         * gtk/gtkstatusbar.c:
6325         * gtk/gtktextview.c: Don't install cursors on insensitive
6326         widgets.  (#358864, Jan Schampera)
6327
6328 2006-12-29  Matthias Clasen  <mclasen@redhat.com>
6329
6330         * gtk/gtkrecentmanager.h:
6331         * gtk/gtkprintoperation.c: Fix doc typos.  (#370909,
6332         Shiino Yuki)
6333
6334         * gtk/gtkstyle.c (gtk_style_attach): Clarify docs.  (#353423,
6335         Christian Persch)
6336
6337         * gtk/gtkentry.c (blink_cb):
6338         * gtk/gtktextview.c (blink_cb): Don't die in an assertion
6339         if focus went missing. Just warn, clean up and continue.
6340         (#374378)
6341
6342 2006-12-29  Carlos Garnacho  <carlosg@gnome.org>
6343
6344         * gtk/gtknotebook.c (gtk_notebook_scroll): return if the widget that
6345         originally received the event is a notebook page. (#315440, reported
6346         by Mateusz Stefek)
6347
6348 2006-12-29  Matthias Clasen  <mclasen@redhat.com>
6349
6350         * gdk/gdkcolor.c (gdk_color_hash): Fix a typo. (#390613,
6351         Paolo Borelli)
6352
6353 2006-12-29  Matthias Clasen  <mclasen@redhat.com>
6354
6355         * tests/prop-editor.c: Display children of containers
6356         and cell renderers of cell layouts.
6357
6358         * gtk/gtk.symbols:
6359         * gtk/gtkcelllayout.[hc] (gtk_cell_layout_get_cells):
6360         New function to get the cell renderers of a cell layout.
6361
6362         * gtk/gtktreeviewcolumn.c:
6363         * gtk/gtkcellview.c:
6364         * gtk/gtkiconview.c: Implement get_cells.
6365
6366 2006-12-28  Matthias Clasen  <mclasen@redhat.com>
6367
6368         * gtk/gtkiconview.c: Use word wrapping by default, and
6369         center multiline labels.  (#318763, Ross Burton)
6370
6371         * gtk/gtkcellrenderertext.c (get_layout): Remove a special
6372         case for single-line layouts.
6373
6374 2006-12-28  Matthias Clasen  <mclasen@redhat.com>
6375
6376         * gtk/gtkarrow.c: Fix a typo in the docs.  (#390423,
6377         David Lodge)
6378
6379         * gtk/gtkuimanager.c (update_node): Only use the results
6380         of find_menu/toolbar_position() if they succeed. May fix
6381         bug #388041.
6382
6383 2006-12-28  Matthias Clasen  <mclasen@redhat.com>
6384
6385         * gdk/gdk.c: Fix some formatting errors in docs.  
6386
6387 2006-12-28  Tor Lillqvist  <tml@novell.com>
6388
6389         * gtk/gtkstatusicon.c (gtk_status_icon_finalize)
6390         (gtk_status_icon_update_image): Don't leak HICONs on
6391         Win32. (#364868, Hiroyuki Yamamoto)
6392
6393 2006-12-28  Carlos Garnacho  <carlosg@gnome.org>
6394
6395         Make GtkNotebook able to drop detached tabs anywhere. Bug #360225.
6396
6397         * gtk/gtkwidget.c (gtk_widget_class_init): add "drag-failed" signal.
6398         * gtk/gtkmarshalers.list: add new marshaler definition.
6399         * gtk/gtkenums.h: add GtkDragResult enum.
6400
6401         * gtk/gtkdnd.c (gtk_drag_drop_finished): emit "drag-failed" if DND
6402         operation wasn't successful.
6403         (_gtk_drag_source_handle_event) (gtk_drag_drop)
6404         (gtk_drag_selection_get) (gtk_drag_cancel) (gtk_drag_key_cb)
6405         (gtk_drag_grab_broken_event_cb) (gtk_drag_grab_notify_cb)
6406         (gtk_drag_button_release_cb) (gtk_drag_abort_timeout): tell
6407         gtk_drag_drop_finished() the operation result.
6408
6409         * gtk/gtknotebook.c (gtk_notebook_drag_failed): new function.
6410         (gtk_notebook_drag_data_get): do not call window creation hook here.
6411         (gtk_notebook_init): do not set "application/x-rootwindow-drop"
6412         target, instead connect to "drag-failed".
6413         (gtk_notebook_draw_focus): fix potential crasher if cur_page is NULL.
6414
6415 2006-12-28  Mikael Hallendal  <micke@imendio.com>
6416
6417         * gdk/quartz/gdkevents-quartz.c: Factored out the event loop 
6418         integration into gdkeventloop-quartz.c.
6419
6420         * gdk/quartz/Makefile.am: Added gdkeventloop-quartz.c
6421
6422         * gdk/quartz/gdkeventloop-quartz.c: New file containing the event loop 
6423         integration.
6424
6425 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
6426
6427         * modules/printbackends/lpr/gtkprintbackendlpr.c 
6428         (gtk_print_backend_lpr_print_stream): Close the io channel
6429         on unref.  (#390159, Joe Markus Clarke)
6430
6431 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
6432
6433         * gdk/gdk.h: Remove redundant declarations (#390097,
6434         Christian Persch)
6435
6436 2006-12-27  Kristian Rietveld  <kris@gtk.org>
6437
6438         Support inverting arrows via XSetting. (#377979, Yevgen Muntyan).
6439
6440         * gtk/gtksettings.c (gtk_settings_class_init): add new setting
6441         gtk-alternative-sort-arrows.
6442
6443         * gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting): add
6444         new setting.
6445
6446         * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: set new
6447         gtk-alternative-sort-arrows setting to true.
6448
6449         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
6450         invert direction if gtk-alternative-sort-arrows is TRUE.
6451
6452 2006-12-27  Tor Lillqvist  <tml@novell.com>
6453
6454         * gtk/gtk.symbols: Add gtk_status_icon_get_screen and
6455         gtk_status_icon_set_screen.
6456
6457         * gtk/gtkstatusicon.c: Implement gtk_status_icon_position_menu()
6458         on Windows. Keep track of where the last button click on the
6459         taskbar icon took place, and return that. Obviously not correct if
6460         no button has ever been clicked on the icon, or if the geometry of
6461         the taskbar has changed since. But for most use cases where a menu
6462         is going to be displayed as a direct result of a button click on
6463         the status icon, works fine. (#377349)
6464
6465         Implement getting the orientation property on Windows.
6466
6467         (gtk_status_icon_embedded_changed)
6468         (gtk_status_icon_orientation_changed): Ifdefify these functions
6469         that are used only on X11.
6470
6471 2006-12-27  Tor Lillqvist  <tml@novell.com>
6472
6473         * gtk/gtkfilesystemwin32.c (execute_callbacks): Fix
6474         typo. (#390035, Kazuki Iwamoto)
6475
6476 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
6477
6478         * gtk/gtkcellview.c (gtk_cell_view_set_model): Accept NULL.
6479
6480         * gtk/gtkcombobox.c (gtk_combo_box_set_model):
6481         (gtk_combo_box_unset_model): Handle repeated unsetting
6482         of models without warnings.  (#367529, Robert Ancell)
6483
6484 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
6485
6486         * modules/printbackends/cups/gtkcupsutils.c: 
6487         * modules/printbackends/cups/gtkprintbackendcups.c: Use
6488         getters for http fields where available.  (#364866, 
6489         Björn Lindqvist)
6490
6491 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
6492
6493         * gtk/gtkwidget.c (gtk_widget_show): Add a g_return_if_fail.
6494         (#362614, Xan Lopez)
6495
6496 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
6497
6498         * gtk/gtkuimanager.c (update_node): If a required action
6499         is missing, don't recurse over the children.  (#349119,
6500         Chris Moller)
6501
6502 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
6503
6504         Fix a few problems with nested menus in comboboxes
6505         (#386694, Yevgen Muntyan)
6506
6507         * gtk/gtkcombobox.c (gtk_combo_box_menu_fill_level): Always
6508         connect the activate callback.
6509         (gtk_combo_box_menu_item_activate): Do nothing if called on
6510         an item with a submenu.
6511         (gtk_combo_box_menu_row_deleted): Remove a submenu when it
6512         is empty.
6513
6514 2006-12-26  Mariano Suárez-Alvarez  <mariano@gnome.org>
6515
6516         * gtk/gtkfilechooserbuuton.[hc]: Add a file-set signal to the
6517         filechooser button. Bug 353196.
6518
6519 2006-12-26  Kristian Rietveld  <kris@gtk.org>
6520
6521         * gtk/gtktreeview.c (gtk_tree_view_search_init): fix typo causing
6522         the search dialog timeout never to be refreshed. (#389581,
6523         Andrzej Szombierski).
6524
6525 2006-12-26  Kristian Rietveld  <kris@gtk.org>
6526
6527         Lots of scrolling fixes.  Made scrolling work properly in not fully
6528         validated tree views; fixed a bunch of corner cases.
6529
6530         * gtk/gtktreeview.c (validate_visible_area): if a row's dy is past
6531         upper - page_size, we know it is located at the end so the test for
6532         dy + height has been dropped.
6533         In the same case if area_below < 0, we know this is the last node
6534         in the tree view so area_above is page_size - height of this row.
6535         (validate_visible_area): got rid of subtracting new_height -
6536         old_height from area_{below,above}, it didn't make any sense at
6537         all and the full height of the row should be subtracted instead.
6538         (validate_visible_area): when scrolling to a given path, set the
6539         top row directly together with the dy offset, then sync that top_row
6540         to the dy.
6541         (gtk_tree_view_set_top_row): new function to directly set a top_row.
6542         (gtk_tree_view_dy_to_top_row): refactored to use
6543         gtk_tree_view_set_top_row().
6544         (gtk_tree_view_top_row_to_dy): make sure dy >= 0 when done.
6545         (gtk_tree_view_adjustment_changed): only update our dy and
6546         top_row if the adjustment's dy actually changed.
6547
6548 2006-12-26  Christian Persch  <chpe@cvs.gnome.org>
6549
6550         * gtk/gtknotebook.c: (gtk_notebook_real_insert_page):
6551         Return the correct value from gtk_notebook_insert_page if the
6552         page-added handler reorders the tabs. Bug #345094.
6553
6554 2006-12-26  Carlos Garnacho  <carlosg@gnome.org>
6555
6556         Fix small regressions in GtkNotebook tab detaching. Bug #378852.
6557
6558         * gtk/gtknotebook.c (gtk_notebook_do_arrow): grab focus to allow tabs
6559         scrolling when hovering with a detached tab.
6560         (gtk_notebook_stop_reorder): Do not deparent the wrong tab if the
6561         focus tab has changed during a tab DND operation.
6562         (gtk_notebook_drag_end): ensure that the dropped tab gets focused.
6563         (gtk_notebook_paint): do not take cur_page as a reference to paint the
6564         box if it's detached.
6565         (gtk_notebook_calculate_tabs_allocation): focus_tab may be different
6566         to the detached tab if we hover the arrows during a tabs detaching 
6567         operation, do not allocate it unconditionally in 0,0.
6568
6569 2006-12-26  Carlos Garnacho  <carlosg@gnome.org>
6570
6571         Expose improvements for GtkNotebook. Bug #383435
6572
6573         * gtk/gtknotebook.c (gtk_notebook_expose): propagate the event to tab
6574         labels.
6575         (gtk_notebook_draw_focus): do not repaint the whole focused tab again.
6576         (gtk_notebook_draw_tab): do not send handmade expose events to tab
6577         labels.
6578
6579 2006-12-26  Matthias Clasen  <mclasen@redhat.com>
6580
6581         * gtk/gtkfilesystemunix.c (execute_callbacks): Return
6582         FALSE.  (#389623, Carlos Garnacho Parro)
6583
6584         * gtk/gtkrange.c (stop_scrolling): Avoid spurious
6585         redraws.
6586
6587 2006-12-25  Christian Persch  <chpe@cvs.gnome.org>
6588
6589         * gtk/gtkplug.c: (gtk_plug_construct_for_display),
6590         (gtk_plug_unrealize): Notify the "embedded" property also on
6591         normal construction and when destroying the socket window.
6592         Bug #388738.
6593
6594 2006-12-25  Christian Persch  <chpe@cvs.gnome.org>
6595
6596         * gtk/gtkaboutdialog.c: (gtk_about_dialog_class_init),
6597         (gtk_about_dialog_init), (display_credits_dialog),
6598         (display_license_dialog):
6599         * gtk/gtkfilechooserdialog.c: (gtk_file_chooser_dialog_class_init),
6600         (gtk_file_chooser_dialog_init),
6601         (gtk_file_chooser_dialog_constructor),
6602         (gtk_file_chooser_dialog_unmap):
6603         * gtk/gtkrecentchooserdefault.c:
6604         (_gtk_recent_chooser_default_init):
6605         * gtk/gtkrecentchooserdialog.c:
6606         (gtk_recent_chooser_dialog_class_init),
6607         (gtk_recent_chooser_dialog_init),
6608         (gtk_recent_chooser_dialog_constructor),
6609         (gtk_recent_chooser_dialog_unmap): Set the HIG spacings directly
6610         instead of using style-set handlers. Fix the filechooser's spacing
6611         between content and action area to 12px. Bug #372447.
6612
6613 2006-12-25  Christian Persch  <chpe@cvs.gnome.org>
6614
6615         * gtk/gtkstatusbar.c: (gtk_statusbar_size_allocate):
6616         Don't assume statusbar->label is the statusbar's frame's child when
6617         shrinking the size allocation when the grip is shown. Bug #372452.
6618
6619 2006-12-25  Christian Persch  <chpe@cvs.gnome.org>
6620
6621         * gtk/gtkpagesetupunixdialog.c: (printer_status_cb),
6622         (add_custom_paper): Fix mem leaks. Bug #389194.
6623
6624 2006-12-24  Matthias Clasen  <mclasen@redhat.com>
6625
6626         * gtk/gtktextutil.c: Remove debug output.
6627
6628         * gtk/gtktextview.c: Improve the DND scrolling
6629         behaviour.  (#92387, Carlos Garnacho Parro)
6630
6631         * gtk/gtkaccellabel.c: Improve translators comments.  
6632         (#389298, Christian Persch)
6633
6634 2006-12-24  Bastien Nocera  <hadess@hadess.net>
6635
6636         * gtk/gtkrecentmanager.c: Fix typo (s/expansive/expensive)
6637         (#389183)
6638
6639 2006-12-24  Christian Persch  <chpe@cvs.gnome.org>
6640
6641         * docs/reference/gtk/gtk-sections.txt:
6642         * gtk/gtk.symbols:
6643         * gtk/gtkpagesetupunixdialog.c: (fill_paper_sizes_from_printer):
6644         * gtk/gtkprinter-private.h:
6645         * gtk/gtkprinter.c: (gtk_printer_list_papers):
6646         * gtk/gtkprinter.h: Make gtk_printer_list_papers public. Bug #345587.
6647
6648 2006-12-24  Carlos Garcia Campos  <carlosgc@gnome.org>
6649
6650         * gtk/gtkpagesetupunixdialog.c: Don't ignore reverse portrait option
6651         when is selected in page setup dialog. Fixes bug #365047.
6652
6653 2006-12-24  Behdad Esfahbod  <behdad@gnome.org>
6654
6655         * gtk/gtkentry.c (_gtk_entry_effective_inner_border):
6656         Use gtk_border_free when freeing border.
6657
6658 2006-12-24  Matthias Clasen  <mclasen@redhat.com>
6659
6660         * gtk/gtkentry.c (gtk_entry_button_press): When
6661         shift-clicking, keep the larger part of the selection
6662         selected.  (#353709, Benjamin Otte)
6663
6664         * gtk/gtkbutton.c (gtk_button_get_props): Use 
6665         gtk_border_free when freeing borders.
6666
6667         * gtk/gtkbutton.c (gtk_button_grab_notify): Be more
6668         careful when faking a button release.  (#323146,
6669         Travis Abbott)
6670
6671         * gtk/gtkhandlebox.c (draw_textured_frame): Draw the
6672         handle with the right orientation, depending on the
6673         position of the handlebox.  (#159764, Benjamin Berg)
6674
6675 2006-12-24  Behdad Esfahbod  <behdad@gnome.org>
6676
6677         * gtk/gtkstyle.c (gtk_border_copy), (gtk_border_free): Use gslice for
6678         GtkBorder (#383557).
6679
6680 2006-12-24  Behdad Esfahbod  <behdad@gnome.org>
6681
6682         Bug 340141 – Update to Pango 1.16 API
6683
6684         * gdk/gdkpango.c (layout_iter_get_line_clip_region),
6685         (gdk_pango_layout_line_get_clip_region):
6686         * gtk/gtkcalendar.c (gtk_calendar_size_request):
6687         * gtk/gtkentry.c (gtk_entry_get_pixel_ranges),
6688         (get_layout_position), (gtk_entry_find_position),
6689         (gtk_entry_adjust_scroll):
6690         * gtk/gtkiconview.c (get_pango_text_offsets):
6691         * gtk/gtklabel.c (get_cursor_direction):
6692         * gtk/gtkstyle.c (get_insensitive_layout):
6693         * gtk/gtktextdisplay.c (render_para):
6694         * gtk/gtktextlayout.c (allocate_child_widgets),
6695         (find_display_line_below), (find_display_line_above),
6696         (gtk_text_layout_move_iter_to_previous_line),
6697         (gtk_text_layout_move_iter_to_next_line),
6698         (gtk_text_layout_move_iter_to_line_end),
6699         (gtk_text_layout_iter_starts_line),
6700         (gtk_text_layout_move_iter_to_x):
6701         * gtk/gtktextutil.c (limit_layout_lines):
6702         Use the _readonly version of pango_layout_iter_get_line(),
6703         pango_layout_iter_get_run(), pango_layout_get_line(), and
6704         pango_layout_get_lines().
6705
6706         * gtk/gtkmain.c (gtk_get_default_language): Use
6707         pango_get_default_language().
6708
6709 2006-12-24  Matthias Clasen  <mclasen@redhat.com>
6710
6711         * gtk/gtkentry.c (gtk_entry_set_text): Emit changed
6712         and notify:text only once. The same fix was applied
6713         for replacing the selection via DND or copy-and-paste.
6714         (#64998, Damon Chaplin, Sven Herzberg)
6715
6716 2006-12-23  Matthias Clasen  <mclasen@redhat.com>
6717
6718         * gtk/gtkimmulticontext.c: Be careful to not override
6719         GTK+ translations with the translations of the input
6720         method.  (#317080, Tor Lillqvist)
6721
6722         * modules/input/imcedilla.c: Use standard macros
6723         for translation domain and locale dir.
6724
6725         * gtk/gtkimcontextsimple.c: Allow composing l with 
6726         stroke.  (#349638, Daniel Lublin)
6727
6728         * gtk/gen-paper-names.c: Fix a thinko in the suffix
6729         calculation.  (#382369, Christian Persch)
6730
6731         * gtk/paper_names_offsets.c: Regenerated.
6732
6733 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
6734
6735         * modules/engines/pixbuf/pixbuf.h:
6736         * modules/engines/pixbuf/pixbuf-rc-style.h:
6737         * modules/engines/pixbuf/pixbuf-style.h: Move 
6738         G_GNUC_INTERNAL before function declarations.  (#352276,
6739         Damien Carbery)
6740
6741 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
6742
6743         * demos/gtk-demo/*.c: Fix some leaks.  (#348108, Chris
6744         Wilson)
6745
6746 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
6747
6748         * *.c: Replace a lot of idle and timeout calls by
6749         the new gdk_threads api. 
6750
6751         * gdk/gdk.symbols:
6752         * gdk/gdk.h:
6753         * gdk/gdk.c: Add functions to allow threadsafe handling
6754         of idles and timeouts wrt. to the GDK lock.  (#321886,
6755         Chris Wilson)
6756         
6757 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
6758         
6759         * gdk/gdkpango.c: Use pango_cairo_show_error_underline.  
6760         (#340141, Behdad Esfahbod)
6761
6762         * configure.in: Check for getc_unlocked.
6763
6764         * gtk/xdgmime/xdgmimemagic.c: Use getc if getc_unlocked is
6765         unavailable.   (#381499)
6766
6767         * tests/teststatusicon.c: Fix a typo
6768
6769 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
6770
6771         Make it possible to track the embeddedness of
6772         statusicon (#387215, Martyn Russell, patch by Christian
6773         Persch)
6774
6775         * gtk/gtkstatusicon.c: Add orientation and embedded properties.
6776         * gtk/gtkplug.c: 
6777         * gtk/gtkplug-x11.c: Add an embedded property.
6778         * tests/teststatusicon.c: Test the new properties.
6779
6780         * gtk/gtkwidget.c (gtk_widget_get_draw_rectangle): Don't
6781         leak draw_border.  (#387170, Kjartan Maraas)
6782
6783 2006-12-21  Matthias Clasen  <mclasen@redhat.com>
6784
6785          * gtk/gtkfilechooserembed.c (_gtk_file_chooser_embed_set_delegate()):
6786         Typo fix.  (#388123, Murray Cumming)
6787         
6788         * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event):
6789         Generate double-click events.  (#380421, Tommi Komulainen)
6790
6791         * gdk/x1/gdkinput-xfree.c (_gdk_input_configure_event):
6792         (_gdk_input_enter_event): Correct return_if_fail checks.
6793         (#379803, Tommi Komulainen)
6794
6795         * gdk/gdkdisplay.c: Improve the docs of some functions operating
6796         on the default display.  (##353438, Mariano Suárez-Alvarez)
6797
6798 2006-12-21  Matthew Barnes  <mbarnes@redhat.com>
6799
6800         * docs/reference/gdk/gdk-sections.txt:
6801         * gdk/gdkcolor.[ch] (gdk_color_to_string): Add a function for
6802         converting a GdkColor to a string (#373856).
6803
6804         * configure.in: Bump pango requirement to 1.15.2.
6805
6806 2006-12-20  Matthias Clasen  <mclasen@redhat.com>
6807         
6808         * gdk/keynames.txt: Mark arrow keys as translatable.  (#369506,
6809         Bastian Nocera)
6810
6811         * gdk/keyname-table.h: Regenerated
6812
6813         * gtk/gtktextbuffer.c: Add signal documentation.  (#317064,
6814         Søren Wedel Nielsen)
6815
6816         * gtk/gtktextview.c (gtk_text_view_start_selection_drag):
6817         Silently return if a drag is already in progress, rather
6818         than asserting.  (#335622, Li Yuan, testcase by Erwann Chenede)
6819
6820         * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_new_with_dialog):
6821         Allow any GtkDialog that implements GtkFileChooser as
6822         dialog.  (#335473, Tommi Komulainen)
6823
6824 2006-12-20  Mikael Hallendal  <micke@imendio.com>
6825
6826         * gtk/gtkstatusicon.c: (gtk_status_icon_init): Fixed a last minute
6827         change in the quartz backend.
6828
6829 2006-12-20  Mikael Hallendal  <micke@imendio.com>
6830
6831         * gtk/Makefile.am: Added gtkstatusicon-quartz.c
6832         * gtk/gtkstatusicon-quartz.c: Implements the quartz backend for the
6833         status icon.
6834         * gtk/gtkstatusicon.c: Hooked in the new quartz backend. Bug #387874.
6835
6836 2006-12-19  Matthias Clasen  <mclasen@redhat.com>
6837
6838         * gtk/gtkprintunixdialog.c: Add a tooltip explaining the
6839         format of page ranges, and improve the page sequence icon
6840         for the case of n_copies == 1.
6841  
6842 2006-12-19  Mikael Hallendal  <micke@imendio.com>
6843
6844         * gdk/quartz/gdkcursor-quartz.c: Splitted out the GdkPixbuf to NSImage
6845         routine so that it can be used from libgtk as well (needed for
6846         upcoming GtkStatusIcon support in the Quartz port).
6847         * gdk/quartz/gdkevents-quartz.c: Don't assume that all NSWindows are
6848         created from GDK, this is not true for the status icon.
6849         * gdk/quartz/gdkprivate-quartz.h:
6850         * gdk/quartz/gdkquartz.h: Added 
6851         gdk_quartz_pixbuf_to_ns_image_libgtk_only so that it is available to 
6852         the status icon code.
6853
6854 2006-12-16  Tristan Van Berkom <tvb@gnome.org>
6855
6856         * gtk/gtkmessagedialog.c: Added return_if_fail (image) to
6857         gtk_message_dialog_set_image ()
6858
6859         * gtk/gtkscrolledwindow.c: Fixed a bug in set_property()
6860         (setting "window-placement-set" could result in a crash because
6861         of boolean/enum mixup)
6862
6863 2006-12-15  Federico Mena Quintero  <federico@novell.com>
6864
6865         Merged from gtk-2-10:
6866
6867         * gtk/gtkmenu.c (gtk_menu_set_title): Don't try to optimize for
6868         the case where the new title is the same as the old title, to
6869         preserve the behavior from GTK+ 2.8 (NULL and "" titles are not
6870         equivalent).  Handle the case where title == priv->title.  This
6871         was found by the LSB compatibility tests:
6872         https://bugzilla.novell.com/show_bug.cgi?id=223882
6873
6874 2006-12-15  Dom Lachowicz <domlachowicz@gmail.com>
6875
6876         * gtk/gtkcombobox.c: Make GtkComboBox in "appears-as-list" mode
6877         more closely resemble its Win32 counterpart. Bug #340204.
6878
6879 2006-12-14  Carlos Garnacho  <carlosg@gnome.org>
6880
6881         * gtk/gtkcalendar.c: draw arrows pointing to the right correctly
6882         placed inside their GdkWindow. Bug #385672.
6883
6884 2006-12-14  Christian Persch  <chpe@cvs.gnome.org>
6885
6886         * gtk/gtkiconview.c: Fix docs typo. Bug #385642.
6887
6888 2006-12-13  Dom Lachowicz <domlachowicz@gmail.com>
6889
6890         * src/modules/engines/ms-windows/msw_style.c: Bug 351679 - Notebooks 
6891         drawn with extra line below tab in MS-Windows theme. Patch by 
6892         Cody Russell
6893         
6894 2006-12-13  Matthias Clasen  <mclasen@redhat.com>
6895
6896         * gtk/Makefile.am: Add --unlink-tempfile to the evince call
6897         for print preview.  (#370041, Ghee Teo)
6898
6899 2006-12-11  Matthias Clasen  <mclasen@redhat.com>
6900
6901         * gtk/gtkprogressbar.c (gtk_progress_bar_paint_text): Be more
6902         careful when overdrawing antialiased text.  (#352435, Alex Jones,
6903         patch by Benjamin Otte)
6904
6905         * gtk/gtksettings.c: Change the way in which color scheme information
6906         is merged to correctly handle vanishing colors.  (#374420, 
6907         Benjamin Berg, patch by Callum McKenzie) 
6908         Also allow to separate entries in color schemes by ';' 
6909         instead of newline.  
6910
6911 2006-12-10  Matthias Clasen  <mclasen@redhat.com>
6912
6913         * modules/printbackends/cups/gtkcupsutils.c (gtk_cups_request_encode_option): 
6914         Properly pass multi-value options to cups.  (#355350, Jürg Billeter) 
6915
6916 2006-12-10  Kristian Rietveld  <kris@gtk.org>
6917
6918         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_focus_out_event):
6919         cancel editing (ie. don't accept changes) when the entry loses
6920         focus. (Fixes #164494, reported by Chris Rouch).
6921
6922 2006-12-10  Matthias Clasen  <mclasen@redhat.com>
6923
6924         * configure.in: Correct a misapplied patch. 
6925
6926 2006-12-10  Tor Lillqvist  <tml@novell.com>
6927
6928         * gtk-zip.sh.in: Put gdk-pixbuf-query-loaders.exe and
6929         gtk-query-immodules-2.0.exe in the runtime zipfile instead of
6930         developer zipfile. Users might add pixbuf loaders or immodules
6931         even if they are not interested in developing gtk+-using software.
6932
6933 2006-12-10  Matthias Clasen  <mclasen@redhat.com>
6934
6935         * configure.in: Check for crt_extern.h and _NSGetEnviron.
6936         * gdk/x11/gdkspawn-x11.c: Fix compilation on Darwin where
6937         environ is not available.  (#384168, Min Sik Kim)
6938
6939 2006-12-07  Paolo Maggi  <paolo@gnome.org>
6940
6941         Fixes bug #383407
6942         
6943         * gtk/gtkentry.c (gtk_entry_set_text): check for
6944         completion->priv->changed_id > 0 before calling 
6945         g_signal_handler_[un]block.
6946         (gtk_entry_completion_key_press): does not block/unblock the "changed"
6947         signal before calling gtk_entry_set_text.
6948         
6949 2006-12-07  Carlos Garnacho  <carlosg@gnome.org>
6950
6951         * gtk/gtkcellrendererprogress (compute_dimensions): do not use
6952         xthickness/ythickness, they aren't used any longer for drawing.
6953
6954 2006-12-07  Matthias Clasen  <mclasen@redhat.com>
6955
6956         * gtk/gtkrc.c (_gtk_rc_init): Fix clipping of accelerator
6957         underlines by giving labels a small draw-border.
6958
6959 2006-12-06  Kristian Rietveld  <kris@gtk.org>
6960
6961         * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_render):
6962         draw progress bar through theme engine instead of using our own
6963         custom cairo drawing code (#377244, patch from Carlos Garnacho).
6964
6965 2006-12-06  Matthias Clasen  <mclasen@redhat.com>
6966
6967         * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities):
6968         Update the sensitivity of the collate checkbutton more frequently,
6969         proposed by Tim Waugh.
6970
6971 2006-12-04  Matthias Clasen  <mclasen@redhat.com>
6972
6973         * gtk/gtkmessagedialog.c (setup_type): Set a11y name and role
6974         since we no longer set window titles.
6975
6976 2006-12-04  Christian Persch  <chpe@cvs.gnome.org>
6977
6978         * gtk/gtkpagesetup.c: (gtk_page_setup_get_paper_size),
6979         (gtk_page_setup_set_paper_size): Don't leak the old page size when
6980         setting a new one. Bug #382314.
6981
6982 2006-12-03  Michael Natterer  <mitch@gimp.org>
6983
6984         * gtk/gtktextview.c: remove FIXME #include that is no longer needed.
6985
6986 2006-12-03  Kristian Rietveld  <kris@gtk.org>
6987
6988         Make sure [xy]_offset are always being initialized, fix pixbuf
6989         renderer padding.  (#108235, Sven Neumann).
6990
6991         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_get_size),
6992         (gtk_cell_renderer_pixbuf_render): add padding in _render instead
6993         of _get_size.
6994
6995         * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_get_size):
6996         always initialize [xy]_offset.
6997         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): ditto.
6998         * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_size):
6999         ditto.
7000
7001 2006-12-03  Kristian Rietveld  <kris@gtk.org>
7002
7003         * gtk/gtktreeview.c (validate_visible_area): when not using an
7004         explicit alignment, use the full area of the row (not just dy)
7005         to determine how to implicitly align it.  (Fixes #363191, reported
7006         by Federico Mena Quintero).
7007
7008 2006-12-02  Matthias Clasen  <mclasen@redhat.com>
7009
7010         * gtk/gtkicontheme.c (insert_theme): Properly clean up
7011         if an icon theme index file has no directories.  (#381236)
7012
7013 2006-12-02  Dom Lachowicz <domlachowicz@gmail.com>
7014
7015         * src/modules/engines/ms-windows/msw_style.c: Bug 351678 - Notebooks 
7016         not with PositionType.Top drawn incorrectly. Patch by Cody Russell
7017         
7018 2006-11-28  Behdad Esfahbod  <behdad@gnome.org>
7019
7020         Remove the broken Thai input method and add a functional Thai and Lao
7021         input method by Theppitak Karoonboonyanan. (#81031)
7022
7023         * modules/input/imthai.c:
7024         * modules/input/gtkimcontextthai.c:
7025         * modules/input/gtkimcontextthai.h:
7026         * modules/input/thai-charprop.c:
7027         * modules/input/thai-charprop.h:
7028         Added.
7029
7030         * modules/input/imthai-broken.c:
7031         Removed.
7032         
7033         * modules/input/Makefile.am:
7034         Updated.
7035
7036 2006-11-27  Christian Persch  <chpe@cvs.gnome.org>
7037
7038         * gtk/gtkstatusicon.c: Notify when the screen changes. Bug #379793.
7039
7040 Mon Nov 27 12:27:06 2006  Tim Janik  <timj@imendio.com>
7041
7042         * gtk/gtktextview.c: applied patch by  Colin Leroy for
7043         Control+GDK_KP_Left to move one word to the left, #356255.
7044
7045 2006-11-26  Benjamin Berg  <benjamin@sipsolutions.net>
7046
7047         * gtk/gtkstyle.c: (gtk_default_draw_flat_box): Protect against NULL
7048           widget. (#379503)
7049
7050 2006-11-25  Matthias Clasen  <mclasen@redhat.com>
7051
7052         * modules/printbackends/cups/gtkprintbackendcups.c: Make
7053         print dialog work when 'BrowseShortNames Off' is specified
7054         in cups configuration. Patch by Tim Waugh.
7055
7056 2006-11-24  Michael Natterer  <mitch@imendio.com>
7057
7058         * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): if we
7059         can't go up/down, consult gtk_widget_keynav_failed() and leave the
7060         widget if it returns FALSE (bug #322640).
7061
7062 2006-11-23  Behdad Esfahbod  <behdad@gnome.org>
7063
7064         * gtk/gtkmain.c: Fix minor typo in docs. (#378632, Hannes Mueller)
7065
7066 2006-11-22  Emmanuele Bassi  <ebassi@gnome.org>
7067
7068         * gtk/gtkrecentmanager.c:
7069         (get_uri_shortname_for_display): g_filename_from_uri() might
7070         fail; catch the failure and fall back to the non-local URI
7071         case. (#363437)
7072
7073 2006-11-19  Mark McLoughlin  <mark@skynet.ie>
7074
7075         Fixes bug #376502 - multi-screen support for GtkStatusIcon
7076
7077         * gtk/gtkstatusicon.[ch]:
7078         (gtk_status_icon_set_screen),
7079         (gtk_status_icon_get_screen): add multi-screen API. Allows
7080         an app to display an icon on a non-default screen
7081         (gtk_status_icon_class_init),
7082         (gtk_status_icon_set_property),
7083         (gtk_status_icon_get_property): add a "screen" property
7084         
7085         * tests/teststatusicon.c: update to test on multiple screens
7086
7087 2006-11-17  Matthias Clasen  <mclasen@redhat.com>
7088
7089         Fix problems with drag cancellation. (#376535, Michael Natterer)
7090         
7091         * gtk/gtkdnd.c (gtk_drag_source_info_destroy): Disconnect signal
7092         handlers before emitting drag-end.
7093         (gtk_drag_end): Disconnect signal handlers before removing
7094         the grab.  
7095
7096 2006-11-16  Mariano Suárez-Alvarez <mariano@gnome.org>
7097
7098         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
7099         add gtk-doc blurb on GtkCellRendererText::edited (#376094)
7100
7101 2006-11-16  Michael Natterer  <mitch@imendio.com>
7102
7103         * gtk/gtkradiobutton.c (gtk_radio_button_focus): don't use
7104         gtk_widget_keynav_failed(). Instead, look at gtk-keynav-cursor-only
7105         and gtk-keynav-wrap-around and wrap around, beep or continue outside
7106         the group manually (bug #322640).
7107
7108 2006-11-16  Michael Natterer  <mitch@imendio.com>
7109
7110         Add new infrastructure for notifications of failed keyboard
7111         navigation and navigation with restricted set of keys.
7112
7113         The patch handles configurable beeping, navigating the GUI with
7114         cursor keys only (as in phone environments), and configurable
7115         wrap-around. Fixes bugs #322640, #70986, #318827, #334726, #334742
7116         and #309291.
7117
7118         * gtk/gtksettings.c: added properties gtk-keynav-cursor-only,
7119         gtk-keynav-wrap-around and gtk-error-bell.
7120
7121         * gtk/gtkwidget.[ch]: added new signal "keynav-failed" and public
7122         API to emit it. Added New function gtk_widget_error_bell() which
7123         looks at the gtk-error-bell setting and calls gdk_window_beep()
7124         accordingly.
7125
7126         * gtk/gtk.symbols: add the new widget symbols.
7127
7128         * gtk/gtkcellrendereraccel.c
7129         * gtk/gtkimcontextsimple.c
7130         * gtk/gtkmenu.c
7131         * gtk/gtknotebook.c: use gtk_widget_error_bell() or look at the
7132         gtk-error-bell setting instead of calling gdk_display_beep()
7133         unconditionally.
7134
7135         * gtk/gtkcombobox.c
7136         * gtk/gtkentry.c
7137         * gtk/gtkiconview.c
7138         * gtk/gtklabel.c
7139         * gtk/gtkmenushell.c
7140         * gtk/gtkspinbutton.c
7141         * gtk/gtktextview.c
7142         * gtk/gtktreeview.c: call gtk_widget_error_bell() on failed keynav.
7143
7144         * gtk/gtkentry.c
7145         * gtk/gtklabel.c
7146         * gtk/gtkrange.c
7147         * gtk/gtktextview.c: consult gtk_widget_keynav_failed() on failed
7148         cursor navigation and leave the widget if it returns FALSE.
7149
7150         * gtk/gtkmenushell.c
7151         * gtk/gtknotebook.c: only wrap around if gtk-keynav-wrap-around
7152         is TRUE.
7153
7154         * gtk/gtkradiobutton.c: ask gtk_widget_keynav_failed() to decide
7155         whether to to wrap-around, and don't select active items on cursor
7156         navigation if gtk-keynav-cursor-only is TRUE. Should look at
7157         gtk-keynav-wrap-around too, will look into that.
7158
7159 2006-11-16  Emmanuele Bassi  <ebassi@gnome.org>
7160
7161         * gtk/gtkrecentmanager.c:
7162         (gtk_recent_info_get_uri_display): Return the URI
7163         of the GtkRecentInfo object (upgraded to UTF-8 if
7164         needed) in case of non-local file. (#351945)
7165
7166 2006-11-16  Emmanuele Bassi  <ebassi@gnome.org>
7167         
7168         * gtk/gtkrecentchoosermenu.c:
7169         (gtk_recent_chooser_menu_add_tip): Apply the tip only
7170         if we have a displayable name for the item. (#365031,
7171         patch by padraig.obriain(at)sun.com)
7172
7173 2006-11-16  Emmanuele Bassi  <ebassi@gnome.org>
7174
7175         * gtk/gtkrecentmanager.c: Provide a fast path returning
7176         NULL when the limit is set to 0.
7177
7178         * gtk/gtkrecentchooserdefault.c:
7179         * gtk/gtkrecentchoosermenu.c: Add the same fast path
7180         inside the RecentChooser implementation; add a check
7181         in the list clamping code. (#373466 and duplicates)
7182
7183 2006-11-15  Matthias Clasen  <mclasen@redhat.com>
7184
7185         * modules/printbackends/cups/gtkprintbackendcups.c (cups_printer_get_options): 
7186         Don't pass NULL to strncpy.  (#359537, patch by  Carlos Garcia Campos)
7187
7188 2006-11-15  Michael Natterer  <mitch@imendio.com>
7189
7190         * gtk/gtkrange.[ch]: added properties "fill-level",
7191         "show-fill-level" and "restrict-to-fill-level" and getters/setters
7192         for them. The "fill level" is an additional marker on the range's
7193         trough than can be e.g. used to indicate the amount of
7194         pre-buffering in a range showing the play position of streamed
7195         media. See the embedded API docs for details. Made GtkRangeLayout
7196         a GTypeInstance private struct and removed finalize()
7197         implementation. Fixes bug #349808
7198
7199         * gtk/gtk.symbols: added the new symbols.
7200
7201 2006-11-14  Behdad Esfahbod  <behdad@gnome.org>
7202
7203         * configure.in: Make libtool magic robust. (#352795)
7204
7205 2006-11-13  Paolo Borelli  <pborelli@katamail.com>
7206
7207         * gtk/gtkrc.c (gtk_rc_parse_icon_source): plug small memory
7208         leak (#370395)
7209
7210 2006-11-09  Kristian Rietveld  <kris@imendio.com>
7211
7212         * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): disable
7213         don't move cursor case for SELECTION_NONE. (#371756, John Ellis).
7214
7215 2006-11-09  Carlos Garnacho  <carlosg@gnome.org>
7216
7217         * gtk/gtkpathbar.c (on_slider_unmap): Fix parenthesis confusion.
7218
7219 2006-11-08  Carlos Garnacho  <carlosg@gnome.org>
7220
7221         * gtk/gtkpathbar.c (on_slider_unmap): added, do not leave the scroll
7222         timeout running if the slider buttons are hidden. (#372527)
7223
7224 2006-11-08  Christian Persch  <chpe@cvs.gnome.org>
7225
7226         * gtk/gtkfilechooserdefault.c (browse_widgets_create): Don't make
7227         the "Location" label bold. Bug #372449.
7228
7229 2006-11-07  Carlos Garnacho  <carlosg@gnome.org>
7230
7231         * gtk/gtknotebook.c (gtk_notebook_calculate_tabs_allocation): make
7232         non-focused tabs xthickness/ythickness thinner. (#353962)
7233
7234 2006-11-07  Paolo Borelli  <pborelli@katamail.com>
7235
7236         * gtk/gtktextbtree.c (_gtk_text_btree_delete): avoid memory
7237         corruption (#357050).
7238
7239 2006-11-06  Alexander Larsson  <alexl@redhat.com>
7240
7241         * gtk/gtkdnd.c: (gtk_drag_begin_internal),
7242         (gtk_drag_source_info_destroy), (gtk_drag_end),
7243         (gtk_drag_grab_notify_cb):
7244         Cancel drag when the grab is shadowed. (#122688)
7245
7246 2006-11-01  Kristian Rietveld  <kris@imendio.com>
7247
7248         * gtk/gtkcombobox.c (gtk_combo_box_class_init),
7249         (gtk_combo_box_size_request): add arrow-size property to control
7250         the minimum size of the arrow, have the arrow scale up with the
7251         font by default. (#357950).
7252
7253 2006-10-30  Kristian Rietveld  <kris@gtk.org>
7254
7255         * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): don't
7256         forget to queue a draw for the new cursor node. (Fixes #366548,
7257         reported by Sven Herzberg).
7258
7259 2006-10-30  Michael Natterer  <mitch@imendio.com>
7260
7261         * gtk/gtkrange.c (gtk_range_key_press): consume the Escape key
7262         only if we actually cancel a drag. Fixes bug #58389.
7263
7264 2006-10-30  Kristian Rietveld  <kris@gtk.org>
7265
7266         * gtk/gtktreeview.c (gtk_tree_view_class_init): change left/right
7267         keybindings to collapse/expand rows instead of moving the focus
7268         cursor. (#105895, Brian Bober and others).
7269
7270 2006-10-29  Kristian Rietveld  <kris@gtk.org>
7271
7272         * gtk/gtktreeview.c (gtk_tree_view_real_expand_row): guard against
7273         child removal in row-expanded callback. (#366782, John Ellis).
7274
7275 2006-10-29  Tor Lillqvist  <tml@novell.com>
7276
7277         * gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Improve handling
7278         of the small icon of the window class. (#152620, Kazuki Iwamoto)
7279
7280 2006-10-29  Tor Lillqvist  <tml@novell.com>
7281
7282         * gdk/win32/gdkcursor-win32.c
7283         (gdk_win32_icon_to_pixbuf_libgtk_only): Implement for B&W cursors,
7284         for instance the built-in GDK ones.
7285
7286 2006-10-27  Kristian Rietveld  <kris@gtk.org>
7287
7288         * gtk/gtktreeview.c (validate_visible_area): rework the area_above == 0
7289         case to not overwrite the variables in the lower scope (which are
7290         used later on ...), get the path correctly and bail out when there
7291         isn't a node above us. (#359231).
7292
7293 2006-10-26  Christian Persch  <chpe@cvs.gnome.org>
7294
7295         * gtk/gtkaboutdialog.c: Put initial focus on Close button (#337261).
7296
7297 2006-10-25  Johan Dahlin  <jdahlin@async.com.br>
7298
7299         * gtk/gtk.symbols: Add missing symbols to so make check can pass
7300
7301 2006-10-23  Dom Lachowicz <domlachowicz@gmail.com>
7302
7303         * src/modules/engines/ms-windows/msw_style.c (draw_expander): Remember
7304         to free GDI Pen resources, introduced by bug 340201.(#364514)
7305         
7306 2006-10-18  Kristian Rietveld  <kris@imendio.com>
7307
7308         * tests/testcombo.c (main): connect to notify::popup-shown instead of
7309         popup-show (the latter does not exist).
7310
7311 2006-10-15  Paolo Borelli  <pborelli@katamail.com>
7312
7313         * gtk/gtkicontheme.c (pixbuf_supports_svg): plug memory leak.
7314         Fixes bug #362439.
7315
7316 2006-10-12  Michael Natterer  <mitch@imendio.com>
7317
7318         * gtk/gtkcombobox.c (gtk_combo_box_class_init): fix commit below
7319         (committed the wrong patch).
7320
7321 2006-10-12  Michael Natterer  <mitch@imendio.com>
7322
7323         * gtk/gtkcombobox.c: added "move-active" and "popup" signals and
7324         bindings to trigger them. Removed gtk_combo_box_key_press(), it's
7325         obsolete now. Fixes bug #358293.
7326
7327 2006-10-11  Michael Emmel  <mike.emmel@gmail.com>
7328
7329         * gdkpixmap-directfb.c: add missing RGB24 case (#361176) 
7330
7331 2006-10-11  Tor Lillqvist  <tml@novell.com>
7332
7333         * configure.in: Enable having some gdk-pixbuf loaders built-in
7334         even if loading the others dynamically. Define Automake
7335         conditional INCLUDE_FOO for each loader as TRUE if that loader is
7336         built-in. See also gdk-pixbuf/ChangeLog.
7337
7338 Wed Oct 11 14:31:30 2006  Tim Janik  <timj@imendio.com>
7339
7340         * docs/reference/gtk/gtk-sections.txt:
7341         * gtk/gtkbindings.c: document gtk_binding_entry_skip().
7342
7343 2006-10-11  Tor Lillqvist  <tml@novell.com>
7344
7345         * gtk/gtk.symbols: Remove gtk_combo_string_key, which is a static
7346         variable.
7347
7348 2006-10-11  Tor Lillqvist  <tml@novell.com>
7349
7350         Merge from 2.10 branch:
7351
7352         * gtk/gtkmain.c (do_pre_parse_initialization): On Win32, if
7353         environment variable LC_ALL or LANG is set, set the Win32 thread
7354         locale to the corresponding locale. Then call the C library
7355         setlocale() to set the C library locale accordingly. The
7356         inconsistency mentioned below is gone. (#339756) Do some special
7357         casing for Serbia and Montenegro. Handle the Latin and Cyrillic
7358         scripts for Azeri, Uzbek and Serbian.
7359         (enum_locale_proc): Helper function for the above functionality.
7360
7361         * gtk/gtkcalendar.c (gtk_calendar_init): No longer need to check
7362         if the environment variables are set here, as they have already
7363         been taken into account and the Win32 thread locale has been
7364         set.
7365
7366 Tue Oct 10 16:38:23 2006  Tim Janik  <timj@imendio.com>
7367
7368         * gtk/tmpl/gtkbindings.sgml: 
7369         * gtk/gtkbindings.c: applied patch from Michael Natterer to move to 
7370         inline docs. applied wording fixes suggested by Martyn Russell.
7371
7372 2006-10-09  Matthias Clasen  <mclasen@redhat.com>
7373
7374         * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
7375         Update the docs to state which out parameters may be NULL.
7376         (#360870, Attilio Fiandrotti)
7377
7378 2006-10-08  Matthias Clasen  <mclasen@redhat.com>
7379
7380         * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities): Fix
7381         a typo.  (#359542, Ghee Teo)
7382
7383 2006-10-08 Matthias Clasen <mclasen@redhat.com>
7384
7385         * gtk/gtknotebook.c (gtk_notebook_reorder_tab): Only
7386         reorder tabs if the focus is in the tab.  (#350342, Carlos
7387         Garnacho Parro)
7388
7389 2006-10-08 Michael Emmel <mike.emmel@gmail.com>
7390
7391         * gdk/directfb/gdkproperty-directfb.c strdup atom name (#357611) 
7392
7393 2006-10-08  Kristian Rietveld  <kris@gtk.org>
7394
7395         * gtk/gtktreeview.[ch] (gtk_tree_view_set_property),
7396         (gtk_tree_view_set_show_expanders),
7397         (gtk_tree_view_get_show_expanders): add getter/setter for
7398         show-expanders property, queue a redraw when this property
7399         is toggled (#351167, Martin Ejdestig),
7400         (gtk_tree_view_set_level_indentation),
7401         (gtk_tree_view_get_level_indentation): also add getter/setter
7402         and docs for level-indentation property.
7403
7404 2006-10-08  Matthias Clasen  <mclasen@redhat.com>
7405
7406         * gtk/gtkradiobutton.c (gtk_radio_button_focus): Don't 
7407         leak a list.  (#360350, Benjamin Berg)
7408
7409         * Apply a cleanup patch by Kjartan Maraas  (#341812)
7410
7411 2006-10-07  Tor Lillqvist  <tml@novell.com>
7412
7413         * gtk/gtkcalendar.c (gtk_calendar_init): Use the Win32 thread
7414         locale's first day of week setting on Win32. (#339752, Bogdan
7415         Nicula) Don't do this if one of the environment variables that
7416         affect gettext is set, though. In that case use the week start day
7417         from the corresponding message catalog.
7418
7419         Unfortunately the same logic isn't possible in the weekday and
7420         month name lookup; there even if you have set one of the
7421         aforementioned environment variables, you still get the weekday
7422         and month names from the Win32 thread locale. Yes, this is
7423         inconsistent.
7424
7425         Use only wide-character API in the Win32 code in this file, too.
7426
7427 2006-10-06  Matthias Clasen  <mclasen@redhat.com>
7428
7429         * gtk/gtkfilechooser.c (gtk_file_chooser_set_select_multiple):
7430         Fix the docs.  (#360112)
7431
7432         * gtk/gtkcellview.c: Don't set the background of the
7433         window in a no-window widget.  (#359581, Xan Lopez)
7434
7435
7436 2006-10-05  Behdad Esfahbod  <behdad@gnome.org>
7437
7438         * gtk/Makefile.am, gtk/aliasfilescheck.sh:  Propagate srcdir into the
7439         test correctly. (#359845)
7440
7441 2006-10-05  Michael Natterer  <mitch@imendio.com>
7442
7443         * gtk/gtkrc.[ch]: added new scanner token "unbind" which gets
7444         rid of a key binding (in fact, it only lets it appear unbound).
7445
7446         * gtk/gtkbindings.[ch] (struct GtkBindingEntry): added
7447         "guint marks_unbound : 1"
7448
7449         (gtk_binding_entry_skip): new API which marks the entry as unbound.
7450
7451         Changed code so it returns FALSE when "marks_unbound == TRUE" is
7452         encountered while activating bindings, effectively letting the
7453         binding appear unbound (regardless of still existing bindings in
7454         lower binding priority levels). Fixes bug #358329.
7455
7456         (gtk_binding_entry_add)
7457         (gtk_binding_entry_clear)
7458         (gtk_binding_entry_add_signall)
7459         (gtk_binding_parse_binding): deprected these functions.
7460
7461         (_gtk_binding_parse_binding)
7462         (_gtk_binding_entry_add_signall): new internal API.
7463
7464         * gtk/gtk.symbols: changed accordingly.
7465
7466 2006-10-03  Matthias Clasen  <mclasen@redhat.com>
7467
7468         Fix interaction of GtkEntryCompletion with input
7469         methods.  (#354495, Diego Escalante Urrelo)
7470
7471         * gtk/gtkentry.c (gtk_entry_completion_key_press): Only reset
7472         the im context if we actually handle the key event.
7473
7474         * gtk/gtkentrycompletion.c: Also propagate key release events
7475         to the entry.
7476
7477 2006-10-03  Matthias Clasen  <mclasen@redhat.com>
7478
7479         * gtk/gtkprintsettings.c (gtk_print_settings_get_duplex):
7480         Fix a typo.  (#359052, Ghee Teo)
7481
7482         * gtk/*.c, gdk/*.c: Apply a patch by Behdad Esfahbod to
7483         reduce relocations. (#359053)
7484
7485 2006-10-03  Matthias Clasen  <mclasen@redhat.com>
7486
7487         * modules/printbackends/cups/gtkcupsutils.c:
7488         * modules/printbackends/cups/gtkprintbackendcups.c: Complete
7489         the fix for bug 357280.
7490
7491 2006-10-02  Behdad Esfahbod  <behdad@gnome.org>
7492
7493         * gdk-pixbuf/Makefile.am:
7494         * gdk/Makefile.am:
7495         * gtk/Makefile.am:
7496         Include pltcheck.sh in EXTRA_DIST.
7497
7498 2006-10-02  Behdad Esfahbod  <behdad@gnome.org>
7499
7500         * gdk/x11/gdkevents-x11.c: Move all includes before including
7501         gdkalias.h.
7502
7503 2006-10-02  Behdad Esfahbod  <behdad@gnome.org>
7504
7505         * gtk/Makefile.am: Fix typo in file name.  (#358931)
7506
7507 2006-10-02  Matthias Clasen  <mclasen@redhat.com>
7508
7509         * modules/printbackends/cups/gtkprintbackendcups.c (available_choices): 
7510         Only use the group name field if cups is new enough.  (#357280)
7511
7512         * gtk/gtksizegroup.c: Make sure that the quarks are 
7513         initialized before using them.  (#353736)
7514
7515         * gtk/Makefile.am (stamp-icons): Use rm instead of ln -f to
7516         replace existing links.  (#354849, James Evans)
7517
7518 2006-10-01  Matthias Clasen  <mclasen@redhat.com>
7519
7520         * gtk/gtkexpander.c (gtk_expander_realize) 
7521         (gtk_expander_size_allocate): Make the event_window large
7522         enough to cover the full height of the label_widget.  (#358351,
7523         Scott Horowitz)
7524
7525 2006-10-01  Tor Lillqvist  <tml@novell.com>
7526
7527         * gtk/gtkfilesystemwin32.c: Same change as to gtkfilesystemunix.c.
7528
7529 2006-09-30  Matthias Clasen  <mclasen@redhat.com>
7530
7531         * gtk/gtkfilechooserbutton.c (update_combo_box): Protect
7532         against base_path being NULL.  (#358405, many reporters)
7533
7534 2006-09-29  Matthias Clasen  <mclasen@redhat.com>
7535
7536         * gtk/gtkfilesystemunix.c: Apply a patch by Padraig O'Briain
7537         to avoid a deadlock.
7538
7539 2006-09-27  Kristian Rietveld  <kris@imendio.com>
7540
7541         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_free_level),
7542         (gtk_tree_model_filter_ref_node),
7543         (gtk_tree_model_filter_real_unref_node): bring zero ref count loops
7544         in sync with each other and the sort model.
7545
7546 2006-09-27  Kristian Rietveld  <kris@imendio.com>
7547
7548         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_init),
7549         (gtk_tree_model_filter_finalize), (gtk_tree_model_filter_row_deleted),
7550         (gtk_tree_model_filter_new): unref the virtual root path once that
7551         node (or one if its ancestors) is deleted, set virtual_root_deleted
7552         so we only unref it once.
7553
7554 2006-09-27  Kristian Rietveld  <kris@imendio.com>
7555
7556         * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_changed),
7557         (gtk_tree_model_sort_sort_level): ref count nodes the proper way,
7558         (gtk_tree_model_sort_ref_node), (gtk_tree_model_sort_real_unref_node),
7559         (gtk_tree_model_sort_free_level): bring zero ref count loops in
7560         sync,
7561         (gtk_tree_model_sort_free_level): free child levels before
7562         decreasing the zero ref count of the current level,
7563         (gtk_tree_model_sort_clear_cache): only clear cache if zero_ref_count
7564         is > 0.
7565
7566 2006-09-25  Matthias Clasen  <mclasen@redhat.com>
7567
7568         * demos/gtk-demo/*.c:
7569         * gtk/gtkeventbox.c:
7570         * gtk/gtkprintoperation.c: Fix typos. String change.
7571
7572 2006-09-25  Kristian Rietveld  <kris@gtk.org>
7573
7574         * gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): if the tree view
7575         has already been realized; scroll to background area instead of
7576         cell area. (Fixes #330683, Johan Dahlin, Tommi Komulainen).
7577
7578 2006-09-25  Kristian Rietveld  <kris@gtk.org>
7579
7580         * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): only attempt
7581         to create the GCs if the widget is realized. (Fixes #357578).
7582
7583 2006-09-25  Matthias Clasen  <mclasen@redhat.com>
7584
7585         * gtk/gtkuimanager.c (_gtk_menu_is_empty): Don't leak
7586         the list of children (#357454, Paolo Borelli)
7587
7588 2006-09-25  Michael Natterer  <mitch@imendio.com>
7589
7590         * gdk/x11/gdkdisplay-x11.c (gdk_display_x11_finalize): free
7591         display->input_windows with g_free(), not g_object_unref()
7592         (#357566, Tommi Komulainen).
7593
7594 2006-09-24  Kristian Rietveld  <kris@gtk.org>
7595
7596         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init),
7597         (gtk_cell_renderer_text_[sg]et_property): actually add align-set
7598         property to the API (left-over patch from #157439).
7599
7600 2006-09-24  Kristian Rietveld  <kris@gtk.org>
7601
7602         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button): draw
7603         the indicator if the column has a sort column id (and the model is
7604         sortable) or if the user explicitly requested the indicator
7605         to be shown.  (Fixes #352738, Chris Vine).
7606
7607 2006-09-23  Tor Lillqvist  <tml@novell.com>
7608
7609         * gtk/Makefile.am: Use EXEEXT.
7610
7611 2006-09-22  Michael Natterer  <mitch@imendio.com>
7612
7613         * gtk/gtkstyle.c (gtk_style_real_copy): also copy icon factories
7614         and color hashes. Fixes bug #357132.
7615
7616 2006-09-22  Matthias Clasen  <mclasen@redhat.com>
7617
7618         Make remote bookmarks work better (#354887)
7619         
7620         * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): 
7621         (shortcuts_insert_path): 
7622         * gtk/gtkfilechooserbutton.c (change_icon_theme): 
7623         (model_add_bookmarks): 
7624         (model_update_current_folder): 
7625         (update_label_and_image): 
7626         If the bookmark points to a remote file, don't call get_info(), 
7627         since that may a) take a long time and b) pop up an auth dialog.
7628         Instead, just use a folder icon and create a display name
7629         from the uri.
7630
7631         * gtk/gtkfilechooserdefault.c (_gtk_file_chooser_label_for_uri): 
7632         New function to create a suitable display name for a remote
7633         uri. This should really be done in GtkFileSystem.
7634         
7635 2006-09-21  Michael Natterer  <mitch@imendio.com>
7636
7637         Implement lots of value setters for GdkGC, based on a heavily
7638         modified patch from Thomas Broyer (bug #328853):
7639
7640         * gdk/quartz/gdkcolor-quartz.c: removed functions which set colors
7641         on the CGContext. Instead, added gdk_quartz_get_rgba_from_pixel()
7642         which simply returns RGBA values from a GdkColor's pixel value.
7643         See gdk_quartz_update_context_from_gc() below.
7644
7645         * gdk/quartz/gdkprivate-quartz.h (struct GdkGCQuartz): added lots
7646         of members for the newly suppored GC values. Added enum
7647         GdkQuartzContextValuesMask which is used for setting up the
7648         CGContext for filling and/or stroking.
7649
7650         * gdk/quartz/gdkgc-quartz.c (gdk_quartz_gc_get_values)
7651         (gdk_quartz_gc_set_values)
7652         (_gdk_windowing_gc_copy): support a lot more GC values.
7653
7654         (gdk_quartz_update_context_from_gc): added
7655         GdkQuartzContextValuesMask parameter and set filling/stroking
7656         parameters accordingly. This function also gained full control
7657         over the FG and BG colors (they can't be set separately any more).
7658
7659         The stipple mask part of the patch doesn't work but seems to take
7660         the right approach and doesn't make things worse, so I applied it.
7661
7662         Did *not* apply the clipping part of the patch since I don't
7663         understand it (I don't understand the version in CVS either, but
7664         it at least works :-)
7665
7666         * gdk/quartz/gdkdrawable-quartz.c: pass the right masks to
7667         gdk_quartz_update_context_from_gc() and removed separate color
7668         setting calls. Some minor fixes.
7669
7670         * gdk/quartz/gdkwindow-quartz.c
7671         (gdk_window_impl_quartz_begin_paint_region): set the CGContext's
7672         fill color manually. We don't have/need a GC here.
7673
7674 2006-09-21  Michael Natterer  <mitch@imendio.com>
7675
7676         * gdk/quartz/gdkwindow-quartz.c
7677         (gdk_window_impl_quartz_begin_paint_region): fix cast: it's
7678         drawable_impl->wrapper that is the GdkWindow, not the
7679         drawable_impl itself.
7680
7681 2006-09-20  Behnam Esfahbod <behnam@zwnj.org>
7682
7683         * gdk/x11/gdkkeys-x11.c:
7684           (get_direction): just check the first shift-level of keyboard
7685         layout for RTL and LTR keysyms() (compliment to #116626)
7686
7687 Wed Sep 20 16:59:38 2006  Tim Janik  <timj@imendio.com>
7688
7689         * gtk/gtkviewport.c: always update the bin_window position and size
7690         in size_allocate, even if we don't have a visible child. this fixes
7691         expose artefacts as described in #313508.
7692
7693         * gtk/gtkscrolledwindow.c: make hiding of automatic scrollbars when we
7694         have no visible child explicit.
7695
7696 2006-09-19  Ryan Lortie  <desrt@desrt.ca>
7697
7698         * docs/reference/gdk/gdk-sections.txt:
7699         * gdk/gdk.symbols:
7700         * gdk/gdkpango.h:
7701         * gdk/gdkpango.c: Bug 355343.  Add a GdkPangoAttrEmbossColor.
7702           (gdk_pango_layout_get_clip_region): Remove an unused variable.
7703           (gdk_pango_attr_embossed_new): Fix documentation.
7704
7705 Tue Sep 19 17:00:04 2006  Tim Janik  <timj@imendio.com>
7706
7707         * gtk/gtkarrow.c: added GtkArrow::arrow-scaling style property to 
7708         control the arrow/border ratio within the allocation.
7709
7710         * tests/testgtk.c: added a GtkArrow to handle box test.
7711
7712         * tests/testgtkrc: test ::arrow-scaling property.
7713
7714 2006-09-19  Matthias Clasen  <mclasen@redhat.com>
7715
7716         * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
7717         Display an error when we come to the root.  
7718
7719 2006-09-16  Matthias Clasen  <mclasen@redhat.com>
7720
7721         * gtk/gtkfilechooserbutton.c: Use bookmark labels in 
7722         the combobox. 
7723
7724         * gtk/gtkfilechooserbutton.c: Don't add remote volumes and 
7725         bookmarks to the model in local-only mode, to avoid 
7726         authentication dialogs pop up for invisible bookmarks, and
7727         to fix issues with separators not being hidden when
7728         they should.  (#354887, Dennis Cranston)
7729
7730 2006-09-16  Matthias Clasen  <mclasen@redhat.com>
7731
7732         * gtk/gtkcombobox.c (gtk_combo_box_finalize): Unref the
7733         treeview use in list mode.  (#355732, Richard Hult)
7734
7735         * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): Send
7736         change notification for the right property.  (#355308,
7737         Torsten Schoenfeld)
7738
7739 2006-09-15  Michael Natterer  <mitch@imendio.com>
7740
7741         * gtk/gtktreeview.c (gtk_tree_view_key_press): refactored column
7742         header navigation/resizing/reordering to be more readable and lose
7743         one level of nesting.
7744
7745 2006-09-15  Kristian Rietveld  <kris@imendio.com>
7746
7747         * gtk/gtktreeview.c (gtk_tree_view_key_press): actually directly
7748         return after handling column button focus; we disable wrap around
7749         with this (which actually happened via a really weird code path).
7750         (Michael Natterer)
7751
7752 2006-09-15  Kristian Rietveld  <kris@imendio.com>
7753
7754         * gtk/gtktreeview.c (gtk_tree_view_key_press): make column resizing
7755         code RTL aware, also break from the loops after we have seen the
7756         focussed column button (Michael Natterer).
7757
7758 Thu Sep 14 12:28:51 2006  Tim Janik  <timj@imendio.com>
7759
7760         * tests/testrichtext.c (main): intialize random number generator state
7761         upon program start, to enable truely random testing.
7762
7763 2006-09-13 Michael Emmel <mike.emmel@gmail.com>
7764
7765         * gdk/directfb/gdkcolor-directfb.c small clean ups include order
7766         * gdk/directfb/gdkwindow-directfb.c fixed beep compile error
7767         * gdk/directfb/Makefile.am removed GDK_PIXBUF_DISABLE_DEPRECATED
7768                 GDK_DISABLE_DEPRECATED to allow compile per Behdad
7769         * gdk/quartz/Makefile.am same change as directfb Makefile
7770         * gtk/Makefile.am fixed typo that cause socket stubs not to compile
7771
7772 2006-09-13 Matthias Clasen <mclasen@redhat.com>
7773
7774         * gtk/gtkcolorsel.c: Use a GtkWindow instead of a GtkInvisible
7775         for the grab widget, to make the color picker work with window
7776         groups.  
7777
7778 2006-09-12 Hong Jen Yee <pcman.tw@gmail.com>
7779
7780         signed off by: Dom Lachowicz
7781         
7782         * modules/engines/ms-windows/msw_style.c: Bug 340201. This contains
7783         a large number of improvements to the Microsoft Windows theme engine
7784         which are fully described in the bug report.
7785         
7786 Mon Sep 11 14:22:39 2006  Tim Janik  <timj@imendio.com>
7787
7788         * tests/testgtk.c: fixed compiler warnings.
7789
7790 2006-09-10  Matthias Clasen  <mclasen@redhat.com>
7791
7792         * gtk/gtkfilechooserbutton.c (model_add_special): Request
7793         the display name too, otherwise "Desktop" does not appear
7794         in the file chooser button. 
7795
7796 2006-09-10  Tor Lillqvist  <tml@novell.com>
7797
7798         * gdk/win32/gdkprivate-win32.h
7799         * gdk/win32/gdkmain-win32.c
7800         * gdk/win32/gdkwindow-win32.c: Define WINVER and _WIN32_WINNT as
7801         0x0500 in gdkprivate-win32.h instead of doing it in two source
7802         files. (#355212, Mike Edenfield)
7803
7804         * gdk/win32/gdkwindow-win32.c: We can also remove the ersatz
7805         GetAncestor() for the _MSC_VER && WINVER < 0x0500 case, I hope.
7806
7807 2006-09-10  Matthias Clasen  <mclasen@redhat.com>
7808
7809         * Commit a patch by Behdad to fix typos, omissions and other
7810         errors in the symbol aliasing, and add checks for local PLT
7811         entries.  (#354687, Behdad Esfahbod)
7812
7813         * gtk/gtktreeview.c (gtk_tree_view_search_scroll_event): Renew
7814         the flush timeout.  (#354043, Nelson Benitez)
7815         
7816         * gtk/gtkfilechoosersettings.c (set_unexpected_element_end_error): 
7817         Improve wording. String change!  (#355126, David Lodge)
7818
7819         * gtk/updateiconcache.c: Improve wording. String change!  (#355128,
7820         David Lodge)
7821
7822         * gtk/paper_names_offsets.c: Fix a typo. String change!  (#355134,
7823         David Lodge)
7824
7825 2006-09-09  Matthias Clasen <mclasen@redhat.com>
7826
7827         * gdk/x11/gdkfonts-x11.c: Fix small theoretical memory leaks.
7828         (#353916, Chris Wilson)
7829
7830         * gtk/gtksettings.c (_gtk_settings_reset_rc_values):
7831         Don't leak the to_reset list.  (#353914, Chris Wilson)
7832
7833         * gtk/gtkwidget.c: Add docs for the parent-set signal.
7834         (#353772, Mariano Suárez-Alvarez)
7835
7836 2006-09-08  Matthias Clasen <mclasen@redhat.com>
7837
7838         * gtk/gtktextbuffer.c (remove_all_selection_clipboards):
7839         Don't clear clipboards here, since we are called from finalize
7840         and can't emit signals.
7841
7842         * configure.in: Set version to 2.11.0
7843
7844 2006-09-06  Richard Hult  <richard@imendio.com>
7845
7846         * gdk/quartz/gdkkeys-quartz.c: (maybe_update_keymap): Special-case 
7847         shift-tab and map it to GDK_ISO_Left_Tab, fixes bug #350806.
7848
7849 2006-09-04  Kristian Rietveld  <kris@imendio.com>
7850
7851         * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
7852         if setting the given folder failed, try setting the parent folder
7853         until we succeed; display an error box at the end.
7854
7855 2006-09-04  Kristian Rietveld  <kris@imendio.com>
7856
7857         * gtk/gtkpathbar.c (gtk_path_bar_dispose): don't cancel the
7858         operations spawned by buttons here,
7859         (set_button_image_get_info_cb): bail out if button is NULL, but
7860         do free button_data,
7861         (button_data_free): only free the data if non NULL (since this
7862         function can be called multiple times for the same data), cancel
7863         handle if pending but don't free button_data in this case (will
7864         happen in the callback).
7865
7866 2006-09-04  Michael Natterer  <mitch@imendio.com>
7867
7868         * gtk/gtkrc.c (rc_parse_token_or_compound)
7869         (gtk_rc_parse_assignment): serialize floating point values using
7870         locale-independent functions. (#346751, Frederic Crozat)
7871
7872 2006-09-04  Tor Lillqvist  <tml@novell.com>
7873
7874         * gdk/win32/gdkevents-win32.c
7875         * gdk/win32/gdkwindow-win32.c: Use wide-char API for message and
7876         window handling (PeekMessage, PostMessage, SendMessage,
7877         DispatchMessage, DefWindowProc, RegisterClassEx,
7878         CreateWindowEx). (#321597)
7879
7880 2006-09-03  Kristian Rietveld  <kris@imendio.com>
7881
7882         * gtk/gtkfilechooserdefault.c (save_entry_get_info_cb),
7883         (file_exists_get_info_cb), (gtk_file_chooser_default_should_respond):
7884         change file_exists_and_is_not_folder checks to get the file info
7885         for the path directly instead of querying the current file folder
7886         of the save entry.
7887
7888         * gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault): add
7889         new field.
7890
7891         * tests/autotestfilechooser.c (wait_for_idle_idle), (wait_for_idle),
7892         (test_reload_sequence), (test_button_folder_states_for_action): wait
7893         for idle after setting a folder to ensure the async operations to load
7894         the folder are finished,
7895         (test_confirm_overwrite), (test_confirm_overwrite_for_path):
7896         factor out test_confirm_overwrite code so we can add tests for more
7897         paths more easily.
7898
7899 2006-09-03  Richard Hult  <richard@imendio.com>
7900
7901         * gdk/quartz/GdkQuartzView.c (drawRect): Don't do anything if
7902         exposure isn't in the event mask, plug a leak, and check that the
7903         window isn't destroyed.
7904         (isOpaque): Check that the window isn't destroyed, fixes bug 
7905         #353028.
7906
7907 2006-09-03  Matthias Clasen  <mclasen@redhat.com>
7908
7909         * gtk/gtkwidget.c (gtk_widget_class_init): Fix a typo.  
7910         (#354035, Mariano Suárez-Alvarez)
7911
7912         * gtk/gtkmain.c (post_parse_hook): 
7913         * gdk/gdk.c (gdk_init): Handle display_name being NULL.
7914         (#354004, Chris Wilson)
7915
7916 2006-09-03  Tor Lillqvist  <tml@novell.com>
7917
7918         * gdk/win32/gdkwindow-win32.c (gdk_window_beep): No
7919         GDK_WINDOW_DISPLAY in the Win32 backend.
7920
7921         * gtk/gtkfilesystemwin32.c: Copy what Kris did to
7922         gtkfilesystemunix.c
7923
7924 2006-09-02  Kristian Rietveld  <kris@imendio.com>
7925
7926         First part of file chooser fixes.
7927
7928         * gtk/gtkfilechooserbutton.c (model_add_special): also set the
7929         handle in the model for the desktopdir case.
7930
7931         * gtk/gtkfilechooserdefault.c (shortcuts_add_current_folder): free
7932         volume in case we retrieved it but don't pass it on to insert_path,
7933         (shortcuts_model_create): change the column type for the handles
7934         to pointer instead of GObject so our handle ref counting is not
7935         disturbed,
7936         (show_and_select_paths_finished_loading): don't forget to unref
7937         the dialog.
7938
7939         * gtk/gtkfilesystemunix.c (gtk_file_system_unix_class_init),
7940         (gtk_file_system_unix_init), (gtk_file_system_unix_dispose):
7941         remove pending execute_callbacks_idle during dispose, also
7942         execute all callbacks waiting to be run in the next idle,
7943         (queue_*callback), (execute_callbacks_idle): refactor to maintain
7944         a list of callbacks to call per file system instead of globally,
7945         guard the file system during callback invocation,
7946         (gtk_file_system_unix_get_folder): only add load folder idle if
7947         none has been added yet.
7948
7949 2006-09-01  Matthias Clasen  <mclasen@redhat.com>
7950
7951         * gtk/gtkentry.c: Don't unnecessarily reset the im context
7952         when deleting the selection.  (#353803, Alex Larsson)
7953
7954 2006-09-01  Abel Cheung  <abel@oaka.org>
7955
7956         * configure.in: Added 'ang' 'dz' to ALL_LINGUAS.
7957
7958 2006-08-31  Matthias Clasen  <mclasen@redhat.com>
7959
7960         Stop cursor blinking after a configurable timeout.
7961         (#353670, #352442, Arjan van de Ven, Manu Cornet)
7962         
7963         * gtk/gtksettings.c (gtk_settings_class_init): Add a 
7964         gtk-cursor-blink-timeout setting, which specifies the number
7965         of seconds that the cursor should blink after a user interaction.
7966         The default value is G_MAXINT to preserve the current behaviour.
7967
7968         * gtk/gtkentry.c (blink_cb): Stop blinking after blink-timeout
7969         seconds.
7970
7971         * gtk/gtkentry.c (gtk_entry_completion_key_press) 
7972         (gtk_entry_button_press, gtk_entry_focus_in): Reset the
7973         blink timer.
7974
7975         * gtk/gtktextview.c (blink_cb): Stop blinking after blink-timeout
7976         seconds. 
7977
7978         * gtk/gtktextview.c (gtk_text_view_key_press_event) 
7979         (gtk_text_view_button_press_event, gtk_text_view_focus_in_event): 
7980         Reset the blink timer.
7981         
7982 2006-08-31  Matthias Clasen  <mclasen@redhat.com>
7983
7984         * gtk/gtkprintoperation-unix.c (get_print_dialog): Don't specify
7985         explicit format capabilities.  (#346505, Christian Persch)
7986
7987         * modules/printbackends/cups/gtkprintbackendcups.c (cups_request_printer_list_cb): Send printer-list-done on error. 
7988
7989 2006-08-31  Michael Natterer  <mitch@imendio.com>
7990
7991         * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Fix build.
7992
7993 2006-08-30  Richard Hult  <richard@imendio.com>
7994
7995         * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep): Fix build.
7996
7997 2006-08-30  Matthias Clasen  <mclasen@redhat.com>
7998
7999         * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Only use XKB
8000         for beeping if we are using XKB.  
8001
8002 2006-08-29  Matthias Clasen  <mclasen@redhat.com>
8003
8004         * gdk/gdkwindow.h: 
8005         * gdk/gdk.symbols: 
8006         * gdk/directfb/gdkwindow-directfb.c (gdk_window_beep): 
8007         * gdk/win32/gdkwindow-win32.c (gdk_window_beep): 
8008         * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep): 
8009         * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Add a function
8010         to beep on a window. For X11, implement this with
8011         XkbBell.  (#353455, Mariano Suárez-Alvarez)
8012         
8013 2006-08-29  Tor Lillqvist  <tml@novell.com>
8014
8015         Remove support for Windows 9x/ME. GTK+ hasn't worked on Win9x
8016         since 2.6 or 2.8. It's pointless to keep the Win9x code in here as
8017         it isn't being maintained anyway. If somebody is interested, it
8018         can always be found in older GTK+ versions, and in CVS.
8019
8020         * configure.in
8021         * acconfig.h
8022         * gdk/Makefile.am
8023         * gdk/win32/Makefile.am
8024         * gdk/win32/libie55uid.la
8025         * gdk/win32/gdkevents-win32.c: Remove the --with-ie55 configure
8026         switch and associated stuff. Active IMM and the <dimm.h> header
8027         was used for IM support on NT4 and Win9x. Win2k and later have IM
8028         support built-in.
8029
8030         * gdk/win32/gdkcursor-win32.c
8031         * gdk/win32/gdkdnd-win32.c
8032         * gdk/win32/gdkdrawable-win32.c
8033         * gdk/win32/gdkevents-win32.c
8034         * gdk/win32/gdkgc-win32.c
8035         * gdk/win32/gdkglobals-win32.c
8036         * gdk/win32/gdkkeys-win32.c
8037         * gdk/win32/gdkmain-win32.c
8038         * gdk/win32/gdkproperty-win32.c
8039         * gdk/win32/gdkselection-win32.c
8040         * gdk/win32/gdkwindow-win32.c: Remove the G_WIN32_IS_NT_BASED()
8041         and G_WIN32_HAVE_WIDECHAR_API() tests and their false (Win9x)
8042         branches, and any variables or static functions used only by the
8043         Win9x branches.
8044
8045         * gdk/win32/gdkprivate-win32.h: Remove backup definitions for
8046         constants that aren't missing from current mingw and MSVC6
8047         headers.
8048
8049         * gdk/win32/gdkmain-win32.c
8050         * gdk/win32/gdkprivate-win32.h: Remove the _gdk_win32_gdi_failed()
8051         function. On NT-based Windows GetLastError() returns error codes
8052         also for failed GDI calls, so we can use _gdk_win32_api_failed()
8053         always.
8054
8055 2006-08-29  Emmanuele Bassi  <ebassi@gnome.org>
8056
8057         * gtk/gtkrecentchoosermenu.c
8058         (gtk_recent_chooser_menu_set_current_uri): Break when an item
8059         is found and activated. (#353449, based on a patch by Jan Arne
8060         Petersen)
8061
8062 Fri Jul 14 16:13:37 2006  Tim Janik  <timj@gtk.org>
8063
8064         * gtk/gtkprogressbar.c: introduced ::xspacing and ::yspacing style 
8065         properties which make all hardcoded padding and spacing values
8066         configurable. properly swap ::text-xalign treatment for RTL widgets.
8067
8068         * gtk/gtkprogress.c: fixed style property blurbs. made alignment 
8069         proeprty more consistent with GtkMisc alignment blurbs. mention
8070         RTL treatment for text-xalign.
8071
8072 Tue Aug 29 11:57:40 2006  Tim Janik  <timj@imendio.com>
8073
8074         * tests/testgtk.c: allow (most) windows to be resizable.
8075         added ellipsization settings to progress bars. 
8076
8077 2006-08-28  Matthias Clasen  <mclasen@redhat.com>
8078
8079         * modules/printbackend/cups/gtkprintbackendcups.c: Use a
8080         resonable timeout of 3 seconds when polling for printer
8081         list updates, instead of 300000 seconds...
8082
8083 2006-08-28  Michael Natterer  <mitch@imendio.com>
8084
8085         * gtk/gtktextbufferserialize.c (serialize_text): don't write out
8086         </apply_tag> for tags that have already been closed by the logic
8087         which turns overlapping spans into XML-able trees. Fixes broken
8088         XML when there are overlapping tags in the buffer. Also free two
8089         leaked GLists and did some cleanup.
8090
8091         * tests/Makefile.am
8092         * tests/testrichtext.c: new test which creates randomly tagged
8093         GtkTextBuffers and serializes/deserializes them.
8094
8095 2006-08-26  Matthias Clasen  <mclasen@redhat.com>
8096
8097         * gtk/gtkstatusicon.c (gtk_status_icon_reset_image_data): 
8098         Don't leak pixbufs.  (#352264, Ross Burton)
8099
8100         * gtk/gtklinkbutton.c (set_link_underline): Don't leak
8101         PangoAttributes.  (#352391, Paolo Borelli)
8102
8103 2006-08-25  Matthias Clasen  <mclasen@redhat.com>
8104
8105         * demos/gtk-demo/Makefile.am:
8106         * demos/gtk-demo/textscroll.c: Add an example of automatic
8107         scrolling, thanks to Yevgen Muntyan.  (#351206)
8108         
8109         * gtk/gtkmodules.c (find_module): Use local binding when
8110         loading modules.  (#351868)
8111
8112 2006-08-24  Michael Natterer  <mitch@imendio.com>
8113
8114         * gdk/quartz/gdkdisplay-quartz.c (gdk_display_get_name): return
8115         the hostname instead of NULL.
8116
8117 2006-08-23  Matthias Clasen  <mclasen@redhat.com>
8118
8119         * gtk/gtkprinteroptionwidget.[hc]: Fix confusion about
8120         names and values in comboboxes, and clean up some
8121         coding style issues.
8122
8123 2006-08-23  Tor Lillqvist  <tml@novell.com>
8124
8125         * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_make_path):
8126         Revert unintended translatable string addition. Use same string
8127         in GError as in gtkfilesystemunix.c.
8128
8129         * gtk/gtkfilesystemwin32.c (_gtk_file_system_win32_path_compare):
8130         Fix logic at the end of strings. 
8131
8132         * gtk/gtkfilesystemwin32.c: Maintain a hash table of live
8133         handles and check that we have no outstanding handles at
8134         finalization time. (Copying what Matthias did for
8135         gtkfilesystemunix.c)
8136
8137 2006-08-23  Matthias Clasen  <mclasen@redhat.com>
8138
8139         * gtk/gtkfilesystemunix.c: Maintain a hash table
8140         of live handles and check that we have no outstanding
8141         handles at finalization time. (Copying what
8142         Federico did for gtkfilesystemgnomevfs.c)
8143
8144 2007-08-22  Matthias Clasen  <mclasen@redhat.com> 
8145
8146         * Branch for 2.10
8147